Install qmail in plesk

ARUN Posted in INSTALLATION, MAIL, PLESK BACKEND, PLESK FRONTEND, QMAIL
0

[  /usr/local/psa/admin/sbin/mailmng --features | grep SMTP_Server     --> Will show the running MTA    ]

[  /usr/local/psa/admin/sbin/autoinstaller --select-release-current --install-component qmail    --> Install qmail in plesk     ]]

[   Finally,  /usr/local/psa/admin/sbin/mailmng --reload-service     --> To restart service    ]

How to install chrome on CentOS 5

ARUN Posted in INSTALLATION
0

wget -r ftp://ftp.linux-powered.com/CentOS/5.x/Chromium/RPMS

rpm -ivh –nodeps –force *.rpm

How to install rdiff-backup on centos 5.5

ARUN Posted in BACKUP, INSTALLATION
0

===x86_64 ===
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm
rpm –import http://apt.sw.be/RPM-GPG-KEY.dag.txt
rpm -K rpmforge-release-0.5.1-1.el5.rf.*.rpm
rpm -i rpmforge-release-0.5.1-1.el5.rf.*.rpm
yum install rdiff-backup

==== 32 bit ====

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.i386.rpm
rpm –import http://apt.sw.be/RPM-GPG-KEY.dag.txt
rpm -K rpmforge-release-0.5.1-1.el5.rf.*.rpm
rpm -i rpmforge-release-0.5.1-1.el5.rf.*.rpm

yum install rdiff-backup

More Details : http://wiki.rdiff-backup.org/wiki/index.php/Installations

How to install yum on VPS from node

ARUN Posted in INSTALLATION, VPS
0

Login to node and execute the below command :

vzpkg install VEID -p yum

VEID –> Make sure to give the proper VEID from your node

How to install Fantastico on WHM sever

ARUN Posted in INSTALLATION
0

Connect to your server using an SSH client.

In WHM check if :  cPanel PHP loader is “ion cube”

cd /usr/local/cpanel/whostmgr/docroot/cgi
Download the Fantastico install file using the following command:
wget -N http://files.betaservant.com/files/free/fantastico_whm_admin.tgz

Or

wget -N http://netenberg.com/files/free/fantastico_whm_admin.tgz

Extract the install file using the following command:
tar -xzpf fantastico_whm_admin.tgz

After that login to WHM >> Fantastico >> and install that. Once its complete do not forget to configure that or else it wont work correctly

Remove the install file using the following command:
rm -rf fantastico_whm_admin.tgz

Re-Login to WHM in a web browser inorder for the above done changes to come into effect.

How to Install memcached using yum.

ARUN Posted in INSTALLATION
0

cat /etc/redhat-release

uname -i

Now install the RPM server that matches your architecture and CentOS version

======RHEL/CentOS 5 i386======

rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

======RHEL/CentOS 5 X86_64======

rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm

======RHEL/CentOS 4 i386======

rpm -Uhv http://apt.sw.be/redhat/el4/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el4.rf.i386.rpm

======RHEL/CentOS 4 X86_64======

rpm -Uhv http://apt.sw.be/redhat/el4/en/x86_64/rpmforge/RPMS/rpmforge-release-0.3.6-1.el4.rf.x86_64.rpm

======RHEL/CentOS 3 i386======

rpm -Uhv http://apt.sw.be/redhat/el3/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el3.rf.i386.rpm

======RHEL/CentOS 3 X86_64======

rpm -Uhv http://apt.sw.be/redhat/el3/en/x86_64/rpmforge/RPMS/rpmforge-release-0.3.6-1.el3.rf.x86_64.rpm

Select the apropriate URL from above and install the rpm as

Now you can run

yum install memcached

memcached -h

********Install the Memcache PECL Extension********

pecl install memcache

extension=memcache.so

/etc/init.d/apache2 restart

How to install json on plesk server

ARUN Posted in INSTALLATION
0

pecl install json

Check if you have a file named : json.so  in

cd /usr/lib/php/modules/

cd /etc/php.d/

echo “extension=json.so” >> json.ini

RESTART APACHE

php -m | grep json

How to install phpize

ARUN Posted in INSTALLATION
0

yum install php-devel

How to install yum on Cent OS 5.5 for i386

ARUN Posted in INSTALLATION
0

rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm
rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/python-elementtree-1.2.6-5.i386.rpm
rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/python-sqlite-1.1.7-1.2.1.i386.rpm
rpm -Uvh –nodeps http://mirror.centos.org/centos/5/os/i386/CentOS/rpm-python-4.4.2.3-22.el5.i386.rpm
rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/m2crypto-0.16-6.el5.8.i386.rpm
rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/python-urlgrabber-3.1.0-6.el5.noarch.rpm
rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/libxml2-2.6.26-2.1.2.8.el5_5.1.i386.rpm
rpm -Uvh http://mirror.centos.org/centos-5/5/os/i386/CentOS/yum-metadata-parser-1.1.2-3.el5.centos.i386.rpm
rpm -Uvh http://mirror.centos.org/centos/5/os/i386/CentOS/yum-fastestmirror-1.1.16-14.el5.centos.1.noarch.rpm
rpm -ivh –nodeps http://mirror.centos.org/centos/5/os/i386/CentOS/yum-3.2.22-33.el5.centos.noarch.rpm

How to install php shield

ARUN Posted in INSTALLATION
0

mkdir ~/phpshield
cd ~/phpshield

wget http://phpshield.com/loaders/phpshield.loaders.linux.zip    –> 32-bit OS

wget http://phpshield.com/loaders/phpshield.loaders.linux-64.zip   –> 64 -bit OS

unzip phpshield.loaders.linux.zip

ls

Find the phpshield file with the number that matches your PHP version.

cp ~/phpshield/phpshield.x.x.lin /path/to/your/php/extensions/directory

vi /path/to/php/ini/php.ini

Append the following to the Dynamic Extensions section of your php.ini file:

extension=phpshield/phpshield.x.x.lin

Finally, restart httpd.

NOTE :

Make sure that enable_dl is set to “on”

grep extension_dir path to loaded php.ini file

If no extension directory is present please create one and edit the php.ini file to point to that newly created directory.

mkdir -p /usr/local/lib/php/extensions/no-debug-non-zts-20060613/

Extersion directory permission

drwxr-xr-x  3 root root  4096 Jul 13 11:40 extensions

vsftpd installation

ARUN Posted in INSTALLATION
0

yum install vsftpd

Install mongo

ARUN Posted in INSTALLATION
0

pecl install mongo

make sure php extensions are added in the php.ini

ffmpeg install

ARUN Posted in INSTALLATION
0

wget http://mirror.ffmpeginstaller.com/old/scripts/ffmpeg3/ffmpeginstall.3.2.1.tar.gz

tar -xvzf ffmpeginstall.3.2.1.tar.gz

cd ffmpeginstall.3.2.1

./install.sh

The size of files are larger and it will take some time to complete install.

Logrotate

ARUN Posted in INSTALLATION
0

yum install logrotate

vi /etc/logrotate.d/httpd   and insert the following

====================================

/var/log/httpd/*log {
missingok
notifempty
sharedscripts
postrotate
/sbin/service httpd reload > /dev/null 2>/dev/null || true
endscript
}

====================================

You may also change the configuration in :   vi /etc/logrotate.conf

IN CPANEL USE :

 

Main >> Service Configuration >> cPanel Log Rotation Configuration

Main >> Server Configuration >> Tweak Settings

Main >> Server Configuration >> Tweak Settings   ( Threshold can be set here ) File size

Install memcache

ARUN Posted in INSTALLATION
0

Download from  http://memcached.org/

Download and untar that

./configure

make

make install

If it asks for libevent use

yum install libevent libevent-devel -y

OR

Download   http://www.monkey.org/~provos/libevent-1.4.13-stable.tar.gz

Or use  http://community.singlehop.com/community-tutorials/304-memcached-cpanel.html

==========

Error

error while loading shared libraries: libevent-1.4.so.2: cannot open shared object file: No such file or directory

#  cd /etc/ld.so.conf.d/

#  vi libevent-i386.conf    or   vi libevent-x86_64.conf

/usr/local/lib/     —> Content of above file

#  ldconfig

#  memcached -d -u nobody -m 1024 127.0.0.1 -p 11211

Download the latest stable version of memcache from PECL :: Package :: memcache

wget http://pecl.php.net/get/memcache-2.2.5.tgz

tar xvf memcache-2.2.5.tgz

cd memcache-2.2.5

phpize

./configure && make && make install

Open /usr/local/lib/php.ini

extension=memcache.so

Now restart apache

root# php -f test.php | grep “memcache support”
memcache support => enabled