After the yum source is set up, install it directly using yum. For example, # yuminstallhttpd * [directly use the asterisk * to install all associated packages] Enter "y" to continue installation, the required installation package information is provided. If the installation is complete, a message "complete!" is displayed! ", For example, modify the default startup status # chkconfighttpd-list [check whether the httpd service is automatically started under different startup statuses] # chkconf
After setting up the yum source, install it directly using yum, as shown in figure
# Yum install httpd * [directly use the asterisk * to install all associated packages]
Enter "y" to continue the installation. The required installation package information is provided, as shown in figure
"Complete!" will be displayed after installation !", For example
Next, modify the default startup status.
# Chkconfig httpd-list [check whether the httpd service is automatically started under different startup statuses]
# Chkconfig httpd on [modify httpd service to automatically start in status 2, 3, 4, and 5]
# Chkconfig httpd-list [view startup status again]