You can now move your files and projects in the public_html folder located in the home directory. Link now this folder to your root web directory with this command: sudo ln -s ~/public_html /opt/lampp/htdocs/$USER If you want to store your files in the home directory, you can simply create a directory called public_html with this command: mkdir ~/public_html The root directory of PHP projects is /opt/lampp/htdocs/ If your XAMPP is working successfully then you will see this page: Then start your web browser and go to localhost You can now start XAMPP with this command: sudo /opt/lampp/lampp start Open the terminal and run these commands to install XAMPP 1.7.7 in Ubuntu 12.04/11.10: sudo add-apt-repository ppa:upubuntu-com/web sudo apt-get update sudo apt-get install xampp DON’T use any Microsoft Windows tools to extract the archive, it won’t work. Warning:Please use only this command to install XAMPP. Tar xvfz xampp-linux-1.7.7.tar.gz -C /opt Extract the downloaded archive file to /opt:.
0 Comments
Leave a Reply. |