Ubuntu server nginx + PHP + MySQL commands

Source: Internet
Author: User
Tags apc mysql commands
Purpose Command Remarks
Disable the server Shutdown-H now Shutdown-H + 3 "system will shutdown after 3 minutes" indicates that the system notifies the user that the system will shut down after 3 minutes
Restart the server Shutdown-R now  
Update existing software Sudo apt-Get update
Sudo apt-Get upgrade
 
Install SSH Sudo apt-Get Install SSH After installation, you can use SSH or winscp for remote connection.
Install FTP Sudo apt-Get install vsftpd  
Install nginx Sudo apt-Get install nginx  
Install the MySQL server Sudo apt-Get install mysql-Server During installation, you must set a password for the root user of MySQL.
Install the mysql client Sudo apt-Get install mysql-Client  
Install PhP5 Sudo apt-Get install PhP5  
Install php5-fpm Sudo apt-get install php5-fpm  
Install php5-mysql Sudo apt-get install php5-mysql  
Install php-apc Sudo apt-get install php-apc  
Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.