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/
Tags:
Cpanel and WHM · Linux Commands · Linux Software / Scripts
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’
Tags:
Linux Commands · Linux Software / Scripts · Linux Tricks
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 grabbing allot of files off of it.
Tags:
Cheat Sheets · Linux Commands · Linux Security · Linux Software / Scripts · Linux Tricks
March 3rd, 2010 by
EZ linux ·
No Comments
Today I was transferring files through rsync it was taking forever, my guess was the new server or old server was out of memory so I killed some procs and even rebooting the server but still it was crawling. So I thought I would think out of the box and after a couple trial and errors I tried a nic reboot and wow it was super fast from there.
/etc/init.d/network restart
I’m still not sure how the nic got blogged up but this worked like charm.
Tags:
Hardware · Linux Commands · Linux Tricks
March 2nd, 2010 by
EZ linux ·
No Comments
Here is how, first remove the /var/tmp folder
rm -rf /var/tmp
Then add the symlink:
ln -s /tmp /var/tmp
Tags:
Linux Images
February 10th, 2010 by
EZ linux ·
No Comments
First move the domlogs folder to the backup partition:
mv /usr/local/apache/domlogs /backup
Then create a symbolic link to it:
ln -s /backup/domlogs /usr/local/apache/domlogs
Tags:
Linux Commands · Linux Tricks
February 9th, 2010 by
EZ linux ·
No Comments
The default MYSQL port is:
3306
Tags:
Cheat Sheets · Linux Security · Ports
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
Tags:
Cpanel and WHM · Linux Software / Scripts
February 9th, 2010 by
EZ linux ·
No Comments
I was tracking down the location for each users SSL on a CPanel based server and wanted to post the locations here since they are a little off the beaten track. This is good to have around for when you want to clean out old certs and keys that are just jumbling your SSL trackers.
Here is the ssl key and certificate locations on a cpanel based server:
/usr/share/ssl/private
/usr/share/ssl/certs
If you still need to buy a SSL cert please consider the non-profit SSLCA
Tags:
Cpanel and WHM · Linux Security
February 4th, 2010 by
EZ linux ·
No Comments
This command will show who is logged into your system.
who
Tags:
Linux Commands