March 16th, 2010 — 2:27am
Requirement
*GNU C Compiler and other small packages required
debian:~# apt-get install gcc build-essential automake autoconf autoreconf libncurses5-dev
*OpenSSL
Package :
debian:~# wget http://www.alliedquotes.com/mirrors/apache/httpd/httpd-2.2.15.tar.gz
Installation
debian:~# tar -zxvf httpd-2.2.15.tar.gz
debian:~# ./configure --prefix=/usr/local/apache2 \
--enable-so --enable-mods-shared=most \
--enable-ssl=static --with-ssl=/usr/local/ssl
debian:~# make && make install
Test
debian:~/httpd-2.2.15# /usr/local/apache2/bin/apachectl -v
Server version: Apache/2.2.15 (Unix)
Server built: Mar 15 2010 22:16:15
debian:~/httpd-2.2.15# /usr/local/apache2/bin/apachectl start
5 comments » | Linux
March 16th, 2010 — 12:58am
Requirement
GNU C Compiler and other small packages required
debian:~# apt-get install gcc build-essential automake autoconf autoreconf libncurses5-dev
Package :
debian:~# wget http://mirror.csclub.uwaterloo.ca/mysql/Downloads/MySQL-5.1/mysql-5.1.44.tar.gz
Installation
debian:~# tar -zxvf mysql-5.1.44.tar.gz
debian:~# cd mysql-5.1.44/
debian:~/mysql-5.1.44# ./configure --prefix=/usr/local/mysql \
--localstatedir=/usr/local/mysql/var \
--with-pthread --with-big-tables
debian:~/mysql-5.1.44# make && make install
debian:~/mysql-5.1.44# chown -R mysql.mysql /usr/local/mysql
debian:~/mysql-5.1.44# cd /usr/local/mysql/share/mysql
debian:~/mysql-5.1.44# cp my-small.cnf /etc/my.cnf
debian:~/mysql-5.1.44# /usr/local/mysql/bin/mysql_install_db --user=mysql --basedir=/usr/local/mysql/
debian:~/mysql-5.1.44# mv /usr/local/mysql/share/mysql/english/ /usr/share/mysql/
debian:~/mysql-5.1.44# /usr/local/mysql/bin/mysqld_safe &
debian:~/mysql-5.1.44#/usr/local/mysql/bin/mysqladmin -u root password 'password'
Test
debian:~/mysql-5.1.44# /usr/local/mysql/bin/mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3
Server version: 5.1.44 Source distribution
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
Additional : Error when executing mysqld.Click Here
8 comments » | Linux