Linux最小化安装后配置(Centos7常用组件)

1.安装必要软件

yum install net-tools.x86_64 #安装ifconfig ping
yum install lrzsz #安装文件上传软件
yum install wget  #安装下载软件
yum install -y openssh-server #安装远程监控软件

2.远程监控配置:

rpm -qa | grep ssh #查看ssh是否安装
yum install openssh-server #安装openssh-server
/usr/sbin/sshd status #检测ssh服务是否启动  start 启动 stop关闭  restart 重启
etstat -antp | grep sshd #查看22端口是否启动
systemctl enable sshd #设置为开机启动 

3.关闭防火墙 设置防火墙默认关闭

#vi /etc/selinux/config   #SELINUX=enforcing--->SELINUX=disable
systemctl stop firewalld
systemctl disable firewalld

4.centos 安装python-pip

yum -y install epel-release #epel扩展源:
yum -y install python-pip  安装pip

5.centos安装python3
https://www.cnblogs.com/FZfangzheng/p/7588944.html

linux网络设置:
https://blog.csdn.net/wangfengtong/article/details/72780694

持续更新中….

猜你喜欢

转载自blog.csdn.net/sinat_34789167/article/details/81128870