User Tools

Site Tools


Sidebar

Go Back

Refresh

You are not allowed to add pages

Direct Link

library:centos:commands

This is an old revision of the document!


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  
sudo fdisk -l
library/centos/commands.1657878450.txt.gz · Last modified: 2022/07/15 17:47 by lhaosen