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
View Code

2.主机名和网络

 hostnamectl set-hostname python3
 echo "10.0.0.100 python3">>/etc/hosts
View Code

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

 

 

posted @ 2019-01-03 18:17  粗糙的丸子  阅读(54)  评论(0)    收藏  举报