Section 9 Presents
Linux Server Tutorials - All tutorials are tested on Centos 5 But Should Work On All Linux Operating Systems.
First of all you will need PuTTY To access ssh and run commands. You can download it here.(You want putty.exe)
After downloading that put in your servers ip information and ssh port by default its 22.
Connect to your server via PuTTY to run any of these commands.
Ioncube Loader Automatic Installation.
FFMpeg Automatic Installer
ELS - Easy Linux Security Script
Supported Operating Systems :
What ELS Does
Installation
Linux Server Tutorials - All tutorials are tested on Centos 5 But Should Work On All Linux Operating Systems.
First of all you will need PuTTY To access ssh and run commands. You can download it here.(You want putty.exe)
CODE
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
After downloading that put in your servers ip information and ssh port by default its 22.
Connect to your server via PuTTY to run any of these commands.
Ioncube Loader Automatic Installation.
- Create a file named ioncubeinstaller.sh
- Edit ioncubeinstaller.sh
- Paste the following into it
- Save the file
- Chmod the file to 0755
- Execute it
- Delete the installer
- Your Done!
CODE
touch ioncubeinstaller.sh
CODE
pico ioncubeinstaller.sh
CODE
#!/bin/bash WHO=$(whoami) if [ ${WHO} == \"root\" ] then echo \"Script Initialized ...\" else echo \"You must be logged in as root to install ionCube Loader.\" echo \"Terminating ...\" exit 0 fi echo \"Changing directory\" cd /usr/local/ echo \"Done.\" if [ -e ioncube_loaders_lin_x86.tar.gz ] then rm -f ioncube_loaders_lin_x86.tar.gz fi echo \"Downloading files\" wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz echo \"Done.\" echo \"Installing files\" tar -zxvf ioncube_loaders_lin_x86.tar.gz echo \"Done.\" echo \"Changing ownership\" chown -R root.root ioncube echo \"Done.\" phpline=`php -v | grep ^PHP | cut -f2 -d \" \"| awk -F \".\" \'{print \"zend_extension=\\\"/usr/local/ioncube/ioncube_loader_lin_\"$1\".\"$2\".so\\\"\"}\'` phpinifile=`php -i | grep php.ini | grep ^Configuration | cut -f6 -d\" \"` echo \"Adding line $phpline to file $phpinifile\" echo \"$phpline\" >> $phpinifile rm -f ioncube_loaders_lin_x86.tar.gz echo \"Ioncube installed sucessfully\"
CODE
press ctrl+x then type y then hit enter
CODE
chmod 755 ioncubeinstaller.sh
CODE
./ioncubeinstaller.sh
CODE
rm -f ioncubeinstaller.sh
FFMpeg Automatic Installer
- Make The Directory
- CD into the new directory
- Get the installer
- Extract The Installer Package
- CD Into The Installer Packages Directory
- Begin The Installation
- Your Done!
CODE
mkdir ~/ffmpeg-packages
CODE
cd ~/ffmpeg-packages
CODE
wget http://trulymanaged.com/ffmpeg/ffmpeginstall.tar.gz
CODE
tar -xvzf ffmpeginstall.tar.gz
CODE
cd ffmpeginstall
CODE
./install.sh
ELS - Easy Linux Security Script
Supported Operating Systems :
- Red Hat Linux 9
- Red Hat Enterprise Linux 3, 4, 5
- Fedora Core 1, 2, 3, 4, 5 and 6
- Fedora 7
- CentOS 3, 4, 5
- Debian 3.0, 3.1, 4.0
What ELS Does
- Install RKHunter
- Install RKHunter Cronjob which emails a user-set email address nightly
- Install/update APF
- Install/update BFD
- Install CHKROOTKIT
- Install CHKROOTKIT Cronjob which emails a user-set email address nightly
- Disable Telnet
- Force SSH Protocol 2
- Secure /tmp, /var/tmp, /dev/shm
- Install/update Zend Optimizer
- Install/update eAccelerator
- MySQL 4.1 and 5.0 Configuration Optimization
- Upgrade MySQL to 5.0
- Tweak WHM Settings for security and stability
- Configure RNDC if not already done (cPanel only)
- Change SSH port (also configure APF as necessary)
- Add wheel user and disable direct root login over SSH
- Optimize MySQL tables
- Install/update Libsafe
- Install/update ImageMagick (from latest source)
- Uninstall LAuS
- Harden sysctl.conf
- Install Chirpy\'s Free Exim Dictionary Attack ACL (cPanel only)
- And more!
Installation
- Run this one line of command and everything will be done automatically
- For commands and help type
- To run any els command u must type
- Your Done!
CODE
wget -O installer.sh http://els.web4host.net/installer.sh; chmod +x installer.sh; sh installer.sh
CODE
els --help
CODE
els --comandline






Sign In »
Register Now!
Help






Back to top








