|
HTTP,MySQL,google,Apache,PHP,SEO,百度,FTP,Linux,域名注册,Server,Amazon,浏览器,开源,淘宝,免费软件,知识产权,中国搜索,爬虫,搜索引擎,FTP Jail,vsFTPD,qihoobot,BadBot,Ports,Network,Remove Pass-phase,SSL,Installation,缓存
| 阅读上一个主题 :: 阅读下一个主题 |
| 留言 |
|
Apache and php installation
|
|
| |
|
发布人: Mrs LA
发布于: 2008/06/23, 8:06 pm
|
|
|
Assume the base folder is /srv/
Apache Installation
More apache configuration
http://httpd.apache.org/docs/2.2/programs/configure.html#configurationoptions
| 代码: |
| ./configure --prefix=/srv/httpd --enable-so --enable-mods-shared=all --enable-modules=all --with-mpm=prefork --enable-ssl --enable-deflate --enable-expires --enable-rewrite |
Last build configure information can be found in build directory. config.nice
GD Installation
| 代码: |
| ./configure --prefix=/srv/gd
make
make install |
PHP installation
| 代码: |
| ./configure --prefix=/srv/php --with-apxs2=/srv/httpd/bin/apxs --with-mysql=/srv/mysql --with-gd=/srv/gd --with-jpeg-dir=/usr/lib --with-ttf --with-zlib --with-png-dir=/usr/lib --with-freetype-dir=/srv/gd/freetype --enable-mbstring --enable-zip --with-zlib --with-zlib-dir=/usr/local/lib --with-gettext --enable-ftp --with-zlib --enable-pdo=shared --with-pdo-sqlite=shared --with-sqlite=shared
make
make install
|
More on:
http://www.php.net/manual/en/install.unix.php
Apache 2.2 has mod_ssl as build in module
Need to check http://httpd.apache.org/docs/2.2/new_features_2_2.html
lot of modules, like mod_access, their name has been changed
MySQL Post Installation Tasks
| 代码: |
| shell> mysql -u root
mysql> DROP USER '';
mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('newpwd');
mysql> SET PASSWORD FOR 'root'@'host_name' = PASSWORD('newpwd');
|
|
_________________ 支持洛杉矶华人,点评洛杉矶华人商家
|
|
|
返回页首
|
|
 |
|
热门标签: HTTP(8), MySQL(8), google(6), Apache(5), PHP(4), SEO(4), 百度(3), FTP(2), Linux(2), 域名注册(2), Server(2), Amazon(1), 浏览器(1), 开源(1), 淘宝(1), 免费软件(1), 知识产权(1), 中国搜索(1), 爬虫(1), 搜索引擎(1), FTP Jail(1), vsFTPD(1), qihoobot(1), BadBot(1), Ports(1), Network(1), Remove Pass-phase(1), SSL(1), Installation(1), 缓存(1)
|
|