Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    405
    Likes Received:
    3
    Trophy Points:
    143
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    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!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice