Ubuntu11.10serveri386 study Notes-Apache installation
Source: Internet
Author: User
Step 1: First update the installation package cache 1.1sudoapt-getupdate. if this is not done, the following error may occur: after sudoapt-getupdate is executed, the system will automatically connect to the update server to update the installation package data... 1. 2... information & nb
Step 1: First update the installation package cache 1.1 sudo apt-get update. if this is not done, the following error may occur: after sudo apt-get update is executed, the system will automatically connect to the update server to update the installation package data... 1.2 sudo apt-get upgrade 1.3 start to install Apache. if you follow the two steps above, the subsequent installation will be simple. sudo apt-get install apache2 -www.2cto.com-press Y, wait for about 5 minutes to complete the installation. Open the browser of another computer and enter the IP address of the Apache server to check the effect. It works! It works. So far, the installation of Apache is successful. /*************************************** * ******/Apache configuration file location: /etc/apache2 -www.2cto.com-for example, if you want to modify the listening port of Apache, you can edit ports. conf file ls-lht check that the main configuration files of Apache are all here and modify as needed. By the way, It works! The htm page in/var/www
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service