Open thinkuncle opened 6 years ago
公司近期又得重新配置一台ECS服务器,每次整部署环境都没有形成文档,每次都得去网上查,今天弄一个说明文档以供后面参考
ECS linux CPU: 1核 内存: 2 GB 操作系统: Aliyun Linux 17.1 64位
whereis java whereis mysql whereis redis whereis nginx
whereis java
whereis mysql
whereis redis
whereis nginx
查看阿里云java包 yum list java* 安装
yum list java*
yum install java-1.8.0-openjdk*
ok, 安装完成,查看版本
java -version
参考 #21 rpm -ivh http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm && yum -y install mysql-server mysql
下载tomcat包
chkconfig mysqld on
/etc/rc.d/init.d/mysqld start
公司近期又得重新配置一台ECS服务器,每次整部署环境都没有形成文档,每次都得去网上查,今天弄一个说明文档以供后面参考
服务器配置
ECS linux CPU: 1核 内存: 2 GB 操作系统: Aliyun Linux 17.1 64位
安装环境
检查环境
whereis java
whereis mysql
whereis redis
whereis nginx
安装java
查看阿里云java包
yum list java*
安装ok, 安装完成,查看版本
安装mysql
参考 #21 rpm -ivh http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm && yum -y install mysql-server mysql
安装tomcat
下载tomcat包
配置开机启动
查看开机启动项
使用chkconfig
修改/etc/rc.d/rc.local文件