Archive for 'Software Installation'

How to Install Kdiff3 on Ubuntu

Posted on 28. Dec, 2006 by forouzani.

0

Kdiff3 is my favorite diff / merge tool – it has been for many years, and it probably will be forever; but it doesn’t come listed in some of the software repositories for ubuntu (such as the latest one I am using – Oneiric Ocelot). To install kdiff3 on any versions of Ubuntu where you [...]

Continue Reading

Compiling and installing MySql on Linux

Posted on 23. Nov, 2006 by forouzani.

0

Installing Mysql:
1) create a user under which the mysql server will be running
# groupadd mysql
# useradd -g mysql mysql
2) go to src download folder
# cd /usr/src/
3) download the latest version
# wget http://mysql.inspire.net.nz/Downloads/MySQL-5.0/mysql-5.0.27.tar.gz
4) Extract file
# tar -xzf mysql-5.0.27.tar.gz
5) Go into the directory
# cd mysql-5.0.27
6) If you get an error regarding ‘curses’ run these commands
# ./configure –prefix=/usr/local/mysql [...]

Continue Reading

Compiling and installing Apache on Linux

Posted on 18. Nov, 2006 by forouzani.

0

First we need to setup a user and user group under which the Apache server will be running.
# groupadd publicweb
# useradd -g publicweb publicweb
All actions performed by Apache (e.g. PHP script execution) will be restricted by this user’s privileges. Therefore we can explicitly rule which directories PHP scripts may read or change. Also all files [...]

Continue Reading

Compiling and installing PHP5 on Linux

Posted on 02. Nov, 2006 by forouzani.

0

Installing PHP5:
1) go to src download folder
# cd /usr/src/
2) find out the latest version
# lynx http://www.php.net/downloads.php
3) download the latest version
# wget http://www.php.net/mirror/php-5.2.1.tar.gz
4) Extract file
# tar -xzf php-5.2.1.tar.gz
5) Go into the directory
# cd php-5.2.1
6) Configure and install
# ./configure –prefix=/usr/local/php –with-apxs2=/usr/local/apache2/bin/apxs –with-mysql=/usr/local/mysql –with-curl –with-dom –with-dom-xslt –with-dom-exslt –with-gd –enable-mbstring –with-mcrypt –with-mhash –with-mysqli=/usr/local/mysql/bin/mysql_config –with-openssl –enable-sockets –enable-track-vars –with-ttf –enable-gd-native-ttf [...]

Continue Reading