当前位置:网站首页>Install rhel8.2 virtual machine
Install rhel8.2 virtual machine
2022-07-05 12:50:00 【Grey rain】
Install virtual machine
download rhel-8.2-x86_64-dvd.iso
install vwmare
New virtual machine , Customize
Then name , Select installation location
The processor is configured according to your computer
Memory, too
Choose the network mode according to your own needs
Create a virtual disk , Allocate space according to the size of your computer
choice ISO file , And turn on the virtual machine , Choose start installation
Choice language ( My Chinese ), determine source and system, Click on install
Set up root User's password
And you can set up an ordinary user , Wait for a few minutes
Restart automatically after installation
installation is complete
Write static routing ,ssh Remote connection
cd /etc/sysconfig/network-scripts/
vi ifcfg-ens160
Change
ONBOOT=yes
BOOTPROTO=static
Write ( Write according to your network card )
IPADDR=192.168.91.100
NETMASK=255.255.255.0
GATEWAY=192.168.91.2
DNS1=192.168.91.2
Restart the virtual machine , utilize ssh Remote connection
install yum and vim
[base]
name=CentOS- r e l e a s e v e r − B a s e − m i r r o r s . a l i y u n . c o m f a i l o v e r m e t h o d = p r i o r i t y b a s e u r l = h t t p s : / / m i r r o r s . a l i y u n . c o m / c e n t o s / releasever - Base - mirrors.aliyun.com failovermethod=priority baseurl=https://mirrors.aliyun.com/centos/ releasever−Base−mirrors.aliyun.comfailovermethod=prioritybaseurl=https://mirrors.aliyun.com/centos/releasever/BaseOS/ b a s e a r c h / o s / h t t p : / / m i r r o r s . a l i y u n c s . c o m / c e n t o s / basearch/os/ http://mirrors.aliyuncs.com/centos/ basearch/os/http://mirrors.aliyuncs.com/centos/releasever/BaseOS/ b a s e a r c h / o s / h t t p : / / m i r r o r s . c l o u d . a l i y u n c s . c o m / c e n t o s / basearch/os/ http://mirrors.cloud.aliyuncs.com/centos/ basearch/os/http://mirrors.cloud.aliyuncs.com/centos/releasever/BaseOS/$basearch/os/
gpgcheck=1
gpgkey=https://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-Official
#additional packages that may be useful
[extras]
name=CentOS- r e l e a s e v e r − E x t r a s − m i r r o r s . a l i y u n . c o m f a i l o v e r m e t h o d = p r i o r i t y b a s e u r l = h t t p s : / / m i r r o r s . a l i y u n . c o m / c e n t o s / releasever - Extras - mirrors.aliyun.com failovermethod=priority baseurl=https://mirrors.aliyun.com/centos/ releasever−Extras−mirrors.aliyun.comfailovermethod=prioritybaseurl=https://mirrors.aliyun.com/centos/releasever/extras/ b a s e a r c h / o s / h t t p : / / m i r r o r s . a l i y u n c s . c o m / c e n t o s / basearch/os/ http://mirrors.aliyuncs.com/centos/ basearch/os/http://mirrors.aliyuncs.com/centos/releasever/extras/ b a s e a r c h / o s / h t t p : / / m i r r o r s . c l o u d . a l i y u n c s . c o m / c e n t o s / basearch/os/ http://mirrors.cloud.aliyuncs.com/centos/ basearch/os/http://mirrors.cloud.aliyuncs.com/centos/releasever/extras/$basearch/os/
gpgcheck=1
gpgkey=https://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-Official
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS- r e l e a s e v e r − P l u s − m i r r o r s . a l i y u n . c o m f a i l o v e r m e t h o d = p r i o r i t y b a s e u r l = h t t p s : / / m i r r o r s . a l i y u n . c o m / c e n t o s / releasever - Plus - mirrors.aliyun.com failovermethod=priority baseurl=https://mirrors.aliyun.com/centos/ releasever−Plus−mirrors.aliyun.comfailovermethod=prioritybaseurl=https://mirrors.aliyun.com/centos/releasever/centosplus/ b a s e a r c h / o s / h t t p : / / m i r r o r s . a l i y u n c s . c o m / c e n t o s / basearch/os/ http://mirrors.aliyuncs.com/centos/ basearch/os/http://mirrors.aliyuncs.com/centos/releasever/centosplus/ b a s e a r c h / o s / h t t p : / / m i r r o r s . c l o u d . a l i y u n c s . c o m / c e n t o s / basearch/os/ http://mirrors.cloud.aliyuncs.com/centos/ basearch/os/http://mirrors.cloud.aliyuncs.com/centos/releasever/centosplus/$basearch/os/
gpgcheck=1
enabled=0
gpgkey=https://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-Official
[PowerTools]
name=CentOS- r e l e a s e v e r − P o w e r T o o l s − m i r r o r s . a l i y u n . c o m f a i l o v e r m e t h o d = p r i o r i t y b a s e u r l = h t t p s : / / m i r r o r s . a l i y u n . c o m / c e n t o s / releasever - PowerTools - mirrors.aliyun.com failovermethod=priority baseurl=https://mirrors.aliyun.com/centos/ releasever−PowerTools−mirrors.aliyun.comfailovermethod=prioritybaseurl=https://mirrors.aliyun.com/centos/releasever/PowerTools/ b a s e a r c h / o s / h t t p : / / m i r r o r s . a l i y u n c s . c o m / c e n t o s / basearch/os/ http://mirrors.aliyuncs.com/centos/ basearch/os/http://mirrors.aliyuncs.com/centos/releasever/PowerTools/ b a s e a r c h / o s / h t t p : / / m i r r o r s . c l o u d . a l i y u n c s . c o m / c e n t o s / basearch/os/ http://mirrors.cloud.aliyuncs.com/centos/ basearch/os/http://mirrors.cloud.aliyuncs.com/centos/releasever/PowerTools/$basearch/os/
gpgcheck=1
enabled=0
gpgkey=https://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-Official
[AppStream]
name=CentOS- r e l e a s e v e r − A p p S t r e a m − m i r r o r s . a l i y u n . c o m f a i l o v e r m e t h o d = p r i o r i t y b a s e u r l = h t t p s : / / m i r r o r s . a l i y u n . c o m / c e n t o s / releasever - AppStream - mirrors.aliyun.com failovermethod=priority baseurl=https://mirrors.aliyun.com/centos/ releasever−AppStream−mirrors.aliyun.comfailovermethod=prioritybaseurl=https://mirrors.aliyun.com/centos/releasever/AppStream/ b a s e a r c h / o s / h t t p : / / m i r r o r s . a l i y u n c s . c o m / c e n t o s / basearch/os/ http://mirrors.aliyuncs.com/centos/ basearch/os/http://mirrors.aliyuncs.com/centos/releasever/AppStream/ b a s e a r c h / o s / h t t p : / / m i r r o r s . c l o u d . a l i y u n c s . c o m / c e n t o s / basearch/os/ http://mirrors.cloud.aliyuncs.com/centos/ basearch/os/http://mirrors.cloud.aliyuncs.com/centos/releasever/AppStream/$basearch/os/
gpgcheck=1
gpgkey=https://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-Official
vi /etc/yum.repos.d//redhat.repo
Paste the above into it
yum clean all
yum makecache
yum repolist
yum install vim
installation is complete
边栏推荐
- Experimental design - using stack to realize calculator
- Research: data security tools cannot resist blackmail software in 60% of cases
- ActiveMQ installation and deployment simple configuration (personal test)
- Yum only downloads the RPM package of the software to the specified directory without installing it
- Distributed solution - distributed lock solution - redis based distributed lock implementation
- Solve the problem of cache and database double write data consistency
- Distributed solution - distributed session consistency problem
- Language model
- Distributed solution - Comprehensive decryption of distributed task scheduling platform -xxljob
- Distributed solution - Comprehensive decryption of distributed task scheduling platform - xxljob scheduling center cluster
猜你喜欢
Taobao flag insertion remarks | logistics delivery interface
ZABBIX customized monitoring disk IO performance
Tips and tricks of image segmentation summarized from 39 Kabul competitions
stirring! 2022 open atom global open source summit registration is hot!
【云原生】Nacos中的事件发布与订阅--观察者模式
The relationship between the size change of characteristic graph and various parameters before and after DL convolution operation
Comprehensive upgrade of Taobao short video photosynthetic platform
Ecplise development environment configuration and simple web project construction
实战模拟│JWT 登录认证
2021-12-21 transaction record
随机推荐
由扫地增而引起的小叙
Distance measuring sensor chip 4530a used in home intelligent lighting
Taobao, pinduoduo, jd.com, Doudian order & Flag insertion remarks API solution
2021.12.16-2021.12.20 empty four hand transaction records
ZABBIX agent2 monitors mongodb nodes, clusters and templates (official blog)
Ecplise development environment configuration and simple web project construction
Knowledge representation (KR)
JSON parsing error special character processing (really speechless... Troubleshooting for a long time)
ZABBIX monitors mongodb (template and deployment operations)
Transactions from December 29, 2021 to January 4, 2022
Kotlin variable
UNIX socket advanced learning diary -ipv4-ipv6 interoperability
太方便了,钉钉上就可完成代码发布审批啦!
I met Tencent in the morning and took out 38K, which showed me the basic smallpox
Tips and tricks of image segmentation summarized from 39 Kabul competitions
我在滴滴做开源
Storage Basics
Reshape the power of multi cloud products with VMware innovation
Redis clean cache
Full text search of MySQL