PSPerspective | Exclusive PSP Network: Section 9's Ultimate Linux Server Tutorials - PSPerspective | Exclusive PSP Network

Jump to content

Choose category:
VIP backgrounds
Change width
3
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Section 9's Ultimate Linux Server Tutorials Securing/optimizing/customizing your Linux server. Rate Topic: ***** 1 Votes

#1
User is offline   Blaze 

  • Member
  • Group: VIP Member
  • Posts: 345
  • Joined: 25-March 09
  • Gender:Male
  • Location:Wilmington
  • Interests:Computer + Cars
  • PSP Type:Fat
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)
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
    CODE
    touch ioncubeinstaller.sh

  • Edit ioncubeinstaller.sh
    CODE
    pico ioncubeinstaller.sh

  • Paste the following into it
    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\"

  • Save the file
    CODE
    press ctrl+x then type y then hit enter

  • Chmod the file to 0755
    CODE
    chmod 755 ioncubeinstaller.sh

  • Execute it
    CODE
    ./ioncubeinstaller.sh

  • Delete the installer
    CODE
    rm -f ioncubeinstaller.sh

  • Your Done!


FFMpeg Automatic Installer

  • Make The Directory
    CODE
    mkdir ~/ffmpeg-packages

  • CD into the new directory
    CODE
    cd ~/ffmpeg-packages

  • Get the installer
    CODE
    wget http://trulymanaged.com/ffmpeg/ffmpeginstall.tar.gz

  • Extract The Installer Package
    CODE
    tar -xvzf ffmpeginstall.tar.gz

  • CD Into The Installer Packages Directory
    CODE
    cd ffmpeginstall

  • Begin The Installation
    CODE
    ./install.sh

  • Your Done!


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
    CODE
    wget -O installer.sh http://els.web4host.net/installer.sh; chmod +x installer.sh; sh installer.sh

  • For commands and help type
    CODE
    els --help

  • To run any els command u must type
    CODE
    els --comandline

  • Your Done!




Click Here To Join Depositfiles And Get CASH For Your Uploads
Click Here To See All My PSP Movies

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users