Redhat8的下载和安装
Redhat8和redhat9的下载和安装
镜像下载和基础环境配置
链接:https://pan.baidu.com/s/1w7igzqQB3btwq-ZzTUk8oA?pwd=fc4u
提取码:fc4u
Red Hat Enterprise Linux 8 for Development | Red Hat Developer
生产环境当中一定要进行镜像校验……
# 因redhat的网络源需要付费订阅,那我们就配置本地YUM源就好了,够用。
[root@R8 ~]# mkdir /media/cdrom
[root@R8 ~]# mount RHEL-8.0-x86_64-dvd.iso /media/cdrom/
[root@R8 yum.repos.d]# cat local.repo
[media-baseos]
name=CentOS Stream $releasever - Media - BaseOS
baseurl=file:///media/cdrom/BaseOS/
gpgcheck=0
enabled=1
[media-appstream]
name=CentOS Stream $releasever - Media - AppStream
baseurl=file:///media/cdrom/AppStream/
gpgcheck=0
enabled=1
[root@R8 yum.repos.d]# yum update
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
CentOS Stream 8 - Media - AppStream 255 MB/s | 5.3 MB 00:00
CentOS Stream 8 - Media - BaseOS 216 MB/s | 2.2 MB 00:00
依赖关系解决。
无需任何处理。
完毕!
# 安装一些基础软件,其中bash-completion是用来自动补全的
[root@R8 ~]# yum -y install vim net-tools bash-completion tree lrzsz nmap
# 补全安装完之后需要通过重新读取配置文件来生效
[root@R8 ~]# source /etc/profile.d/bash_completion.sh
- 网络配置
- 第一个办法就是通过nmcli进行配置
- 第二个办法是通过yum -y install network-scripts,然后通过systemctl restart network这种方式进行配置