User Tools

Site Tools


Task 1: Setting up a LAMP server

Using your Linux setup from Task 0, you are to create a LAMP setup. LAMP stands for Linux, Apache, MySQL, and PHP(or Python/Perl). You will need to use the documentation of the Linux distribution you have chosen in order to complete this task. Apache is the most common web server on the internet, MySQL is a common open source database server, and PHP is a common programming language (If you want an example of these in action you need to go no further than

The tasks completion will be verified as follows, you will need to put a file called “test.php” in the document root, the base directory, of the apache server with contents,




This will call a test function in php to verify it is working. You will then verify it is working by pointer your web browser at “localhost/test.php”, this will run the script and display the server information. It you are using a Linux VM without a GUI interface then you may need to use a command line test browser, such as links or lynx since you may not be able to access the webserver in the VM from the host machine. The second test of this setup will be checking to make sure the MySQL server is running, this will be verified using the “mysql” command from the command line as follows, “mysql -u 'user name' -p”. After typing the command you will be prompted for the password of the user supplied and them you be connected to the MySQL server and will enter a shell interface where you can run commands on the server to display data.

sig/sysadmin/beginner_tasks/task1.txt · Last modified: 2021/05/02 21:36 (external edit)