回覆列表
  • 1 # 熙熙大劇場

    Ubuntu Server Nginx+PHP+MySQL相關命令目的 命令 備註關閉伺服器 shutdown -h now shutdown -h +3 System will shutdown after 3 minutes 表示系統通知使用者將在3分鐘後關閉 重啟伺服器 shutdown -r now 對現有安裝軟體進行更新 sudo apt-get updatesudo 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

  • 中秋節和大豐收的關聯?
  • 紅豆與赤豆一樣嗎?