为了能更快捷的安装和部署环境,编写的自动化安装脚本,包含如下程序:
- nodejs 4.5
- mongodb 3.0.12
- redis 3.0
- jdk 1.8
- maven 3.3.9
- tomcat 8.5.5 8080端口
- git
- lsof
默认安装目录
$ /home/yf
$ git clone https://github.com/team4yf/yf-fpm-server-installscript-centos.git
$ cp yf-fpm-server-installscript-centos/yfci.sh /usr/bin/yfci
$ chmod +x yfci
$ yfci install
$ cd /home/yf
可以查看相应的程序已经安装完毕了
$ yfci startup
通过数据可以查看到2个数据库已经正常启动了