web hosting – Internetblog.org.uk https://www.internetblog.org.uk Web hosting, Domain names, Dedicated servers Fri, 29 Jan 2016 11:05:52 +0000 en-US hourly 1 https://wordpress.org/?v=4.9.5 https://www.internetblog.org.uk/files/2016/01/cropped-favico-32x32.png web hosting – Internetblog.org.uk https://www.internetblog.org.uk 32 32 cPanel shell scripts for Linux https://www.internetblog.org.uk/post/1022/cpanel-shell-scripts-for-linux/ Mon, 22 Feb 2010 21:55:32 +0000 http://www.internetblog.org.uk/post/1022/cpanel-shell-scripts-for-linux/ cpanel
cPanel is best known as a graphical web hosting control panel. Since it is web based, however, there may be times when a system administrator may prefer or may need to execute commands from the Linux shell, either locally or remotely via SSH. Fortunately, cPanel comes with a host of scripts found in the /scripts directory. Here are just some of the scripts offered:

easyapache – upgrades and reinstalls Apache
addpop – adds a POP mail account
wwwacct – adds a cPanel account
suspendacct – suspends an account
runweblogs – updates statistics for a user
makecpphp – reinstalls cPanel’s internal PHP
cpbackup – backs up all accounts

Other scripts are documented on the cPanel website as well as more specific documentation about updating services. As a warning, cPanel recommends against using any other scripts not listed on their website, although your web hosting provider might install some. If you find a suspicious script, contact your web host.

Source: cPanel Documentation
Photo: Flickr

]]>