1、 Delete all files under the current folder, but do not delete the folder
rm -rf *
2、 Install Lrzsz
yum -y install lrzsz
3、 Upload files using lrzsz
rz
4、 Use lrzsz to download files
sz
5、 Install the zip archive
yum install zip
6、 Install the zip package
yum install unzip
6、 Unzip the zip file to the current folder
unzip webtest.zip
7、 Test whether the webpage is accessible
yum install links //Install a links tool
links URL//access
8、 CentOS7 turn off the firewall
systemctl stop firewalld
systemctl stop iptalbes//If iptalbes is installed
9、 Start Apache
systemctl start httpd.service
10、 Shut down Apache
systemctl stop httpd.service
11、 Restart Apache
systemctl restart httpd.service
12、 Check Apache status
systemctl status httpd.service