Ubuntu Server Nginx+PHP+MySQL相關命令

來源:互聯網
上載者:User
目的 命令 備忘
關閉伺服器 shutdown -h now shutdown -h +3 "System will shutdown after 3 minutes" 表示系統通知使用者將在3分鐘後關閉
重啟伺服器 shutdown -r now  
對現有安裝軟體進行更新 sudo apt-get update
sudo apt-get upgrade
 
安裝SSH sudo apt-get install ssh 安裝後,即可使用ssh或winscp進行遠端連線操作
安裝ftp sudo apt-get install vsftpd  
安裝Nginx sudo apt-get install nginx  
安裝mysql伺服器端 sudo apt-get install mysql-server 安裝過程中需要為mysql的root使用者佈建密碼
安裝mysql用戶端 sudo apt-get install mysql-client  
安裝php5 sudo apt-get install php5  
安裝php5-fpm sudo apt-get install php5-fpm  
安裝php5-mysql sudo apt-get install php5-mysql  
安裝php-apc sudo apt-get install php-apc  

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.