新增:《CentOS 8.2 安装 JDK 1.8.0_202》(修复文章最后更新时间永远为最后一次commit时间的问题)

This commit is contained in:
2022-10-23 12:25:56 +08:00
parent 6fc91cd8b2
commit 30736ef9ab
5 changed files with 147 additions and 11 deletions

View File

@@ -46,7 +46,11 @@ yum -y install libaio
## 下载并上传安装包
可前往 [官网](https://downloads.mysql.com/archives/community) 下载 MySQL 安装包然后上传到服务器。也可以直接在服务器内下载。
可前往 [官网](https://downloads.mysql.com/archives/community) 下载 MySQL Linux 安装包然后上传到服务器。
![202210222130166](../../../public/img/2022/10/22/202210222130166.png)
也可以直接在服务器内下载。
```shell
wget https://cdn.mysql.com/archives/mysql-5.7/mysql-5.7.39-linux-glibc2.12-x86_64.tar.gz
@@ -64,6 +68,7 @@ wget https://cdn.mysql.com/archives/mysql-5.7/mysql-5.7.39-linux-glibc2.12-x86_6
tar -zxvf mysql-5.7.39-linux-glibc2.12-x86_64.tar.gz -C /opt/disk
# 重命名目录
cd /opt/disk
mv mysql-5.7.39-linux-glibc2.12-x86_64 mysql
# 创建 MySQL 数据存储目录