Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Saturday, September 24, 2011

Installing XAMPP on Linux Ubuntu 11.04 ..

Hey, i have installed Ubuntu 11.04 in my computer for web development. I want to learn about some open source technology to expand my skills. Yeah, i'm a little bit tempted with PostgreSQL, so i decided to install Ubuntu as the operating system.

To run Apache server for my web development tools, i need to have XAMPP running on my computer. Here's the step for the installation:
  1. Download the XAMPP for Linux (LAMPP) installer.
  2. Once the download is complete, place the file (.tar.gz) in your home/yourAccountName folder. For the example, if my account name is steve, so i place the file in steve folder inside the home (home/steve).
  3. Run the terminal (Ctrl + Alt + T) and  type sudo su and then insert your password. 
  4. After that, type tar xvfz xampp-linux-1.7.7.tar.gz -C /opt.
  5. When finished, your XAMPP already installed in your Ubuntu.. Congratulations..!!!
You can find the XAMPP file in FileSystem/opt/lampp.
To start the XAMPP, write this command to your terminal and don't forget to do this as root.
/opt/lampp/lampp start           ===>  For starting the XAMPP
/opt/lampp/lampp stop            ===>  For stopping the XAMPP