偷偷摘套内射激情视频,久久精品99国产国产精,中文字幕无线乱码人妻,中文在线中文a,性爽19p

CentOS Apache安裝設(shè)置編譯器及編譯參數(shù)

系統(tǒng) Linux
設(shè)置CentOS Apache安裝目錄。這里設(shè)定安裝在/usr/local/apache2下,今后如果要卸載或者升級(jí)CentOS Apache時(shí),直接刪除這個(gè)目錄即可。

CentOS Apache安裝還是比較常用的,于是我研究了一下CentOS Apache安裝,在這里拿出來和大家分享一下,希望對(duì)大家有用。CentOS是一個(gè)開源軟件貢獻(xiàn)者和用戶的社區(qū)。下面介紹CentOS Apache安裝。

1、下載:apache2.2.4
[root@localhost ~]# cd /usr/local/src/
[root@localhost src]#  wget
http://archive.apache.org/dist/httpd/httpd-2.2.4.tar.gz
[root@localhost src]# chmod +x httpd-2.2.4.tar.gz
[root@localhost src]# tar -zxvf httpd-2.2.4.tar.gz

2、CentOS Apache安裝設(shè)置編譯器的編譯參數(shù)
[root@localhost src]# cd httpd-2.2.4
[root@localhost httpd-2.2.4]# ./configure --prefix=/usr/local/apache2 --enable-so --enable-rewrite=share --enable-proxy=share --enable-proxy-ajp=share --enable-dav=share --enable-dav-fs
#注解:
--prefix=/usr/local/apache2 
設(shè)置CentOS Apache安裝目錄。這里設(shè)定安裝在/usr/local/apache2下,今后如果要卸載或者升級(jí)CentOS Apache時(shí),直接刪除這個(gè)目錄即可。
--enable-so 
指定允許DSO(動(dòng)態(tài)共享對(duì)像)
--enable-rewrite=share 
開啟Rewrite支持,以實(shí)現(xiàn)URL靜態(tài)化,建議開啟。
--enable-dav-fs
開啟WebDAV支持,svn服務(wù)器等需要。附:《什么是webDAV?及如何應(yīng)用?
其它的額外設(shè)置請(qǐng)使用./configure --help來查看。

3、CentOS Apache安裝和編譯:
[root@localhost httpd-2.2.4]# make; make install
#如果沒有錯(cuò)誤的話,那么Apache就已經(jīng)安裝在/usr/local/apache2目錄中了

4、啟動(dòng)服務(wù):
[root@localhost httpd-2.2.4]# /usr/local/apache2/bin/apachectl start

5、確定啟動(dòng)狀:
[root@localhost apache2]# netstat -utl
#看到上面這行就表示你的CentOS Apache已經(jīng)啟動(dòng)。
#用瀏覽器訪問,看到It works!,說明CentOS Apache安裝成功了,恭喜您!

【編輯推薦】

  1. CentOS Mysql安裝與系統(tǒng)建立用戶組
  2. CentOS4.4系統(tǒng)基本安全設(shè)置
  3. centos vsftpd虛擬文件進(jìn)行讀取
  4. 常用CentOS vsftpd安裝設(shè)置講解
  5. CentOS安裝配置安裝相關(guān)系統(tǒng)
責(zé)任編輯:佚名 來源: CSDN
相關(guān)推薦

2010-01-14 16:46:13

CentOS Mysq

2010-02-22 16:09:18

CentOS安裝

2010-07-29 14:18:57

Flex編譯器參數(shù)

2010-03-02 10:55:47

Linux SkyEy

2010-02-24 16:49:24

Fedora SkyE

2010-01-14 16:53:40

CentOS Apac

2010-01-18 10:34:21

C++編譯器

2010-01-21 09:11:38

C++編譯器

2011-01-06 11:36:00

linuxGCC編譯器

2009-01-12 10:16:11

Visual C++編譯器選項(xiàng)設(shè)置

2010-10-20 13:43:37

C++編譯器

2019-08-06 08:20:07

編譯器工具開發(fā)者

2009-08-10 17:12:54

C#編譯器

2017-03-20 18:01:55

編譯器匯編

2013-03-29 10:02:37

編譯器語(yǔ)言編譯開發(fā)

2010-03-23 11:17:16

Python 動(dòng)態(tài)編譯

2010-01-12 16:42:59

C++編譯器

2010-01-13 15:53:11

CentOS vsft

2011-03-29 14:44:24

LAMP安裝

2011-02-24 15:04:58

ProftpdCentos
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)