当前位置:网站首页>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
边栏推荐
- JDBC -- extract JDBC tool classes
- Redis highly available sentinel mechanism
- Redis's memory elimination mechanism, read this article is enough.
- A possible investment strategy and a possible fuzzy fast stock valuation method
- Master-slave mode of redis cluster
- NPM install reports an error
- Keras implements verification code identification
- JSON parsing error special character processing (really speechless... Troubleshooting for a long time)
- SAP self-development records user login logs and other information
- About LDA model
猜你喜欢

Distributed cache architecture - cache avalanche & penetration & hit rate

Detailed steps for upgrading window mysql5.5 to 5.7.36

【云原生】Nacos-TaskManager 任务管理的使用

JDBC exercise - query data encapsulated into object return & simple login demo

Annotation problem and hidden Markov model

Oppo Xiaobu launched Obert, a large pre training model, and promoted to the top of kgclue

Transactions from December 27 to 28, 2021

Distance measuring sensor chip 4530a used in home intelligent lighting

Yum only downloads the RPM package of the software to the specified directory without installing it

CVPR 2022 | single step 3D target recognizer based on sparse transformer
随机推荐
Distributed solution - completely solve website cross domain requests
Correct opening method of redis distributed lock
Pytoch implements tf Functions of the gather() function
jxl笔记
View and terminate the executing thread in MySQL
JDBC -- use JDBC connection to operate MySQL database
Kotlin流程控制、循环
Knowledge representation (KR)
我在滴滴做开源
Redis cluster configuration
About cache exceptions: solutions for cache avalanche, breakdown, and penetration
10 minute fitness method reading notes (2/5)
JSON parsing error special character processing (really speechless... Troubleshooting for a long time)
Annotation problem and hidden Markov model
Resnet18 actual battle Baoke dream spirit
Simply take stock reading notes (3/8)
Average lookup length when hash table lookup fails
Pytoch through datasets Imagefolder loads datasets directly from files
《信息系统项目管理师》备考笔记---信息化知识
What if wechat is mistakenly sealed? Explain the underlying logic of wechat seal in detail