Plesk Installation

ARUN Posted in INSTALLATION, PLESK BACKEND
0
  • Execute “uname -i” to get the OS arch so that you can download the appropriate installer package.

[root@server ~]# uname -i
x86_64

  • Run “cat /etc/redhat-release” to check the name & version of the OS installed

[root@server ~]# cat /etc/redhat-release
CentOS release 5.2 (Final)

  • Run the following 3 commands, to check if Apache, PHP & MySQL are preinstalled by the OS:

[root@server ~]# rpm -qa | grep -i http
[root@server ~]# rpm -qa | grep -i php
[root@server ~]# rpm -qa | grep -i mysql

  • If the above are found to be installed [most of the time they are] by the OS, they conflict with the applications Plesk installs, hence remove them using…

[root@server ~]# yum remove http*
[root@server ~]# yum remove php*
[root@server ~]# yum remove mysql*

  • Check SELinux status, we have it disabled but still… execute “getenforce” it should say “Disabled” or “Not enforcing“. If it’s enforcing, disable it by executing: “setenforce 0“.

root@server [~]# getenforce
Disabled

Change your working directory to where you want to download the Auto-installer utility:

[root@server ~]# mkdir /root/plesk
[root@server ~]# cd /root/plesk

[root@server ]# wget plesk_auto_installer_link

You can get the link from plesk website.

Eg : http://www.parallels.com/download/plesk9

[root@server ]# chmod +x plesk_auto_installer_file_name

[root@server plesk]# ./plesk_auto_installer_file_name

Read installation notes displayed on the screen and type ‘n’ to proceed to the next screen. Press ENTER.

Select the product versions that you want to install: type the number corresponding to the product version you need and press ENTER, then type ‘n’ and press ENTER to continue.

CPanel Installation

ARUN Posted in INSTALLATION, WHM BACKEND
0

To begin your installation, use the following commands:

  1. cd /home — Opens the directory /home.
  2. wget -N http://layer1.cpanel.net/latest — Fetches the latest installation file from the cPanel servers.
  3. NEW :   wget http://httpupdate.cpanel.net/latest
  4. sh latest — Opens and runs the installation files.
  5. /usr/local/cpanel/cpkeyclt — Activates your license after installation.

Enable Spam Assassin on your server (DIRECT ADMIN)

ARUN Posted in INSTALLATION
0

1) Install spamd and spamc:

cd /usr/local/directadmin/scripts
./spam.sh

2) Start the spamd:

/usr/bin/spamd -d -c -m 15

3) In order to get exim to use the spamd program, you’ll need to make some changes in your /etc/exim.conf. Change:

# Spam Assassin
#spamcheck_director:
#  driver = accept
#  condition = “${if and { \
#      {!def:h_X-Spam-Flag:} \
#      {!eq {$received_protocol}{spam-scanned}} \
#      {!eq {$received_protocol}{local}} \
#      {exists{/home/${lookup{$domain}lsearch{/etc/virtual/domainowners}{$value}}/.spamassassin/user_prefs}} \
#      {<{$message_size}{100k}} \
#    } {1}{0}}”
#  retry_use_local_part
#  transport = spamcheck
#  no_verify

TO

# Spam Assassin
spamcheck_director:
driver = accept
condition = “${if and { \
{!def:h_X-Spam-Flag:} \
{!eq {$received_protocol}{spam-scanned}} \
{!eq {$received_protocol}{local}} \
{exists{/home/${lookup{$domain}lsearch{/etc/virtual/domainowners}{$value}}/.spamassassin/user_prefs}} \
{<{$message_size}{100k}} \
} {1}{0}}”
retry_use_local_part
transport = spamcheck
no_verify

4) Restart exim:
Redhat:

/sbin/service exim restart

Thats it and spam assassin is installed & enabled.

Cacti Install

ARUN Posted in INSTALLATION
0

WordPress installation

ARUN Posted in INSTALLATION, WORDPRESS
0

There are many ways to install wordpress

1 )

Login to users home directory >> then download the latest wordpress zip file

wget http://wordpress.org/latest.zip

Then unzip that #  unzip filename

Make sure the permissions are correct

chown user:user * -R

Then using the browser access :   domain.com  or domain.com/wordpress

This will run a automated installation which will ask for a DB, DB USER, DB PASSWORD (Make sure u have created all those before starting the installation)

REDIS installation

ARUN Posted in INSTALLATION
0

Visit the link below :

http://code.google.com/p/redis/

login to server

cd /usr/src

wget http://redis.googlecode.com/files/redis-1.2.0.tar.gz

tar -zxvf redis-1.2.0.tar.gz

cd redis-1.2.0

make

./redis-server