首頁  >  文章  >  後端開發  >  linux nginx輕量級伺服器 - 安裝篇

linux nginx輕量級伺服器 - 安裝篇

WBOY
WBOY原創
2016-08-08 09:31:13882瀏覽

linux 下方安裝nginx:

1. 安裝gcc / g++

# apt-get  ll build-ession

# apt-get  2. 安裝openssl:

# apt-get  install openssl

# apt-get  install libssl-dev

# apt-get  install libssl-dev 下載原始碼:http://download.csdn .net/detail/wei_xiaox126/8304511

解壓:tar xvf  .... install

4. 官網下載nginx 原始碼包  http://nginx.org/

    nginx-1.6.1  本地下載:http://download.csdn.net/detail/wei_xiaox126/8304547  # tar xvf ...

# ./configure --prefix='your  path'

.

# cd 'your path/sbin'

# cd 'your path/sbin'

# ./nginx

welcom to nginx ! 以上就介紹了linux nginx輕量級伺服器 - 安裝篇,包括了方面的內容,希望對PHP教程有興趣的朋友有所幫助。

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn