The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to Manage WHM from Linux Terminal instead of accessing thorugh GUI

Discussion in 'General Discussion' started by techni, Aug 3, 2012.

  1. techni

    techni Member

    Joined:
    Jun 22, 2012
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I want to manage my entire cPanel Based Linux server from Command Line itself
    Please advice any documentation so that i can refer it
     
  2. NixTree

    NixTree Well-Known Member

    Joined:
    Aug 19, 2010
    Messages:
    386
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    I am unaware of any complete cPanel CLI guide..but cPanel itself states that we can manage only 98% of WHM functionality via CLI.

    Command Line Scripts | cPanel, Inc.

    You can find most of the CLI / script under /scrits , /usr/local/cpanel/bin

    PS: Make sure you know what you are doing before executing any scripts.
     
  3. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    It would be better to use the API to manage the server, since more WHM functionality would be available using the API. Also, the API is the supported method over using /scripts or running commands using /usr/local/cpanel/bin binaries. Here's our documentation on the API:

    cPanel & WHM's SDK

    If you end up having questions about the API, please post them in the developers section of the forum:

    cPanel Developers

    Thanks!
     
Loading...

Share This Page