centos7最小版配置

1. 配置启用dns

cd /etc/sysconfig/network-scripts/
vi ifcfg-ens33

# 修改ONBOOT为yes
ONBOOT=yes

2.重启系统

reboot

3.安装net-tools

yum install net-tools

4.查看ip

ifconfig

5.安装openssh、openssl 并启动

# 安装
yum install openssh*
yum -y install openssl openssl-devel patch
# 启动 
systemctl start sshd

6.ssh工具远程连接

ssh [email protected]

7.安装vim

yum install vim -y

8.安装wget

yum -y install wget 

9.安装gcc编译套件

yum install gcc

10.安装systemctl自动补全服务名称

yum install -y bash-completion

11.安装zip压缩解压工具

yum install -y unzip zip

12.安装curl

# 下载curl安装包
wget https://curl.haxx.se/download/curl-7.63.0.tar.gz
# 解压安装包
tar zxvf curl-7.53.0.tar.gz
# 切换到目录
cd curl-7.63.0/
# 编译
make
# 安装编译文件
make install
#查看安装版本
curl --version

13.安装lsof,列出当前系统打开文件的工具

yum install lsof -y

14.文件上传下载

yum -y install lrzsz

15.安装网络监听iftop

# 先安装epel-release 
yum install epel-release 
# 然后在安装iftop
yum install iftop

猜你喜欢

转载自www.cnblogs.com/lixingwu/p/12220621.html