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.
- Download the
xampp-linux-x64-X.X.XX-0-installer.run
file.
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:
- Check the
XAMPP Core Files
option (or pressy
if using the command-line installer) and uncheckXAMPP Developer Files
(or pressn
):
- Confirm that the application will be installed to
/opt/lampp
, and then wait for the installation.
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
.zip
file
Downloading the latest # 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.