Skip to main content

Posts

Showing posts from January 21, 2011

LAMP Configuration at userdefined location.

############################# ##### LAMP CONFIGURATION #### #Created By : JINO JOSEPH ### #Created Date : 23-10-2010 ## ############################# ### CONFIGURING APACHE ### 1. Go to the directory where the downloaded packages reside. In my case it is at/usr/src # cd /usr/src Now uncompress and extract the file httpd-2.0.44.tar.gz # tar -zxvf httpd-2.0.44.tar.gz This will create a folder httpd-2.0.44 # cd httpd-2.0.44 # ./configure --prefix=/lamp --enable-so # make # make install # /lamp/bin/apachectl start ### CONFIGURING MYSQL ### # groupadd mysql # useradd -R mysql mysql # cd /usr/src # tar -zxvf mysql-5.1.tar.gz # cd mysql-5.1 # ./configure --prefix=/lamp/mysql # make # make install # cp support-files/my-medium.cnf /etc/my.cnf Here an option file is created. If you want to configure support for InnoDB tables you should edit the /etc/my.conf files remove the '#' character before the option lines that start with innodb_ and modify the option value to what u want. # cd /lam