Showing posts with label xampp. Show all posts
Showing posts with label xampp. Show all posts

Wednesday, July 23, 2025

XAMPP untuk Linux Ubuntu

 XAMPP adalah paket perangkat lunak gratis dan open-source yang berisi Apache, MySQL/MariaDB, PHP, dan Perl. XAMPP memudahkan untuk membuat lingkungan server lokal untuk pengembangan web. 

Cara Install XAMPP di Ubuntu:
  1. Unduh XAMPP: Unduh file installer XAMPP untuk Linux dari situs resmi Apache Friends.
  2. Buka Terminal: Buka terminal di Ubuntu.
  3. Ubah Izin File: Ubah izin file installer agar dapat dieksekusi menggunakan perintah: chmod 755 xampp-linux-*-installer.run (ganti * dengan versi file yang diunduh).
  4. Jalankan Installer: Jalankan installer dengan perintah: sudo ./xampp-linux-*-installer.run.
  5. Ikuti Petunjuk: Ikuti petunjuk pada wizard instalasi.
  6. Jalankan XAMPP: Setelah instalasi selesai, jalankan XAMPP dengan perintah: sudo /opt/lampp/lampp start.
  7. Akses: Buka browser dan akses http://localhost atau http://localhost/phpmyadmin untuk phpMyAdmin. 

Sunday, February 5, 2017

Xampp - Ubuntu - cant access my project in lampp/htdocs

http://stackoverflow.com/questions/17624936/xampp-ubuntu-cant-access-my-project-in-lampp-htdocs


up vote28down voteaccepted
  1. In the linux terminal navigate to your lampp directory.
    cd /opt/lampp
  2. In the command line type:
    sudo chmod 777 -R htdocs
The problem should be solved.
1st Edit:
What you just did was:
You navigated to the directory containing the protected directory. Your problem was that it was a folder that was access protected by your system. When you commanded chmod 777 -R htdocs, what you did was set the permissions for everyone on your computer to read/write/execute - allowed.
Now, you know what each digit means. It says who the number is about. Now each number from 0-7 sets a permission level. I will simply provide you a link for that.
I forgot to add why there is a '-R'. '-R' makes the command recursive and will affect htdocs as well as all subdirectories of htdocs and all subdirectories of those etc.

How to Install XAMPP to Linux Mint 17

http://de-mint.blogspot.co.id/2015/04/how-to-install-xampp-to-linux-mint-17.html

Jika ada error ketika membuka htdocs, bisa coba solusi : http://tempatmencatat.blogspot.com/2017/02/xampp-ubuntu-cant-access-my-project-in.html



As a web developer, when switching to linux, we can not be separated by a web server. If in the windows, we use XAMPP, then in linux, you can also use your favorite program.

XAMPP is available for Linux, especially linux mint (debian / ubuntu)
but to install it, must use the command line. Remember, in the Linux command line is very important, for example, to run a web server on or off.

Download here

Install and Running

after downloading is complete, just running few code to install. And its very easy

chmod 755 xampp-linux-*-installer.run
sudo ./xampp-linux-*-installer.run


then, starting your new web server with this command

sudo /opt/lampp/lampp start

and stopping with 

sudo /opt/lampp/lampp stop