pico /etc/sysconfig/network pico /etc/hosts pico /etc/resolv.conf pico /var/named/your.dns.zone.com.db (add A record for host) pico /usr/local/apache/conf/httpd.conf – cd /usr/local/cpanel then run ./cpkeyclt also might help license /scripts/upcp
Entries Tagged as 'Linux Commands'
Change a cpanel server hostname
August 17th, 2009 by EZ linux · 2 Comments
Tags: Linux Commands · Linux Software / Scripts
Cpanel restart services
August 17th, 2009 by EZ linux · 2 Comments
/scripts/restartsrv mysql /scripts/restartsrv httpd /scripts/restartsrv bind (proftpd,exim,sshd,cppop,bind,mysql) /etc/rc.d/init.d/cpanel restart /scripts/reswhostmgr /etc/rc.d/init.d/portsentry start /etc/rc.d/init.d/network restart /etc/sysconfig/network-scripts (where ip’s are stored) /etc/init.d/exim restart services exim stop
Tags: Linux Commands · Linux Software / Scripts
Cpanel manual backup
August 17th, 2009 by EZ linux · 1 Comment
To instantly run your existing back up settings in cpanel run: (You will need backups turned on in your WHM for this to work) /scripts/cpbackup To instantly run a packaged account backup for any account run: (Keep in mind this makes a tar file in the home directory so you will need space for it.) [...]
Tags: Linux Commands · Linux Software / Scripts
Cpanel install
August 17th, 2009 by EZ linux · No Comments
mkdir /home/cpins cd /home/cpins wget http://layer1.cpanel.net/latest sh latest
Tags: Linux Commands · Linux Software / Scripts
Cpanel fix it scripts
August 17th, 2009 by EZ linux · 1 Comment
/scripts/securetmp – secures tmp folders /scripts/fixcommonproblems – cleans up common issues /scripts/fixeverything – cleans up the server /scripts/runlogsnow – Force a webalizer/analog update /scripts/upcp – Update Cpanel /scripts/quicksecure – Shuts down ovious security holes /scripts/remdefssl – Delete Nasty SSL entry in apache default httpd.conf /scripts/updateuserdomains – If a domain is missing in the cpanel list [...]
Tags: Linux Commands
Mod bandwidth
August 17th, 2009 by EZ linux · No Comments
keep in mind mod_bandwidth does not work with Apache 2.0, only Apache 1.3. The best option for Apache 2.0 is called Mod_Cband (Click the link for more details) Mod_bandwidth has changed to adding the varibles in one line code, now you must add the domain name and the limit all in one shot like this: [...]
Tags: Linux Commands · Linux Software / Scripts
Protected: Iprotect (iprot) step by step
August 17th, 2009 by EZ linux · Enter your password to view comments.
There is no excerpt because this is a protected post.
Tags: Linux Commands · Linux Software / Scripts
Install zend optimizer
August 17th, 2009 by EZ linux · 1 Comment
Download Zend Optimizer from the command line of the server. wget http://downloadspot.com/downloads/ZendOptimizer-3.3.9-linux-glibc23-i386.tar.gz Then untar tar xvfz ZendOptimizer-3.3.9-linux-glibc23-i386.tar.gz Then enter the Zend directory cd ZendOptimizer-3.3.9-linux-glibc23-i386/data/ Then find the phpversion match .so file Copy the full patch to the file: zend_extension=</root/ZendOptimizer-3.3.9-linux-glibc23-i386/data/5_2_x_comp/ZendOptimizer.so> Then copy the full path to the file php.ini file located in the /usr/local/lib/ folder: zend_extension=</root/ZendOptimizer-3.3.9-linux-glibc23-i386/data/5_2_x_comp/ZendOptimizer.so> [...]
Tags: Linux Commands · Linux Software / Scripts
Install image magick on cpanel
August 17th, 2009 by EZ linux · No Comments
The new way: /scripts/installimagemagick Doing it manually: /scripts/installrpm ImageMagick /scripts/installrpm ImageMagick-devel wget layer1.cpanel.net/magick.tar.gz tar zxvf magick.tar.gz cd magick sh install The old way: The whole process takes about twenty minutes. But if you do each line correctly then restart apache you will be fine every time. Also make sure GD support is compiled into php [...]
Tags: Cpanel and WHM · Linux Commands · Linux Software / Scripts
Install ffmpeg and ffmpeg-php
August 17th, 2009 by EZ linux · 2 Comments
There is a great auto installer available thanks to Script Mantra, but first you need to install Dialog: yum -y install dialog Then your ready to download and install the ffmpeg installer: cd /usr/src wget http://scriptmantra.info/scripts/AAST_ffmpeg_installer_5.0.6b chmod +x AAST_ffmpeg_installer_5.0.6b ./AAST_ffmpeg_installer_5.0.6b What the script delivers: *libogg *libvorbis *libvorbisenc *libvorbisfile *libamrnb *libamrwb *libgsm *libtheora *Lame *libschroedinger *twolame [...]
Tags: Linux Commands · Linux Software / Scripts · Linux Tricks
