EZ Linux Admin random header image

Entries Tagged as 'Linux Software / Scripts'

Getting a md5sum error when tranferring a cpanel account?

March 3rd, 2010 by EZ linux · No Comments

This usually means you need to upgrade Perl on the server. Here is a example of a md5sum error.
The remote server didn’t report a correct md5sum of the archive. Please ensure you selected the correct type of remote server.
To fix upgrade Perl as shown here:
http://www.ezlinuxadmin.com/2009/08/upgrading-perl-on-cpanel/

Click to continue →

Tags: Cpanel and WHM · Linux Commands · Linux Software / Scripts

My new favorite rsync command

March 3rd, 2010 by EZ linux · No Comments

rsync -vae ssh 12.123.123.123:/home/dwhsbackup/daily/username/ /backup/cpbackup/daily2/username/ –bwlimit=10000 –exclude-from ‘/root/exclude.txt’

Click to continue →

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

Calm down rsync if it overloads your IO memory or CPU

March 3rd, 2010 by EZ linux · No Comments

The trick is to limit I/O bandwidth for rsync.
The –bwlimit option limit I/O bandwidth. You need to set bandwidth using KBytes per second. For example, limit I/O bandwidth to 10000KB/s (9.7MB/s), enter:
rsync –delete –numeric-ids –relative –delete-excluded –bwlimit=10000 /path/to/source /path/to/dest/?
10 megs a second is plenty of speed and will keep the server running smoothly when your [...]

Click to continue →

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

Path to PHP CLI in CPanel

February 9th, 2010 by EZ linux · No Comments

PHP CLI is installed by default by CPanel and placed in:
/usr/local/bin
or
/usr/bin

Click to continue →

Tags: Cpanel and WHM · 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 guide is designed for [...]

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