摘要: 1.将jdk上传至/opt/soft下 2.在shell目录下创建install_java.sh 3.脚本内容如下: #!/bin/bash # Author: zhangdc# DESC: 部署配置java echo "解压源文件"tar -zxvf /opt/soft/jdk-8u211-lin 阅读全文
posted @ 2021-01-08 17:47 ToBeContinue得 阅读(285) 评论(0) 推荐(0) 编辑
摘要: 1.在/opt目录下创建shell文件夹,创建install_base.sh 2.脚本内容如下: #!/bin/bash # Author: zhangdc# DESC: 系统初始化设置:selinux,ulimit,firewalld,time_zone # set selinuxset_seli 阅读全文
posted @ 2021-01-08 16:49 ToBeContinue得 阅读(424) 评论(0) 推荐(0) 编辑
摘要: 1.查看防火墙状态 systemctl status firewalld.service 2.关闭防火墙 systemctl stop firewalld.service 3.禁止防火墙开机启动 systemctl disable firewalld.service 阅读全文
posted @ 2021-01-08 09:29 ToBeContinue得 阅读(72) 评论(0) 推荐(0) 编辑