基础优化
shuai0845
这个作者很懒,什么都没留下…
展开
-
CentOS关闭iptables
[root@shuai~]# /etc/init.d/iptables stop临时关闭 iptables: Setting chains to policy ACCEPT: filter [OK] iptables: Flushing firewall rules: [OK] iptables: Unloading modules: [OK] [root@shuai ~]# /et...原创 2018-08-13 16:41:31 · 4046 阅读 · 0 评论 -
Linux中文显示设置
[root@shuai ~]# cat /etc/sysconfig/i18n LANG="en_US.UTF-8" SYSFONT="latarcyrheb-sun16" [root@shuai ~]# echo 'LANG="zh_CN.UTF-8"' >/etc/sysconfig/i18n [root@shuai ~]# cat /etc/sysconfig/i18n LANG...原创 2018-08-13 17:08:17 · 3521 阅读 · 1 评论 -
ubuntu关闭和开启防火墙
1、关闭ubuntu的防火墙 ufw disable 开启防火墙 ufw enable 2、卸载了iptables apt-get remove iptables 3、关闭ubuntu中的防火墙的其余命令 iptables -P INPUT ACCEPT iptables -P FORWARD ACCEPT ...原创 2018-12-02 19:36:34 · 5966 阅读 · 0 评论 -
关闭SELINUX
关闭SELinux功能 先查看SELINUX配置文件 [root@shuai ~]# cat /etc/selinux/config # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SE...原创 2018-12-02 19:37:31 · 383 阅读 · 0 评论