centos 7 安装和基本配置

U盘安装centos 7
还是官方文档最准确。

  1. 下载centos
    https://docs.centos.org/en-US/centos/install-guide/downloading/
  2. 制作安装盘
    https://docs.centos.org/en-US/centos/install-guide/Making_Media_USB_Windows/
  3. 引导安装
    https://docs.centos.org/en-US/centos/install-guide/Boot_x86/#sect-installation-starting-x86
    我安装过程中还有一个问题,
    会提示更新microcode到某个版本,每个电脑可能不一样,好像是跟CPU相关的东西。
    确保安装的时候电脑是可以联网的就好了,安装的时候回自动下载更新的。
    ----
    到有图形化界面的时候,就没啥好说的了。
    完成之后,首先配置一下网络吧。不然啥都干不了
    https://blog.51cto.com/simonhu/1588971

查看系统版本

cat /etc/redhat-release

查看配置ip

  1. ifconfig --需要yum install net-tools 先
  2. ip addr
  3. vi etc/sysconfig/netword-scripts/ifcfg-xx
  4. yum install net-tools

    替换默认源

  5. 先安装wget,
    yum install wget
  6. 等会下载repo文件的时候:
    wget http://mirrors.163.com/.help/CentOS7-Base-163.repo
  7. 默认的是国外的,一般比较慢,换成国内的好一点,这个是163的里面有详细的步骤:http://mirrors.163.com/.help/centos.html
  8. 安装vim体验一下国内源的速度
    yum install vim

至此 centos 7 安装和基本配置完毕

猜你喜欢

转载自www.cnblogs.com/Mr-O-O/p/10705258.html