June 13, 2009 in Cpanel, Uncategorized, hosting
Tags: Cpanel, files cleanup, users | No Comments »
Not many CPANEL server admin knows that when they delete user account, there are some of those user files that still left on the server. Because user has been deleted, so the files will be owned by nouser.
This can be a problem when your server is highly cycled (you add and delete users very frequently) [...]
April 13, 2009 in Cpanel, Uncategorized, hosting
Tags: Cpanel, exim, smarthost | No Comments »
A Smart Host is a SMTP server that will accept mail from another server and then deliver the mail for that server. For example, server1 is setup to use server2 as a smart host. Anytime someone sends e-mail on server1 it is automatically relayed to server2 regardless of the MX entrys for the domain. Server2 then accepts [...]
April 13, 2009 in Cpanel, Uncategorized, hosting
Tags: clamav, Cpanel | No Comments »
First, download the latest version from Sourceforge:
Code:
wget http://downloads.sourceforge.net/clamav/clamav-0.95.1.tar.gz
Extract it and move into that directory:
Code:
tar -xzf clamav-*
cd clamav*
Compile:
Code:
./configure –prefix=/usr
make
make install
Comment out examples in the config files:
Code:
replace “Example” “#Example” — /usr/etc/freshclam.conf
replace “Example” “#Example” — /usr/etc/clamd.conf
Get the new virus definitions:
Code:
freshclam
Then just make sure you have the latest version of the ClamAV scanner if you’re using it (this can [...]
April 6, 2009 in Plesk, Uncategorized, Virtuozzo, hosting
Tags: Cpanel, Plesk, virtuzzo | No Comments »
if you have cpanel on a virtuozzo node vps you really want to disable plesk install .
This cannot be done for selected VPSes, only for node-wide. In order to remove ‘Install Plesk’ link from the customer’s Parallels Power Panel, it is required to modify /vz/private/1/root/etc/vzcp/pp/menu.xml (on the node) file or /etc/vzcp/pp/menu.xml (in Service VPS).
There [...]
March 3, 2009 in Cpanel, Plesk, Uncategorized, hosting
Tags: Cpanel, linux, Plesk | No Comments »
just paste to shell (cpanel server):
ps -axo “%C %p” |sort -nr |head -5 |while read i p; do echo -n $i; /usr/local/apache/bin/apachectl fullstatus |grep -A 1 $p; done
there is also a python script for that : apache-top.py . you can donwload it from: http://www.fr3nd.net/projects/apache-top/. it’s a nice tool but still need some customization.
January 28, 2009 in Cpanel, Plesk, Uncategorized, hosting
Tags: Cpanel, hosting, perl, Plesk | No Comments »
Just change perl permissions like bellow . apache will be able of course to execute perl scripts from cgi.
-bash-3.2# ls -al /usr/bin/perl
-rwxr-xr-x 2 root root 13688 Sep 17 20:40 /usr/bin/perl
-bash-3.2# chgrp apache /usr/bin/perl
-bash-3.2# chmod 705 /usr/bin/perl
-bash-3.2# ls -al /usr/bin/perl
-rwx—r-x 2 root apache 13688 Jan 28 15:09 /usr/bin/perl
January 2, 2009 in Cpanel, hosting
Tags: Cpanel | 1 Comment »
If you are using CPanel 11 (the latest version available at this time) you can easily install ruby on your system using CPanel. Previously, you had to do this using operating system packages or manually from sources. Now, we can just run /scripts/installruby and this will do everything for us:
download, compile and install ruby
download and [...]