linux——centos系统安装后的基本配置
centos系统安装后的基本配置
1.常用软件安装:
yum install -y bash-completion vim lrzsz wget expect net-tools nc nmap tree dos2unix htop iftop iotop unzip telnet sl psmisc nethogs glances bc
2.主机名和网络
hostnamectl set-hostname python3 echo "10.0.0.100 python3">>/etc/hosts
3.关闭防火墙
iptables -L iptables -F systemctl disable firewalld
[root@python3 ~]# getenforce
Enforcing
[root@python3 ~]# setenforce 0
[root@python3 ~]# getenforce
[root@python3 ~]# vim /etc/selinux/config

浙公网安备 33010602011771号