Asslamu'alaikum pembaca sekalian,
Berjumpa kembali dengan dprasit solutions, kali ini saya akan membahas bagaimana cara instal xampp dan konfigurasi password phpmyadmin pada linux ubuntu 14.04. Xampp adalah salah satu perangkat lunak komputer yang sudah satu paket berisi apache server dan mysql yang biasa digunakan untuk web server.
Berikut langkah - langkah instalasi XAMPP pada Linux Ubuntu :
1. Download https://www.apachefriends.org/index.html
2. Pilih xampp for linux dan download hingga selesai
3. Setelah selesai download, file xampp upload ke server yang akan dilakukan instalasi dengan menggunakan WINSCP atau Filezilla
4. Setelah di upload, selanjutnya update repositori terlebih dahulu apt-get update
5. ls file untuk melihat file yang telah di upload, seperti berikut :
root@smails:~# ls xampp-linux-x64-7.1.32-1-installer.run
6. Karena masih berwarna hitam/abu-abu maka dilakukan change permission file dengan cara :
root@smails:~# chmod -R 755 xampp-linux-x64-7.1.32-1-installer.run
8. Lalu akan berubah menjadi berwarna hijau, setelah itu proses instalasi bisa dilakukan dengan cara :
root@smails:~# ./xampp-linux-x64-7.1.32-1-installer.run
9. Ikuti proses instalasi sampai selesai
10. Lakukan restart service untuk mengaktifkan :
/opt/lampp/lampp restart
11. Memberikan password pada phpmyadmin :
/opt/lampp/lampp security
12. Ikuti langkah sampai selesai
13. Merubah permission akses phpmyadmin :
nano /opt/lampp/etc/extra/httpd-xampp.conf
cari Requrie local menjadi Require all granted
14. Test akses pada browser
Berikut video tutorial install xampp pada linux yang bisa anda tonton agar lebih mudah :)
root@smails:~# ls xampp-linux-x64-7.1.32-1-installer.run root@smails:~# chmod -R 755 xampp-linux-x64-7.1.32-1-installer.run root@smails:~# ./xampp-linux-x64-7.1.32-1-installer.run ---------------------------------------------------------------------------- Welcome to the XAMPP Setup Wizard. ---------------------------------------------------------------------------- Select the components you want to install; clear the components you do not want to install. Click Next when you are ready to continue. XAMPP Core Files : Y (Cannot be edited) XAMPP Developer Files [Y/n] :y Is the selection above correct? [Y/n]: y ---------------------------------------------------------------------------- Installation Directory XAMPP will be installed to /opt/lampp Press [Enter] to continue: ---------------------------------------------------------------------------- Setup is now ready to begin installing XAMPP on your computer. Do you want to continue? [Y/n]: y ---------------------------------------------------------------------------- Please wait while Setup installs XAMPP on your computer. Installing 0% ______________ 50% ______________ 100% ######################################## ---------------------------------------------------------------------------- Setup has finished installing XAMPP on your computer. root@smails:~# root@smails:~# /opt/lampp/lampp restart Restarting XAMPP for Linux 7.1.32-1... XAMPP: Stopping Apache...ok. XAMPP: Stopping MySQL...ok. XAMPP: Stopping ProFTPD...ok. XAMPP: Starting Apache...ok. XAMPP: Starting MySQL...ok. XAMPP: Starting ProFTPD...ok. root@smails:~# /opt/lampp/lampp security XAMPP: Quick security check... XAMPP: MySQL is accessable via network. XAMPP: Normaly that's not recommended. Do you want me to turn it off? [yes] XAMPP: Turned off. XAMPP: Stopping MySQL...ok. XAMPP: Starting MySQL...ok. XAMPP: The MySQL/phpMyAdmin user pma has no password set!!! XAMPP: Do you want to set a password? [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] XAMPP: Write the password somewhere down to make sure you won't forget it!!! XAMPP: Password: XAMPP: Password (again): XAMPP: Setting new MySQL root password. XAMPP: Change phpMyAdmin's authentication method. XAMPP: The FTP password for user 'daemon' is still set to 'xampp'. XAMPP: Do you want to change the password? [yes] XAMPP: Password: XAMPP: Password (again): XAMPP: Reload ProFTPD...ok. XAMPP: Done. root@smails:~# /opt/lampp/lampp restart Restarting XAMPP for Linux 7.1.32-1... XAMPP: Stopping Apache...ok. XAMPP: Stopping MySQL...ok. XAMPP: Stopping ProFTPD...ok. XAMPP: Starting Apache...ok. XAMPP: Starting MySQL...ok. XAMPP: Starting ProFTPD...ok. root@smails:~# nano /opt/lampp/etc/extra/httpd-xampp.conf root@smails:~# /opt/lampp/lampp restart Restarting XAMPP for Linux 7.1.32-1... XAMPP: Stopping Apache...ok. XAMPP: Stopping MySQL...ok. XAMPP: Stopping ProFTPD...ok. XAMPP: Starting Apache...ok. XAMPP: Starting MySQL...ok. XAMPP: Starting ProFTPD...ok. root@smails:~#
1 Comments
Saya ada kendala waktu server mati servernya tidak otomatis bagaimana ya ka solusinya ?
ReplyDelete