SDL Practical 1
SDL Practical 1
1. Download the Linux installer for version 8.2.4. This will be a file named something like:
xampp-linux-x64-8.2.4-0-installer.run.
Step 2: Open the Terminal
cd ~/Downloads
sudo ./xampp-linux-x64-8.2.4-0-installer.run
1. sudo su
Purpose: This command is used to switch to the root user (superuser) in the terminal, giving
you administrative privileges to execute commands.
How to Use:
2. Type:
sudo su
4. You will now have a root shell, indicated by the # symbol in the terminal prompt.
2. chmod -R 777 /opt/lampp/htdocs
Purpose: This command changes the permissions of the /opt/lampp/htdocs directory (the
root directory for XAMPP's web server) and its subdirectories to make them readable,
writable, and executable by everyone.
Breakdown:
o -R: Recursive flag, meaning the command will apply to all files and subdirectories
inside /opt/lampp/htdocs.
Now, you able to see XAMPP 8.2.4-0 dashboard , on this dashboard click on Apache Web Server and
MySQL Database then it will be on.
If it will not on then click on ‘Configure’ button and change the port number and save it and again
start the server.
http://localhost