[AutoAPM作者:张宴 版本:v1.0.5 最后修改:2007.02.19 转载请注明出处:http://blog.zyan.cc]
  
  因工作需要,编写了一个在Linux操作系统下自动从源码包编译安装Apache2.0.59、PHP5.2.1(支持freetype、libpng、jpegsrc、gd、libxml扩展)、MySQL5.0.33、ZendOptimizer3.2.2的bash脚本——AutoAPM,源代码完全公开,可根据自己的需要修改(命令行下tar zxvf autoapm-1.0.4.tar.gz解压缩后,vi autoapm即可)。
  
  脚本前列的基本配置信息说明:
  #---------------------config start-------------------------
  mysql_tar_gz_name="mysql-5.0.33.tar.gz"
  #MySQL的源码压缩包
  
  mysql_source_dir_name="mysql-5.0.33"
  #tar zxvf解压MySQL源码压缩包后的默认目录名
  
  mysql_download_url="http://www.vista.ac.cn/autoapm/src/1.0.5/mysql-5.0.33.tar.gz"
  #MySQL源码压缩包的下载网址
  #---------------------config end---------------------------
  
  使用说明:
  在Linux字符界面中用wget http://www.vista.ac.cn/autoapm/down/autoapm-1.0.5.tar.gz下载autoapm压缩包,然后用tar zxvf autoapm-1.0.4.tar.gz解压,最后输入./autoapm执行即可。
  接下来会提示要您选择源码包来源,如果当前目录中有相应的源码包,可选择Current directory.,如果没有,可选择Download from Internet.,脚本会根据配置信息中的下载地址自动下载源码包并编译安装。编译安装的时间需要20至50分钟。
  
  脚本源码:http://www.vista.ac.cn/autoapm/down/autoapm-1.0.5.src.txt
  下载地址:http://www.vista.ac.cn/autoapm/down/autoapm-1.0.5.tar.gz
  
  
  AutoAPM 1.0.5 for Linux Written by Zhang Yan, SINA Corp., Beijing, China
  
  A tool to auto-compile & install Apache, PHP, MySQL on Linux from sources
  For more information please visit http://autoapm.vista.ac.cn
  
  Usage:
  [root@sina var]# wget http://www.vista.ac.cn/autoapm/down/autoapm-1.0.5.tar.gz
  [root@sina var]# tar zxvf autoapm-1.0.5.tar.gz
  [root@sina var]# ./autoapm
  
  The path of some dirs (If install to /opt/sina):
  Apache dir: /opt/sina/apache/
  Webpages dir: /opt/sina/apache/htdocs/
  MySQL dir: /opt/sina/mysql/
  PHP dir: /opt/sina/php/
  
  The path of some files (If install to /opt/sina):
  apachectl: /opt/sina/apache/bin/apachectl
  httpd.conf: /opt/sina/apache/conf/httpd.conf
  mysql: /opt/sina/mysql/bin/mysql
  my.cnf: /etc/my.cnf
  php: /opt/sina/php/php
  php.ini: /opt/sina/php/etc/php.ini (Before install ZendOptimizer?)
  php.ini: /opt/sina/zend/etc/php.ini (After install ZendOptimizer?)
  
  Restart Apache: service httpd restart
  Restart MySQL: service mysql restart
  

  更新记录:
  2007.01.19 AutoAPM v1.0.5 修正了源码包下载链接
  2007.01.15 AutoAPM v1.0.4 第一个公开版本
  

Tags:



技术大类 » Web服务器 | 评论(52) | 引用(0) | 阅读(49446)
http://www.billig-e-vaeske.dk/ Email Homepage
2013-10-16 03:48
http://www.billig-e-vaeske.dk/
django Email Homepage
2013-11-30 19:17
Uggs Sale the ideal idea Coach Outlet Online  enough time to search for many of reduction Ugg boot. Like big portions? If you began ready your apartment, Coach Outlet  it's always best to consider the most effective way direct to the stage it could be to utilise your inventory throughout Coach Factory Outlet  concern, or maybe you basically won't destination stuff not enough.we're anti- whitening tray because Coach Outlet Online  i will be enjoy just get germ dog breeders
EE
2014-2-25 14:18
Great blog. All posts have something to learn. Your work is very good and i appreciate you and hopping for some more informative posts.
IDRpoker.com Agen Texas Poker Online Indonesia Terpercaya | IDRpoker.com Agen Texas Poker Online Indonesia Terpercaya | Alfamart official partner merchandise FIFA piala dunia Brazil 2014
shz Email
2022-7-19 03:11
This website and I conceive this internet site is really informative ! Keep on putting up!  Scam Risk
shz Email
2022-7-19 03:16
This is also a very good post which I really enjoyed reading. It is not every day that I have the possibility to see something like this..  Scam Risk
shzz Email
2022-7-19 03:19
Very informative post ! There is a lot of information here that can help any business get started with a successful social networking campaign !  Scam Risk
shz Email
2022-7-19 03:20
I am impressed by the information that you have on this blog. It shows how well you understand this subject.  Scam Risk
shzz Email
2022-7-19 03:22
The next time I read a blog, I hope that it doesnt disappoint me as much as this one. I mean, I know it was my choice to read, but I actually thought you have something interesting to say. All I hear is a bunch of whining about something that you could fix if you werent too busy looking for attention.  Scam Risk
shz Email
2022-7-19 03:23
Excellent Blog! I would like to thank for the efforts you have made in writing this post. I am hoping the same best work from you in the future as well. I wanted to thank you for this websites! Thanks for sharing. Great websites!  Scam Risk
shz Email
2022-7-19 03:27
I feel very grateful that I read this. It is very helpful and very informative and I really learned a lot from it.  Scam Risk
shzz Email
2022-7-19 03:33
You completed certain reliable points there. I did a search on the subject and found nearly all persons will agree with your blog.  Scam Risk
Lucky cola
2024-2-7 13:50
Elevate your gaming skills to new heights.  Lucky cola
分页: 3/3 第一页 上页 1 2 3 最后页
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]