1 民主党新提案:无证移民若满足这些条件,或可申请绿卡
2 女子洛杉矶开保时捷撞死人后逃逸!警探:她是知名妓女
3 国务院暂停绿卡发放 这类人受影响
4 卫生不达标!洛杉矶县卫生局关停这些餐厅!多家中餐上榜
5 强力球头奖又落空!奖金升至17亿美元!南加两人中98万
6 独享强力球$13亿?数学家:千万别用生日选号!这些策略将中奖几率“最大化”
7 ICE突袭现代工厂 475人被捕!韩方:强烈关切
8 移民局扩权:可携枪、可逮捕、可快速遣返!绿卡与签证审查或更严苛
9 加州疫情再起,官员呼吁公共场合重新戴口罩
10 重磅!亚马逊Prime会员新规:不同住址不再免费送货
MySQL,HTTP,PHP,SEO,请MRS LA帮忙,帖子,Apache,提问,使用说明,Linux,如何删我自己帖?,删贴,封账号,商家点评,全新,vsFTPD,FTP,Server,如何,删除账户,转换网页,报价通,图片上传,dns问题,请版主解答,对改版失望。。。。。,CID字库,无奈,繁简字对照表,求助。。。
Apache and php installation
Assume the base folder is /srv/ Apache Installation More apache configurationhttp://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 Download GD libraryhttp://www.libgd.org
代码:
./configure --prefix=/srv/gd make make install
MySQL Installation
代码:
shell> groupadd mysql shell> useradd -g mysql mysql shell> cd /usr/local shell> gunzip < /path/to/mysql-VERSION-OS.tar.gz | tar xvf - shell> ln -s full-path-to-mysql-VERSION-OS mysql shell> cd mysql shell> chown -R mysql . shell> chgrp -R mysql . shell> scripts/mysql_install_db --user=mysql shell> chown -R root . shell> chown -R mysql data shell> bin/mysqld_safe --user=mysql &
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');
谁点了赞
_________________ 洛杉矶华人资讯网-华人资讯,一网打尽
点评这篇文章