- Tel:0912084206
The first step is to download the XAMPP package for Linux from the official Apache Friends website:
https://www.apachefriends.org/index.html
There was a SourceForge page that offer XAMPP 5.6.20 compiled for Linux 32-bit architecture, in which XAMPP 5.6.20 is compatible for 16.04 Ubuntu version.
wget "https://downloads.sourceforge.net/project/xampp/XAMPP%20Linux/5.6.20/xampp-linux-5.6.20-0-installer.run"
sudo su
chmod +x xampp-linux-5.6.20-0-installer.run
./xampp-linux-5.6.20-0-installer.run
We will install the package through the Ubuntu command line, The Terminal. In order to open the Terminal, either use the Dash or the Ctrl+Alt+T shortcut. After the Terminal is open, you need to move to your Downloads folder to access the file.
Move to the Downloads folder by using the following command:
$ cd /home/[username]/Downloads
The installation package you downloaded needs to be made executable before it can be used further. Run the following command for this purpose:
$ chmod 755 [package name]
Example:
$ chmod 755 xampp-linux-x64-7.2.10-0-installer.run
Now the install package is in an executable form.
It is important to verify if the package can be executed by the current user. The execute permission can be checked through the following command:
$ ls -l [package name]
Example:
$ ls -l xampp-linux-x64-7.2.10-0-installer.run
The -rwxr output shows that the file can be executed by the user whose name is also mentioned in the output.
As a privileged root user, run the following command in order to launch the graphical setup wizard.
$ sudo ./[package name]
Example:
sudo ./xampp-linux-7.2.10-0-installer.run
to check user on folder
$ cd /opt/lampp/var/mysql
$ ls -la
to change user on folder for all files and folder
$ sudo chown -R mysql:mysql *
and 1 file based on your computer ex:
$ sudo chown -R mysql:root emild-desktop.err
emild-desktop.err is log error of my pc
Copy Paste your htdocs folder on /opt/lampp
Restart lampp service.
$ sudo /opt/lampp/lampp start
sudo /opt/lampp/lampp security
Những tin mới hơn
Những tin cũ hơn