/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
Entries Tagged as 'Linux Software / Scripts'
Cpanel restart services
August 17th, 2009 by EZ linux · 2 Comments
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
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
MySQL limiter script
August 16th, 2009 by EZ linux · No Comments
Install a MYSQL script on a CPanel server –downloading cd /sbin rm -f watchmysql wget http://www.downloadspot.com/downloads/watchmysql chown root.root watchmysql chmod 0750 watchmysql –configuration #Sets the maximum concurrent connections per MySQL user. my $max_concurrent_connections = ’15′; #Who to tell about this user… (email) my $warning_email = ‘your@email.address’; #Kill Abuser’s MySQL Connections (0 = [...]
Tags: Linux Software / Scripts
Server image magick test script
June 27th, 2009 by EZ linux · No Comments
For a working sample click here: Server Image Magick Test Script You can download the script here: Server Image Magick Test Script DWHS Inc. Server Test Script Server Test Server Information: Operating System: Linux Web Server: Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.9 Perl Information: Version: 5.8.8 Location: /usr/bin/perl Perl Modules: Image::Info Perl Module: [...]
Tags: Linux Software / Scripts · Linux Tricks
