Website: http://jonesolutions.com
Whois
Datacenter Whois
Spec and Features
{ 0 comments }
{ 0 comments }
My friend told me about my NginX Auto Installer, too bad because it only support CentOS, he really want to use my auto installer if it supports Debian or Ubuntu. As i said before, i’ve never tried OS other than CentOS, so last night i tried to install NginX, PHP, and MySQL under Ubuntu 10.04.2 Lucid, guess what? It was confusing me, why can’t this OS just give a standard name for their modules and packages? For example, on CentOS if we want to install PAM and PAM devel, then we’re just type
yum install pam pam-devel
but on Ubuntu
apt-get install libpam0g-dev libpam-devperm
Why not creating the normal name like ‘pam’ for package name and ‘pam-devel’ for development package name? I had to do googling for almost of those packages which i wanted to install because they have a ‘not normal’ name. :p
Okay, enough with the preamble story, here’s the result of my experiment.
Box: Ubuntu 10.04.2 Lucid 64bit with 256MB RAM OpenVZ
First update Ubuntu repository list and update existing packages
apt-get update apt-get upgrade
Install dependencies
apt-get install -y build-essential make automake patch bc netcat libgeoip1 libgeoip-dev fontconfig libfontconfig-dev libpam0g-dev libpam-devperm slapd ldap-utils libldap-2.4-2 libdb4.6 libxpm-dev libtool libaio-dev libltdl3-dev libmcrypt-dev libmhash-dev unixodbc unixodbc-dev zip unzip nano perl openssl libssl-dev libdevel-repl-perl libperl-dev libpcre3 libpcre3-dev libjpeg62 libjpeg62-dev libpng-dev libtiff4 libtiff-dev libfreetype6 libfreetype6-dev libgmp3-dev aspell libaspell-dev libpspell-dev libiconv-ruby mlocate libc-client2007e libc-client2007e-dev uw-imapd tidy libtidy-dev libbz2-dev libmysqlclient15-dev
Because i want to build NginX, PHP, and MySQL manually from source, also i will update a few dependencies for PHP, so now remove the following packages and also stop apache and bind processes.
apt-get remove apache2 php5 mysql-server gnupg curl libcurl3 libcurl-dev libidn11 libidn11-dev libxslt-dev killall -9 apache2 killall -9 named
Install GD Library
wget http://pkgs.serversreview.net/files/gd-2.0.33.tar.gz tar -zxvf gd-2.0.33.tar.gz cd gd-2.0.33 ./configure --prefix=/usr --libdir=/usr/lib --with-png=/usr/lib --with-freetype=/usr/lib --with-fontconfig=/usr/lib --with-jpeg=/usr/lib --with-xpm=/usr/lib make make install
{ 0 comments }
{ 0 comments }
{ 0 comments }
{ 0 comments }
LiteSpeed is good for Apache alternative, it is faster, more efficient, and also fully interchangeable with Apache. It is GUI based so you don’t have to worried about the setting, just copy paste, click right here and right there from the administration panel. The main shortage of LiteSpeed standard edition is just maximum 150 concurrent connection and 5 virtual hosts, still good for low to middle end websites with little budget. If you need webserver to serve more virtual host, you can switch to Nginx. Now we will begin with LiteSpeed installation.
VPS: CentOS 5.5 64bit with 256MB RAM OpenVZ
note:
– If you want to run the standard version on 64bit Linux, you need to install 32bit compatible libraries (glibc for CentOS) – ref: LiteSpeed
– If you want to run the standard version on 32bit Linux, pay attention for library directory name, change “/usr/lib64” to “/usr/lib”
Install dependencies and update
yum -y install gcc gcc-c++ glibc make automake GeoIP GeoIP-devel GeoIP-data fontconfig fontconfig-devel gd gd-devel pam pam-devel openldap openldap-devel libXpm libXpm-devel libtool libaio libaio-devel libtool-ltdl libtool-ltdl-devel libmcrypt libmcrypt-devel mhash mhash-devel unixODBC unixODBC-devel zip unzip nano perl openssl openssl-devel pcre pcre-devel bzip2 bzip2-devel libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel gmp gmp-devel aspell aspell-devel yum -y update
Remove Old Apps
yum -y remove httpd php mysql
Now i’m going to update a few modules for PHP 5.3.5 dependencies to the latest version, because CentOS has not yet released the latest version of these modules. If you want to use current version from CentOS repository and make it simple by using yum, you can install the following modules and skip the Install / Update the latest modules version section. (go straight to the MySQL installation)
yum -y install gnupg curl curl-devel libidn libidn-devel libc-client libc-client-devel.`uname -i` libxslt tidy libtidy libtidy-devel
{ 0 comments }
{ 0 comments }
{ 0 comments }
{ 0 comments }