February 2020
Intermediate to advanced
666 pages
15h 45m
English
For this lab, you'll allow a normal user to run a Python web server. You can use any of your virtual machines. Let's get started:
sudo systemctl stop apache2
For CentOS, do the following:
sudo systemctl stop httpd
sudo apt install python
For CentOS 7, do the following:
sudo yum install python
For CentOS 8, do the following:
sudo dnf install python2
python -m SimpleHTTPServer 80
On CentOS 8, you'll see the following: ...