Ali cloud Ubuntu system configuration

Prior to the expiration of the company's server, and then re-buy the boss asked, what is the new Ubuntu server system configuration:

 

 

1. In ubantu enter command line: sudo apt-get update (some may not require this step)
2. Input: sudo apt-get install apache2, continue to enter the line y
input 3. When the installation is complete: sudo / etc / init. d / apache2 restart, returns the result as [OK] Description start successfully
4. enter: curl 127.0.0.1, apache access the home page, the page had returned it works! Description can access
additional cloud Ali port 80 is off by default, so the need "more" clicks behind Ali cloud instance "Security Group Configuration", then click "Configuration Rules", then click "Add security group rules"
last As shown, already described opening port 80, a file or web page in the root directory of the Apache server via a public IP network

 

 

Guess you like

Origin www.cnblogs.com/wang-sai-sai/p/10973628.html