Troubleshoot LAMPP di linux

4
Mengatasi xampp Another web server daemon is already running sudo /opt/lampp/lampp start dan muncul Starting XAMPP for Linux 1.8.0-beta1... XAMPP: Another web server daemon is already running. XAMPP: Starting MySQL... XAMPP: Starting ProFTPD... XAMPP for Linux started. nah pas saya masuk localhost (http://localhost/xampp ) ko ga muncul? nah ternyata setelah dicari-cari ada web server yang dah jalan, XAMPP: Another web server daemon is already running. solusinya adalah menghentikan webserver yang jalan sudo service apache2 stop dan me restart xampp sudo /opt/lampp/lampp restart kalo udah kaya gini Starting XAMPP for Linux 1.8.0-beta1... XAMPP: Starting Apache with SSL (and PHP5)... XAMPP: Starting MySQL... XAMPP: Starting ProFTPD... XAMPP for Linux started. insyaAllah udah bisa sob :) tinggal masuk http://localhost/xampp dan bisa juga menjalankan mysql consolnya , Semoga bermanfaat sob sedikit postingan dari saya.

description

untuk memperbaiki jika ada kesalahan

Transcript of Troubleshoot LAMPP di linux

Page 1: Troubleshoot LAMPP di linux

Mengatasi xampp Another web server daemon is already running

sudo /opt/lampp/lampp start

dan muncul

Starting XAMPP for Linux 1.8.0-beta1...XAMPP: Another web server daemon is already running.XAMPP: Starting MySQL...XAMPP: Starting ProFTPD...XAMPP for Linux started.

nah pas saya masuk localhost (http://localhost/xampp) ko ga muncul? nah ternyata setelah dicari-cariada web server yang dah jalan, XAMPP: Another web server daemon is already running. solusinyaadalah menghentikan webserver yang jalan

sudo service apache2 stop

dan me restart xampp

sudo /opt/lampp/lampp restart

kalo udah kaya gini

Starting XAMPP for Linux 1.8.0-beta1...XAMPP: Starting Apache with SSL (and PHP5)...XAMPP: Starting MySQL...XAMPP: Starting ProFTPD...XAMPP for Linux started.

insyaAllah udah bisa sob :) tinggal masuk http://localhost/xampp dan bisa juga menjalankan mysqlconsolnya, Semoga bermanfaat sob sedikit postingan dari saya.

Page 2: Troubleshoot LAMPP di linux

Jalankan MySQL pada xampp Linux Ubuntu Xampp adalah suatu bundel aplikasi, maksudnya bundel yaitu adalah satu paket aplikasi yang sudahdikelompokkan kedalam satu file untuk lebih mudah menginstallnya, baik menginstall di linux,windows , mac, dll, nah dalam xampp ini terdapat berbagai aplikasi salah satunya yaitu mysql consol,nah bagaimana menjalankan mysql consol yang ada dalam xampp, oke perintahnya cukup denganbegini

cd /opt/lampp/bin (untuk masuk ke dalam direktorinya)./mysql -u root -p (untuk menjalankan aplikasnya)./mysql -u root (jika tanpa password)jika berhasil maka tamplannya akan begini :

Page 3: Troubleshoot LAMPP di linux

New XAMPP 1.8 security concept problem | Sharing Ubuntu 12.10

--case--Access forbidden!New XAMPP security concept:Access to the requested object is only available from the local network.This setting can be configured in the file "httpd-xampp.conf".If you think this is a server error, please contact the webmaster.Error 403

localhostApache/2.4.2 (Unix) OpenSSL/1.0.1c PHP/5.4.4

--alternative solution--roisa@mscdr:~$ sudo -sroisa@mscdr:~$ type your passwordroot@mscdr:/# cd /opt/lampp/phpmyadminroot@mscdr:/opt/lampp/phpmyadmin# chmod 644 config.inc.phproot@mscdr:/opt/lampp/phpmyadmin# cd /root@mscdr: /opt/lampp/lampp restart

--another solution--sudo gedit /opt/lampp/etc/extra/httpd-xampp.conf

in gedit, Find:<Directory "/opt/lampp/phpmyadmin">

then add the line to the <Directory>:Require all granted

actually, the section reads:<Directory "/opt/lampp/phpmyadmin"> AllowOverride AuthConfig Limit Order allow,deny Allow from all Require all granted</Directory>

save dan clode gedit.. restart lampp/opt/lampp/lampp restart

http://roisa.com/phpmyadmin/ now correctly loads. *roisa.com = localhost.

--another solution--sudo /opt/lampp/lampp security

then set yours, like this:

Page 4: Troubleshoot LAMPP di linux

XAMPP: Quick security check...XAMPP: Your XAMPP pages are secured by a password.XAMPP: Do you want to change the password anyway? [no]

set your password, remember! use easy password but difficult to hack. hehe

finally, it works..

Go share tricks,

To solve this problem you only have to:

1) To stop apache2 server. Just type in terminal: sudo /etc/init.d/apache2 stopThe web server apache2 will be stopped now.

2) To stop MySQL. Just type in terminal: sudo /etc/init.d/mysql stopTo start lampp, just type again: /opt/lampp/lampp start