First open the settings on the virtual machine, check the connection
and create a new local connection on the application (Xftp 5 needs to be downloaded), follow the steps to set up
and then return to the command page and switch to the /opt directory to check if there is a compressed package
Steps
1. Verify the integrity of the compressed package. The official md5 value will be given when downloading: md5sum httpd-2.4.25.tar.gz
2. Set the mount point: mount /dev/cdrom /mnt
3. Unzip the compressed package: tar zxvf hpptd-2.4.25.tar.gz -C /opt
4. Enter httpd-2.4.25 directory: cd httpd-2.4.25/
5. Installation language environment: yum -y install gcc gcc-c++ make
6. Install http Dependent package relationship: 7 packages
7. ./configure configuration, here is added the path: ./configure --prefix=/usr/local/apache
8. Install make; make compile: make (Enter); make install (return) Car)
9. Enter the bin directory: cd /usr/local/apache/bin/
10. Edit httpd. conf: vi /usr/local/apache/conf/httpd.conf
last line mode save and exit: :wq
11. Open Apache: ./apachectl start
12. Check network service status and filter port 80: netstat -anutp |grep 80
13. Install client browser:
check network status
14. Client browse: Lynx 127.0.0.1
15. Yes It works if you search for your own address on the real machine. If not, turn off the operating system and the firewall of the real machine: the operating system is: systemctl (space) stop (space) firewalld; on the real machine I won't talk about it.
This is the installation
Like if you like it