- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
lamp搭建步骤(灯搭建步骤)
lamp搭建步骤(灯搭建步骤)
# 联网状态下
# 1. [root @ localhost ~] # Yum update check.
# 2. [root @ localhost ~] # Yum install httpd PHP MySQL server PHP MySQL PHP GD - Y Service httpd restaart
# sudo - S
# lang = C
# Yum and install GCC GCC - C + + Autoconf libjpeg libjpeg devel libpng libpng devel freetype freetype devel libxml2 libxml2 devel zlib zlib devel glibc glibc devel glib2 glib2 devel bzip2 compressed devel ncurses ncurses devel curl curl devel e2fsprogs e2fsprogs devel krb5 krb5 devel libidn libidn devel OpenSSL OpenSSL devel openldap openldap devel NSS LDAP openldap - _ openldap clients servers
1、安装apache
MKDIR / usr / local / webserver
Tar zxvf httpd-2.2.9.tar.gz
CD httpd - 2.2.9
. / configure -- prefix = / usr / local / webserver / httpd
Make
Make install
启动apache
/ usr / local / webserver / httpd / bin / apachectl start
网页访问: http: / / IP /
2、编译安装mysql 5.0.41
# Yum install ncurses ncurses devel 默认在联网情况下
Tar zxvf ncurses-5.6.tar.gz
CD ncurses - 5.6
. / configure -- prefix = / usr - with shared without debug
Make
Make install
/ usr / SBIN / groupadd MySQL / 增加mysql组
/ usr / SBIN / useradd - G MySQL MySQL / 在mysql组下增加mysql帐号
Tar zxvf mysql-5.0.41.tar.gz
CD mysql-5.0.41 /
. / configure -- prefix = / usr / local / webserver / MySQL / -- enable assembler -- with extra charset = complex -- enable thread safe client -- with big tables -- with readLine -- with SSL -- with embedded server - enable local infile -- with plugins = innobase
Make make install
Chmod + W / usr / local / webserver / MySQL
Chown - R MySQL: MySQL / usr / local / webserver / MySQL
CD /
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
附: 以下为附加步骤, 如果你想在这台服务器上运行mysql数据库, 则执行以下几步.
如果你只是希望让php支持mysql扩展库, 能够连接其他服务器上的mysql数据库,
那么, 以下两步无需执行.
①、创建mysql数据库存放目录
MKDIR - P / Data0 / MySQL / 3306 / data /
MKDIR - P / Data0 / MySQL / 3306 / binlog /
MKDIR - P / Data0 / MySQL / 3306 / relaylog /
Chown - R
您可能关注的文档
- 5.4推荐作品(5.4 recommended works).doc
- 500-实华学校2010年精神文明工作计划(500- Shihua school 2010 work plan of spiritual civilization).doc
- 4s店售后管理制度(The 4S shop customer service management system).doc
- 50种酱汁做法(50 sauces).doc
- 555大全(555 books).doc
- 58中庸8二十一至二十四章(58, moderation, 8, twenty-one to twenty-four chapters).doc
- 57-《在日常教育教学中如何全面开展和落实安全教育》(57- how to carry out and carry out safety education in daily education and teaching).doc
- 4s店配件管理(The 4S shop management of spare parts).doc
- 55万注册会计师考生再陷改分门 中注协沉默(550 thousand CPA candidates to the AICPA silent door again).doc
- 58句接见客户必用的商务句子(The 58 sentence is the business sentence that meets the client's needs).doc
- lamp搭建(灯搭建).doc
- learnsite平台搭建说明(LearnSite平台搭建说明).doc
- led显示屏原理与维护3(LED display principle and maintenance 3).doc
- led驱动电源方案大全(LED drive power program Daquan).doc
- liaoning(辽宁).doc
- lilo.conf 中文手册(Lilo.conf Chinese Manual).doc
- linux 创建和使用库静态、共享和动态(Linux creates and uses libraries static, shared, and dynamic).doc
- linux 指令大全.5(Linux instruction Daquan.5).doc
- linux for cisco 日志服务器搭建(Linux的思科日志服务器搭建).doc
- linux 指令大全2(Linux instruction Daquan 2).doc
文档评论(0)