EZ Linux Admin random header image

Entries Tagged as 'Linux Software / Scripts'

Install FFMPEG from source

December 22nd, 2009 by EZ linux · 1 Comment

Do you prefer to manually install everything? Here is a article for you on installing FFMPEG on a Linux server. For the automated people check this article out for FFMPEG Installation FFmpeg is a complete solution to record, convert and stream audio and video. It includes libavcodec, the leading audio/video codec library. NOTE: – This [...]

Click to continue →

Tags: Linux Software / Scripts

PHP handler SuPHP

November 9th, 2009 by EZ linux · 1 Comment

Setting your PHP handler to SuPHP, which will cause PHP scripts to run as the user instead of “nobody”. Note that it has stricter permissions requirements than the other handlers–files must be 644, directories 755

Click to continue →

Tags: Cpanel and WHM · Linux Security · Linux Software / Scripts · Linux Tricks

Install fantastico

October 30th, 2009 by EZ linux · No Comments

cd /usr/local/cpanel/whostmgr/docroot/cgi wget -N http://files.betaservant.com/files/free/fantastico_whm_admin.tgz tar -xzpf fantastico_whm_admin.tgz rm -rf fantastico_whm_admin.tgz

Click to continue →

Tags: Cpanel and WHM · Linux Software / Scripts

Creating a info.php page

October 27th, 2009 by EZ linux · No Comments

Simple create a file called info.php in your public_html folder then add this codd to the page and save: <html> <head> <title>PHP Test</title> </head> <body> <?php phpinfo(); ?> </body> </html>

Click to continue →

Tags: Linux Software / Scripts · Linux Tricks

Apache error log settings

September 29th, 2009 by EZ linux · No Comments

This directive adjusts the verbosity of the messages recorded in the server’s error logs (see the ErrorLog directive). The following levels are available, in order of decreasing significance: emerg (emergencies: system is unusable); alert (action must be taken immediately); crit (critical conditions); error (error conditions); warn (warning conditions); notice (normal but significant condition); info (informational [...]

Click to continue →

Tags: Cheat Sheets · Linux Software / Scripts · Linux Tricks

Linux rescue CD

September 23rd, 2009 by EZ linux · No Comments

SystemRescueCd is a Linux system rescue disk available as a bootable CD-ROM or USB stick for administrating or repairing your system and data after a crash. It aims to provide an easy way to carry out admin tasks on your computer, such as creating and editing the partitions of the hard disk. It comes with [...]

Click to continue →

Tags: Linux Back Up · Linux Software / Scripts · Linux Tricks

Apache httpd failed ( apache error checking command )

September 8th, 2009 by EZ linux · No Comments

If apache ( httpd ) fails and says something like: httpd has failed, please contact the sysadmin. Or just that is can’t work, the first step is to run the Linux command: service httpd configtest This should show any errors. If you still get a error then you need to monitor the error_log file while [...]

Click to continue →

Tags: Linux Commands · Linux Software / Scripts · Linux Tricks

Rsync

August 18th, 2009 by EZ linux · 1 Comment

rsync –delete –stats -vae ssh 12.123.123.123:/backup/cpbackup/daily/ /backup/cpbackup/daily/ –exclude-from ‘/root/exclude.txt’ I added the file exclude.txt because with this code you can have certain files not be transferred. In this case I added pending and spam emails. So my exclude.txt file has this in it: *.*.dwhs1234.dwhs.net *.*.dwhs1234.dwhs.net:2, *.*.dwhs1234.dwhs.net:2,* *.msg” core.* *.*.mbox:2, This is for a cpanel based [...]

Click to continue →

Tags: Linux Commands · Linux Software / Scripts

skdetect

August 17th, 2009 by EZ linux · No Comments

wget http://tsd.student.utwente.nl/skdetect/skdetect-1.0pre4cvs ./skdetect-1.0pre4cvs

Click to continue →

Tags: Linux Commands · Linux Security · Linux Software / Scripts

Root check

August 17th, 2009 by EZ linux · No Comments

Install chkrootkit To install chrootkit, SSH into server and login as root. At command prompt type: cd /root/ At command prompt type: wget ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz At command prompt type: tar xvzf chkrootkit.tar.gz At command prompt type: cd chkrootkit-0.47 At command prompt type: make sense To run chkrootkit At command prompt type: /root/chkrootkit-0.47/chkrootkit Make sure you run [...]

Click to continue →

Tags: Linux Commands · Linux Security · Linux Software / Scripts