How to install XAMPP on Ubuntu 12.10 'Quantal Quetzal' and setting?
--alternative solution--
--> Download or Copy XAMPP
Download XAMPP for Linux from here, this is the lastest version now: http://www.apachefriends.org/download.php?xampp-linux-1.8.1.tar.gz
--> Installing XAMPP
Open terminal (ctrl+alt+t), go to directory that XAMPP was downloaded, ex:
roisa@ar-mscdr:~$ cd /media/Spirit/gz/
Extract to /opt with root access:
sudo tar xvfz xampp-linux-1.8.1.tar.gz -C /opt
Easy install yow!
--> Start XAMPP
roisa@ar-mscdr:~$ sudo /opt/lampp/lampp start
Starting XAMPP for Linux 1.8.0...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP for Linux started.
just change start to other command like this:
*restart, to restart XAMPP
*stop, to stop XAMPP
--> Check localhost
really works? check on your browser
http://localhost
sip.. if you've problem with security concept check this: Sharing Ubuntu 12.10 | New XAMPP 1.8 security concept problem or fix security (optional) by typing this:
sudo /opt/lampp/lampp security
--> Add XAMPP to the Unity Dash
Open the Ubuntu 12.10 Unity Dash and start the Main Menu application.
Then, Select the category that you want XAMPP put in (Internet) and click the New Item button. This will display the “Launcher Properties”, select Lampp.
The Command should be:
gksudo /opt/lampp/share/xampp-control-panel/xampp-control-panel
An XAMPP icon can be found at /opt/lampp/htdocs/xampp/img/logo-big.gif
--> Setting folder public
Make directory and change the permissions on the new folder to allow websites to load correctly.
roisa@ar-mscdr:~$ mkdir public_html
roisa@ar-mscdr:~$ sudo chmod 777 -R public_html
[sudo] password for roisa:
roisa@ar-mscdr:~$ cd /opt/lampp/htdocs
roisa@ar-mscdr:/opt/lampp/htdocs$ sudo ln -s /home/roisa/public_html ./roisa
*roisa can change with your own ubuntu username
check it: http://localhost/roisa
nice..
note: you can also change setting folder localhost with
sudo chmod 777 -R /opt/lampp/htdocs
Finally, explore your web dev knowledge. I see you're web entusiastic..
Reference:
http://www.apachefriends.org/en/xampp-linux.html
http://www.upubuntu.com/2011/11/how-to-add-applications-manually-to.
http://andyhat.co.uk/2012/07/installing-xampp-32bit-ubuntu-11-10-12-04/
Go get gold,
Roisa Mscdr
3 comment:
nice post sis, next time I'll be your student about linux :)
yoss bro
terima kasih ya... tapi lebih mudah penjelasan di apachefriend loh mingkin penjelasan kamu kurang sederhana
Posting Komentar
Informasi Pilihan Identitas:
Google/Blogger : Account special blogger
Another : Jika tidak punya account blogger namun punya alamat Blog atau Website.
Anonim : Jika tidak ingin mempublikasikan profile anda (tidak disarankan). salam hangat, Roisa :)