Check out the Latest Articles:

Friday, 30 May 2014

Now, to install MySQL, run the following command from a terminal prompt:
$ sudo apt-get install mysql-server
$ sudo apt-get install mysql-client
During the installation process you will be prompted to enter a password for the MySQL root user.
Once the installation is complete, the MySQL server should be started automatically. You can run the following command from a terminal prompt to check whether the MySQL server is running:
$sudo netstat -tap | grep mysql
When you run this command, you should see the following line or something similar:
tcp        0      0 localhost.localdomain:mysql           *:* LISTEN -
If the server is not running correctly, you can type the following command to start it:
$ sudo /etc/init.d/mysql restart
You can edit the /etc/mysql/my.cnf file to configure the basic settings: log file, port number, etc.

Wednesday, 14 May 2014

Installing Apache web server httpd manually

1. Download Apache Http server from Apache website (e.g httpd-2.2.13.tar.gz)


2. Unzip it with “tar” command.
tar xvfz httpd-2.2.13.tar.gz
 
3. Configure the folder location with “./configure” command.
  ./configure --prefix=/usr/local/apache --enable-shared=max

4. Build it with “make” command.
make
 

5. Install it with “install” command, you need “sudo” 
privileged for this installation. 
sudo make install
 
6. Done, all the Apache http server’s files and folders are located
 at /usr/local/apache