User Tools

Site Tools


Sidebar

Go Back

Refresh

You are not allowed to add pages

library:centos:commands

Centos 常用命令

防火墙

CentOS 7.0默认使用的是firewall作为防火墙

查看防火墙状态
firewall-cmd --state

停止firewall
systemctl stop firewalld.service

禁止firewall开机启动
systemctl disable firewalld.service
中文支持
export LC_ALL=zh_CN.GB2312;export LANG=zh_CN.GB2312
英文
export LC_ALL=en_US.UTF-8;export LANG=en_US.UTF-8  
library/centos/commands.txt · Last modified: 2020/06/02 10:03 by lhaosen