摘要: #查看主机名 host=$(hostname) # 修改字符集,否则可能报 input/output error的问题,因为日志里打印了中文 localedef -c -f UTF-8 -i zh_CN zh_CN.UTF-8 export LC_ALL=zh_CN.UTF-8 echo 'LANG 阅读全文
posted @ 2020-09-10 17:43 love19791125 阅读(328) 评论(0) 推荐(0) 编辑
摘要: #设置主机名 hostnamectl set-hostname oracle #yum安装 yum -y install unzip vim* bash-completion bash-completion-extras nmap tree dos2unix nc wget lsof tcpdump 阅读全文
posted @ 2020-09-10 16:49 love19791125 阅读(737) 评论(0) 推荐(0) 编辑
摘要: #关闭防火墙 systemctl stop firewalld systemctl status firewalld systemctl disable firewalld #关闭SElinux sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/ 阅读全文
posted @ 2020-09-10 16:18 love19791125 阅读(321) 评论(0) 推荐(0) 编辑