You are on page 1of 2

Installing LAMPP (XAMPP for Linux) in Fedora

Maybe it can do on other Linux distributions. But, we have try it on Fedora and it's works. LAMPP is acronym from Linux Apache MySQL PHP PHPMyAdmin. You candownload LAMPP from ApacheFriends.org After you download the archive, by default it will be saved in Downloads directory. Lets begin the installation. Type this command on terminal (as root) : $ su root Password : <-- insert your root password # tar -xzvf Downloads/xampp-linux-x.y.z.tar.gz -C /opt Just that, and installation is done... You can activate the service by typy this command (as root) : # /opt/lampp/lampp start if you want to only activate Apache, run this command : # /opt/lampp/lampp startapache if you want to only activate MySQL, run this command : # /opt/lampp/lampp startmysql If you want to open MySQL CLI to manage your database, run this command : # /opt/lampp/bin/mysql If you want to integrate lampp to be default command, create link to /bin directory : # ln -s /opt/lampp/lampp /bin/lampp and now if you want to start lampp just use this (removing /opt/lampp/ to activate service) : # lampp start same for mysql, if you want to integrate MySQL CLI as default command, run this command : # ln -s /opt/lampp/bin/mysql /bin/mysql and now you just need to type this command to open MySQL CLI : # mysql If you want to make lampp as service, un this command : # ln -s /opt/lampp/lampp /etc/init.d/lampp

so you can run this command : # service lampp start and you can make it as startup service by run this command : # chkconfig --levels 235 lampp on Posted by fspot at 4:08 PM

You might also like