dedicated server help
web hosting guides
dedicated server home dedicated server forums dedicated server reviews dedicated resources partners dedicated server resources contact dedicated servers

dedicated server guides
Getting Started
General Tutorials
cPanel Tutorials
Security Center
Name Servers
Server Monitoring
Server Backups
Hosting Interviews
Web Hosting News
Reviews
For Fun
Linux Tutorials
Hosting Articles
Web Hosting Tutorials
 
 
 
web hosting tutorials
About Us
RSS Feed
Disclaimer
Site Map

 

Basic Linux Commands For WebHosting Providers

Last Updated: November 30, 1999


Commands used for webhosting providers, and those with cpanel.
Some of these commands are NOT basic linux commands, they are only available for users with CPanel or those who have installed certain scripts for monitoring their website, or to assist them in running their webhosting business. So if some of these commands do not work, please take note this is normal and you probably don't have the software required installed on your dedicated server.


  1. I just uploaded/moved some
    files to a customers/user of mine and now they can't modify/rename/delete
    this file?


    • This is because you
      uploaded the file as a different user/root.

    • Login to your server
      via SSH & Type: /scripts/chownpublichtmls



  2. Sometimes when moving an
    account to your WHM Account from another

    WHM Account/server you will get an error where the domain is forbidden.



    • Login to your server
      via SSH & Type:

      /scripts/enablefileprotect


  3. How can I view the status
    of my Advanced Policy Firewall ? (APF)


    • Login to your server
      via SSH & Type: /etc/apf/apf -st



  4. How can I stop my Advanced
    Policy Firewall ? (APF)


    • Login to your server
      via SSH & Type: service apf stop



  5. How can I start my Advanced
    Policy Firewall ? (APF)


    • Login to your server
      via SSH & Type: service apf start



  6. How can I restart CPanel
    via SSH?


    • Login to your server
      via SSH & Type: /etc/rc.d/init.d/cpanel
      restart



  7. How can I stop BIND / NAMED
    from SSH?


    • Login to your server
      via SSH & Type: /etc/init.d/named
      stop



  8. How can I start BIND /
    NAMED from SSH?


    • Login to your server
      via SSH & Type: /etc/init.d/named
      start



  9. How can I force AWSTATS
    to update?


    • Login to your server
      via SSH & Type: /scripts/runlogsnow



  10. How can I find files owned
    by a customer/user?


    • Login to your server
      via SSH & Type: find -user username
      *Replace username*



cpanel tutorials
cPanel Resources
Dedicated Servers