Linux上怎么安装一键 PHP/JAVA 安装工具OneinStack

如题所述

安装步骤:

  注意:如果有单独数据盘,建议您先挂载数据盘,建议将网站内容、数据库放在数据盘中。

yum -y install wget screen python   #for CentOS/Redhat # apt-get -y install wget screen python  #for Debian/Ubuntu wget http://aliyun-oss.linuxeye.com/oneinstack-full.tar.gz    #阿里云用户下载 wget http://mirrors.linuxeye.com/oneinstack-full.tar.gz    #包含源码,国内外均可下载 wget http://mirrors.linuxeye.com/oneinstack.tar.gz    #不包含源码,建议仅国外主机下载 tar xzf oneinstack-full.tar.gz cd oneinstack    #如果需要修改目录(安装、数据存储、Nginx日志),请修改options.conf文件 screen -S oneinstack    #如果网路出现中断,可以执行命令`screen -r oneinstack`重新连接安装窗口 ./install.sh     #注:请勿sh install.sh或者bash install.sh这样执行

  

温馨提示:答案为网友推荐,仅供参考
第1个回答  2016-03-08
进入php源程序目录中的ext目录中,这里存放着各个扩展模块的源代码,选择你需要的模块,比如curl模块:cd curl 执行phpize生成编译文件,phpize在PHP安装目录的bin目录下 /usr/local/php5/bin/phpize 运行时,可能会报错:Cannot find autoconf....本回答被提问者采纳