1. After apache is installed successfully, the operating system is managed as a service:
(1. We can use this service
Start and closeApache, (2. You can also use apache moniter to manage apache. (3. Another way to manage apahce is to manage apache through the command line.
Httpd starts httpd-k start shutdown to close
Httpd-k start restart 2. port (1. All our services need to listen to a port mysql (3306) oracle (1521) mssql (1433)
Ftp (21) ssh (22) apache the web service listens on port 80 by default... (2. A machine can have Port 1-65535. (3. In actual development, we often use netstat-an to check which ports are being monitored, if abnormal port listening is found, you can disable the port netstat-anb. By modifying the command, we can find out which program is listening to the port and close it. (4) If a port 80 is listened to by apache, the port cannot be listened to by other applications (one port can only be listened to by one program) (5. ports are divided into famous ports 1-1024, and other ports can be allocated by themselves.