一、jdk安装
1、yum -y list java* ------------查看所有jdk版本
2、yum install -y java-1.8.0-openjdk.i686 ------------------安装指定jdk,yum会使用标准方式进行下载并安装
二、mysql安装
1、wget http://dev.mysql.com/get/mysql57-community-release-el7-8.noarch.rpm ----------下载mysql的rpm文件
2、rpm -ivh mysql57-community-release-el7-8.noarch.rpm ------------------rpm安装mysql
3、yum -y install mysql-community-server ---------------------yum安装mysql服务
4、systemctl enable mysqld --------------------设置开机自启动
5、systemctl start mysqld -----------------启动mysql
标签:jdk,rpm,mysql,community,yum,linux,安装 From: https://www.cnblogs.com/wscw/p/17917856.html