Error message

Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in menu_set_active_trail() (line 2405 of /home/vpstermu168/public_html/includes/menu.inc).

Cara Install Vesta Control Panel (VestaCP)

VestaCP merupakan Control Panel gratis/freeware yang sangat sederhana tetapi sudah memiliki kemampuan dasar sebuah hosting panel.

Cara instalnya sangat mudah:

 

curl -O http://vestacp.com/pub/vst-install.sh

bash vst-install.sh

 

Kemudian login via https://ip-vps-anda:8083

 

Cara install ClamAV dan SpamAssassin di RHEL/CentOS

* This tutorial is created for servers with less than 3Gb of ram availalbe. On "big" servers installation is fully automatic.

ClamAV installation

yum install clamd
wget http://c.vestacp.com/0.9.8/rhel/clamd.conf -O /etc/clamd.conf
wget http://c.vestacp.com/0.9.8/rhel/freshclam.conf -O /etc/freshclam.conf
gpasswd -a clam exim
gpasswd -a clam mail
freshclam
chkconfig clamd on
service clamd start

SpamAssassin installation

yum install spamassassin
chkconfig spamassassin on
service spamassassin start

Exim configuration

sed -i "s/^#SPAMASSASSIN/SPAMASSASSIN/g" /etc/exim/exim.conf
sed -i "s/^#CLAMD/CLAMD/g" /etc/exim/exim.conf
sed -i "s/^#SPAM_SCORE/SPAM_SCORE/g" /etc/exim/exim.conf
service exim restart

Vesta configuration

sed -i "s/ANTIVIRUS.*/ANTIVIRUS_SYSTEM='clamav'/" /usr/local/vesta/conf/vesta.conf
sed -i "s/ANTISPAM.*/ANTISPAM_SYSTEM='spamassassin'/" /usr/local/vesta/conf/vesta.conf

 

Cara install ClamAV dan SpamAssassin di Debian/Ubuntu

* This tutorial is created for servers with less than 3Gb of ram availalbe. On "big" servers installation is fully automatic.

ClamAV installation

apt-get install clamav-daemon
wget http://c.vestacp.com/0.9.8/ubuntu/clamd.conf -O /etc/clamav/clamd.conf
gpasswd -a clamav mail
gpasswd -a clamav Debian-exim
freshclam
update-rc.d clamav-daemon defaults
service clamav-daemon restart

SpamAssassin installation

apt-get install spamassassin
update-rc.d spamassassin defaults
sed -i "s/ENABLED=0/ENABLED=1/" /etc/default/spamassassin
service spamassassin restart

Exim configuration

sed -i "s/^#SPAMASSASSIN/SPAMASSASSIN/g" /etc/exim4/exim4.conf.template
sed -i "s/^#CLAMD/CLAMD/g" /etc/exim4/exim4.conf.template
sed -i "s/^#SPAM_SCORE/SPAM_SCORE/g" /etc/exim4/exim4.conf.template
service exim4 restart

Vesta configuration

sed -i "s/ANTIVIRUS.*/ANTIVIRUS_SYSTEM='clamav-daemon'/" /usr/local/vesta/conf/vesta.conf
sed -i "s/ANTISPAM.*/ANTISPAM_SYSTEM='spamassassin'/" /usr/local/vesta/conf/vesta.conf

 

Semoga bermanfaat.