在centos上配置环境

前端之家收集整理的这篇文章主要介绍了在centos上配置环境前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
  1. 1.   安装wget

[[email protected] ~]# yum -y install wget

  1. 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 minutesNginx install dir:              /usr/local/NginxApache install dir:             /usr/local/apacheTomcat install dir:             /usr/local/tomcatDatabase install dir:           /usr/local/MysqLDatabase data dir:              /data/MysqLDatabase user:                  rootDatabase password:              123456PHP install dir:                /usr/local/PHPOpcache Control Panel URL:      http://10.0.43.100/ocp.PHPPure-FTPd install dir:          /usr/local/pureftpdCreate FTP virtual script:      ./pureftpd_vhost.shPHPMyAdmin dir:                 /data/wwwroot/default/PHPMyAdminPHPMyAdmin Control Panel URL:   http://10.0.43.100/PHPMyAdminredis install dir:              /usr/local/redismemcached install dir:          /usr/local/memcachedIndex 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.

猜你在找的CentOS相关文章