1、安装JDK
链接:
https://blog.youkuaiyun.com/pdsu161530247/article/details/81582980
https://www.cnblogs.com/gaodi2345/p/11707559.html
2、安装Linux上传下载命令
yum源安装:
- yum install -y lrzsz // yum 安装完毕之后可以直接rz尝试使用
链接:
https://www.cnblogs.com/pipiyan/p/10471242.html
3、安装vim
yum源安装:
- yum install -y vim*
链接:
https://blog.youkuaiyun.com/weixin_44846723/article/details/112767919
4、安装Maven
链接:
https://blog.youkuaiyun.com/qq_38270106/article/details/97764483
5、安装MySQL
链接:
Linux安装MySQL8.0启动报错解决办法: https://www.cnblogs.com/kaishirenshi/p/12667004.html
my.cnf
[mysqld]
# 设置3306端口
port=3306
# 设置mysql的安装目录
basedir=/usr/local/software/mysql/mysql-8.0.20
# 设置mysql数据库的数据的存放目录
datadir=/usr/local/software/mysql/mysql-8.0.20/data
# 允许最大连接数
max_connections=200
# 允许连接失败的次数。
max_connect_errors=10
# 服务端使用的字符集默认为
character-set-server=utf8
# 创建新表时将使用的默认存储引擎
default-storage-engine=INNODB
# 默认使用“mysql_native_password”插件认证
#mysql_native_password
default_authentication_plugin=mysql_native_password
sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
[mysql]
# 设置mysql客户端默认字符集
default-character-set=utf8
[client]
# 设置mysql客户端连接服务端时默认使用的端口
port=3306
default-character-set=utf8
6、Linux开机自动执行脚本
链接:
https://my.oschina.net/u/3285916/blog/1622358
7、使用yum下载资源包
yum -y install gcc --downloadonly --downloaddir=/tmp/
8、统一安装RPM包
rpm -Uvh *.rpm --nodeps --force