在centos上配置环境
- 1. 安装wget
[root@localhost ~]# yum -y install wget
- 2. 在oneinstack官网配置安装环境
wget http://mirrors.linuxeye.com/oneinstack-full.tar.gz && tar xzf oneinstack-full.tar.gz && ./oneinstack/install.sh --nginx_option 1 --apache_option 1 --php_option 5 --phpcache_option 1 --php_extensions redis --phpmyadmin --tomcat_option 2 --jdk_option 2 --db_option 2 --dbinstallmethod 1 --dbrootpwd 123456 --pureftpd --redis --memcached --iptables --ssh_port 22 –reboot
最终效果(此配置环境用时约2小时):
####################Congratulations########################
Total OneinStack Install Time: 38 minutes
Nginx install dir: /usr/local/nginx
Apache install dir: /usr/local/apache
Tomcat install dir: /usr/local/tomcat
Database install dir: /usr/local/mysql
Database data dir: /data/mysql
Database user: root
Database password: 123456
PHP install dir: /usr/local/php
Opcache Control Panel URL: http://10.0.43.100/ocp.php
Pure-FTPd install dir: /usr/local/pureftpd
Create FTP virtual script: ./pureftpd_vhost.sh
phpMyAdmin dir: /data/wwwroot/default/phpMyAdmin
phpMyAdmin Control Panel URL: http://10.0.43.100/phpMyAdmin
redis install dir: /usr/local/redis
memcached install dir: /usr/local/memcached
Index URL: http://10.0.43.100/
Connection closing...Socket close.
Connection closed by foreign host.
Disconnected from remote host(虚拟机) at 17:11:21.
Type `help' to learn how to use Xshell prompt.
最新文章
- [转] 如何设置Eclipse的上网代理
- JS实现有点炫的图片展示效果-图片解体和组合
- WampServe修改默认网站目录的方法(转)
- [内核同步]Linux内核同步机制之completion
- UVA 12373 Pair of Touching Circles
- hadoop之eclipse环境的配置
- Maven仓库详解
- Java课程设计-随机密码生成器
- 【OpenCV-Python:实现人脸、人眼、嘴巴识别】实战(一)
- java中的“空格”用trim()无法去除?原来是这样!
- Android Studio Termanal打不开,提示java.io.IOEXception:couldn't create PTY
- MySQL数据库(四)多表查询
- python笔记---数据基础类型
- tkinter内嵌Matplotlib系列(二)之函数曲线绘制
- 【JVM】Class结构之常量池
- 2、Arx二次开发创建第一个应用程序
- SRM 619
- 《Spring1之第八次站立会议》
- substring()方法到底做了什么?不同版本的JDK中是否有区别?为什么?
- juery中循环遍历json数组