download iso

https://www.centos.org/download/

[网易](http://mirrors.163.com)
[清华大学开源软件镜像站](https://mirrors.tuna.tsinghua.edu.cn/)

链接网络 (refrence)

1. vim /etc/sysconfig/network-scripts/ifcfg-网络名称

2. change to ONBOOT=yes

3. service network restart

开启sshd

service sshd restart

yum update #更新所有库到最新

vim /etc/environment

LC_ALL=en_US.UTF-8
LANG=en_US.UTF-8

config firewall

firewall-cmd --state # 防火墙状态
firewall-cmd --permanent --add-port=7722/tcp #添加端口
firewall-cmd --reload # 热重启
firewall-cmd --list-all # 所有服务/端口状态

yum -y groupinstall “Development Tools” yum install -y vim zsh wget git autoconf automake libtool zip unzip php-zip CentOS 镜像使用帮助