Xampp for ubuntu includes apache, mysql, php and phpMyadmin.
Download the installer run file for linux from http://www.apachefriends.org/en/xampp-linux.html . Download the 64-bit version if your ubuntu is 64-bit to check your OS type :
XAMPP is now installed below the /opt/lampp directory.
Download the installer run file for linux from http://www.apachefriends.org/en/xampp-linux.html . Download the 64-bit version if your ubuntu is 64-bit to check your OS type :
- Open the terminal Type
uname -a
Linux discworld 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386GNU/Linux
whereas the 64-bit Ubuntu will show:
After the file download is complete, goto terminal and follow the steps belowLinux discworld 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 x86_64 x86_64x86_64 GNU/Linux
- Change working user to root, type "sudo su"
- Change your directory to your Downloads folder "cd /home/
/Downloads/" - Change the permissions to the installer "chmod 755 xampp-linux-1.8.2-0-installer.run"
- Run the installer "./xampp-linux-1.8.2-0-installer.run"
Important:
Before starting the xampp server you should setup the password for it to keep it secure, to do this
/opt/lampp/lampp security
and follow the instructions, it will ask you to set user and passwords for xampp,mysql, PhpMyAdmin and also network access for mysql daemon.
To start xampp
/opt/lampp/lampp start
To start xampp
/opt/lampp/lampp start
To stop xampp
/opt/lampp/lampp stop
No comments:
Post a Comment