Professional Documents
Culture Documents
Install Xamppp On Ubuntu 9
Install Xamppp On Ubuntu 9
Install Xamppp On Ubuntu 9
10
This tutorial will explain how to install XAMPP 1.7.1 in Ubuntu 9.10
Introduction
This is a step by step guide for installing and setting up a webdev server on a ubuntu machine. I will
show you how to install the lampp stack using XAMPP version 1.7.1 on Ubuntu 9.10.
You can follow the exact same steps for setting up XAMPP version 1.7.2
cd Dekstop
sudo -s
/opt/lampp/lampp start
11. Copy the code on the bottom of the security page and then paste it into a terminal
/opt/lampp/lampp security
This will start an interactive program to help you configure security settings
Make sure you’re logged in as super admin to start xampp or you’ll get an error message!
12. Type yes when prompted to enter a password and enter a secure password twice
13. Turn off MySQL network accesibility by entering yes, MySQL will now restart so the setting can
take effect
/opt/lamp/htdocs
To make things easier we’ll add a link to the htdocs folder to a folder in our home directory.
You can do this in a terminal by typing
mkdir ~/public_html
Or just right-click in your home folder and create a new folder named ‘public_html’
19. Now we’ll make a link from the new folder to /opt/lampp/htdocs , open a terminal and enter
20. To setup permissions for the htdocs folder, go to the terminal (still logged in as super user) and type
This changes the ownership of the htdocs folder to your user, the -R option makes the command
recursive so all permissions of folders and files inside htdocs are changed aswell.
Note that depending on the applications used to interact with content on your server, permissions might
need to be altered to grant read/write access.
Congratulations that was it! Well sort of…
After restarting your computer you have to manually start the server by entering
/opt/lampp/lampp start
in a terminal.
EDIT: MiD-AwE pointed out he had to install the ia32 libraries when installing XAMPP on Ubuntu
9.10 64-bit. The ia32 library is needed when installing a 64-bit version on a AMD64 or ia64-system.
To do this open a terminal and type
EDIT : Or as MiD-AwE suggested you can go to System > Preferences and add an entry
/opt/lampp/lampp start
to “Startup Applications”
If you want to use a GUI to start and stop xampp do the following:
1. Open a terminal and type
[Desktop Entry]
Comment=Start and Stop XAMPP
Name=XAMPP Control Panel
Exec=gksudo python /opt/lampp/share/xampp-control-panel/xampp-control-panel.py
Icon[en_CA]=/usr/share/icons/Humanity/devices/24/network-wired.svg
Encoding=UTF-8
Terminal=false
Name[en_CA]=XAMPP Control Panel
Comment[en_CA]=Start and Stop XAMPP
Type=Application
Icon=/usr/share/icons/Humanity/devices/24/network-wired.svg
If you want to use another icon or if you are using another theme then make sure to change the path to
the icon you want to showing up for the xampp control panel.
Change this line (twice) to match the location of the icon you want to use.
Icon[en_CA]=/usr/share/icons/Humanity/devices/24/network-wired.svg
3. The xampp control panel should now show up in Applications > Other
You should get to see something like this :