Linux installation - Serena1432/NobihazaVietnamCollection GitHub Wiki

Installing XAMPP

  • Go to the XAMPP for Linux website. Choose the newest version (usually the top-most), for example 8.2.12 in the image below.

image

  • Download the xampp-linux-x64-X.X.XX-0-installer.run file.

image

  • chmod the executable file to make sure the file is executable:
chmod +x xampp-linux-x64-X.X.XX-0-installer.run    # Replace X.X.XX with your downloaded version
  • Run the executable file. Root access is required.

If you're running on Wayland the GUI installer may not be shown as the image below, but you can still use the command-line installer to install the application:

image

  • Check the XAMPP Core Files option (or press y if using the command-line installer) and uncheck XAMPP Developer Files (or press n):

image

  • Confirm that the application will be installed to /opt/lampp, and then wait for the installation.

image

Downloading the source code

You can download the source code either by cloning the repository or download the latest .zip file:

Cloning from git

git is required. Make sure /opt/lampp/htdocs is deleted before cloning.

# Clone the source code. Root access may be required.
git clone https://github.com/Serena1432/NobihazaVietnamCollection.git /opt/lampp/htdocs
# Make htdocs writeable by the user account
chmod -R 755 /opt/lampp/htdocs

Downloading the latest .zip file

# Download the latest source code as .zip
curl -L -o nbhz.zip https://github.com/Serena1432/NobihazaVietnamCollection/archive/refs/heads/main.zip
# Extract to /opt/lampp/htdocs. Root access may be required.
unzip nbhz.zip -d /opt/lampp/htdocs
# Move the subdirectory to the main `htdocs` directory
mv /opt/lampp/htdocs/NobihazaVietnamCollection-main/* /opt/lampp/htdocs
# Make htdocs writeable by the user account
chmod -R 755 /opt/lampp/htdocs

Starting XAMPP

Root access is required.

/opt/lampp/xampp start

Configuration

After the installation is done, head to the Configuration page.