Cara Instal Xampp Pada Linux.docx

  • May 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Cara Instal Xampp Pada Linux.docx as PDF for free.

More details

  • Words: 557
  • Pages: 4
Cara instal XAMPP pada Linux 1.Download file installer XAMPP versi linux, pilih yang sesuai dengan versi Linux XAMPP 1.8.2 Versi Linux 32 bit, download disini XAMPP 1.8.2 Versi Linux 64 bit, download disini XAMPP 1.8.3 Versi Linux 32 bit, download disini XAMPP 1.8.3 Versi Linux 64 bit, download disini 2.Ganti permission dari file installer yang telah didownload tadi

chmod 755 xampp-linux-*-installer.run 3.Jalankan file installer sudo ./xampp-linux-*-installer.run 4.Ikuti petunjuk yang muncul sampai proses instalasi selesai Cara menjalankan XAMPP pada Linux 1.Jalankan perintah berikut: sudo /opt/lampp/lampp start 2.Pastikan tampil seperti ini:

Starting XAMPP 1.8.2… LAMPP: Starting Apache… LAMPP: Starting MySQL… LAMPP started. Ready. Apache and MySQL are running. Cara menghentikan XAMPP pada Linux 1.Jalankan perintah berikut: sudo /opt/lampp/lampp stop 2.Pastikan tampil seperti ini: LAMPP: Stopping Apache… LAMPP: Stopping MySQL… LAMPP stopped.

Cara mengecek status XAMPP pada Linux: 1.Buka browser lalu ketik http://localhost atau http://127.0.0.1, kemudian klik Flash Art pastikan tampil seperti ini:

2.Klik Security dan akan terlihat beberapa item yang “UNSECURE”, untuk membuat jadi “SECURE” ikuti perintah berikut ini. Setting security XAMPP pada Linux 1.Jalankan perintah berikut ini: sudo /opt/lampp/lampp security 2.Ikuti perintah yang tampil untuk mengkonfirmasi keamanan dan memasukkan password, seperti tampilan berikut ini:

XAMPP: Quick security check… XAMPP: Your XAMPP pages are NOT secured by a password. XAMPP: Do you want to set a password? [yes] yes (1) XAMPP: Password: ****** XAMPP: Password (again): ****** XAMPP: Password protection active. Please use ‘lampp’ as user name! XAMPP: MySQL is accessable via network. XAMPP: Normaly that’s not recommended. Do you want me to turn

it off? [yes] yes XAMPP: Turned off. XAMPP: Stopping MySQL… XAMPP: Starting MySQL… XAMPP: The MySQL/phpMyAdmin user pma has no password set!!! XAMPP: Do you want to set a password? [yes] yes XAMPP: Password: ****** XAMPP: Password (again): ****** XAMPP: Setting new MySQL pma password. XAMPP: Setting phpMyAdmin’s pma password to the new one. XAMPP: MySQL has no root passwort set!!! XAMPP: Do you want to set a password? [yes] yes XAMPP: Write the passworde somewhere down to make sure you won’t forget it!!! XAMPP: Password: ****** XAMPP: Password (again): ****** XAMPP: Setting new MySQL root password. XAMPP: Setting phpMyAdmin’s root password to the new one. XAMPP: The FTP password for user ‘nobody’ is still set to ‘lampp’. XAMPP: Do you want to change the password? [yes] yes XAMPP: Password: ****** XAMPP: Password (again): ****** XAMPP: Reload ProFTPD… XAMPP: Done. 4.Buka kembali halaman localhost, kemudian klik pada link Security disebelah kiri, pastikan semua notifikasi sudah “SECURE”. Cara membuat XAMPP auto start saat login Linux 1.Pada Debian, Ubuntu, Linux Mint dan variannya Jalankan perintah ini satu per satu sudo ln -s /opt/lampp/lampp /etc/init.d/lampp sudo update-rc.d lampp start 80 2 3 4 5 . stop 30 0 1 6 . 2.Pada RedHat, Fedora, Centos dan variannya Jalankan perintah ini satu per satu sudo ln -s /opt/lampp/lampp /etc/init.d/lampp sudo chkconfig –add lampp

3.Pada SUSE, OpenSUSE dan variannya Jalankan perintah ini satu per satu sudo ln -s /opt/lampp/lampp /etc/init.d/lampp sudo chkconfig lampp 2345 Cara mengatasi beberapa error yang muncul saat instal XAMPP 1.Error dapat dilihat pada log file Jalankan perintah berikut ini: tail -2 /opt/lampp/logs/error_log 2.Error “Cannot restore segment prot after reloc: Permission denied?” Jalankan perintah berikut ini: sudo /usr/sbin/setenforce 0 3.Error image tidak tampil Buka file httpd.conf pada folder /opt/lampp/etc/httpd.conf Cari teks berikut ini: #EnableMMAP off #EnableSendfile off Buang tanda # lalu simpan, dan image akan dapat ditampilkan.

Related Documents

Cara Instal Kapersky
June 2020 6
Cara Instal Windows 7
October 2019 16
Cara Instal Arcgis.docx
December 2019 10
Xampp
October 2019 18