Atopos

导航

Linux系统安全优化与防止系统乱码优化

1.Linux系统安全优化

1、selinux

2、firewalld
   systemctl disable --now firewalld
   --now : 立即执行
firewalld   --->  iptables  ---> 系统安全框架
安全组
vpn iptables

2.防止系统乱码优化

1.编码:
en_US.UTF-8		: 美式英文,utf-8
zh_CN.UTF-8
zh_HK.UTF-8

2.临时优化:
export LANG=zh_CN.UTF-8  : 设置编码

3.永久优化:
vim /etc/locale.conf

posted on 2021-12-16 20:22  Atopos_q  阅读(17)  评论(0)    收藏  举报