Home » » Install centos-6.2-x86

Install centos-6.2-x86

Written By Satria Adhi on Wednesday, February 5, 2014 | 11:26 PM

#centos-6.2-x86
cd /
mkdir download
cd /download
yum -y update
yum -y groupinstall 'Development Tools'
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -ivh epel-release-6-8.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
rpm -ivh remi-release-6.rpm
yum -y install ntp httpd mod_ssl mysql-server php php-mysql php-mbstring phpmyadmin
yum -y install rpm-build gcc mysql-devel openssl-devel cyrus-sasl-devel pkgconfig zlib-devel pcre-devel openldap-devel postgresql-devel expect libtool-ltdl-devel openldap-servers libtool gdbm-devel pam-devel gamin-devel libidn-devel
yum -y install php php-devel php-gd php-imap php-ldap php-mysql php-odbc php-pear php-xml php-xmlrpc php-eaccelerator php-mbstring php-mcrypt php-mssql php-snmp php-soap php-tidy curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel mod_fcgid php-cli httpd-devel
yum -y install pure-ftpd
#install mysql
yum -y install mysql-server mysql mysql-devel
yum -y install pure-ftpd libxml2 libxml2-devel httpd php
yum -y install httpd php-mysql mysql-server
yum -y install mhash mcrypt libmcrypt
yum -y install postfix dovecot
yum -y install ruby
service mysqld start
service pure-ftpd start
service postfix start
service dovecot start
chkconfig mysqld on
chkconfig pure-ftpd on
chkconfig postfix on
chkconfig dovecot on

#for litespeed
yum -y install curl* curl curl-devel gcc* gd* php-gd autoconf patch libxml2 libxml2-devel libxslt libxslt-devel libpng-devel
# Install litespeed
wget http://www.litespeedtech.com/packages/4.0/lsws-4.2.4-std-i386-linux.tar.gz
tar xvfs lsws-4.2.4-std-i386-linux.tar.gz
cd lsws-4.2.4
service httpd stop
chkconfig httpd off
./install.sh
cd ..

0 comments:

Post a Comment