ubuntu 18.04 LTS 安裝nginx-1.14.0


  1. 更新ubuntu18.04LTS到最新;
  2. Nginx官網下載nginx-1.14.0穩定版;
  3. 安裝相關依賴 makegccg++openssllibssl-devzlib1gzlib1g-dev或者到相關官網下載源碼編譯;
  4. 解壓下載的nginx包 tar -xvf nginx-1.14.0
  5. 進入解壓出的nginx-1.14.0文件夾 cd nginx-1.14.0
  6. 配置使用的相關設置 ./configure prefix=/usr/local/nginx --with-http_ssl_module --with-pcre
  7. 執行make && make install
  8. 進入/user/local/nginx/sbin/目錄下執行./nginx(相關配置可在/usr/local/nginx/conf/nginx.conf處修改)
  9. 完成截圖

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM