当前位置:网站首页>01 install virtual machine
01 install virtual machine
2022-07-02 10:32:00 【Lucky lucky】
vmware / virualbox
vm => virtual machine
1 vmware => n vm
redhat / ubuntu / centos7( be based on redhat)
### Steps for creating a new virtual machine ####
#1、 First create the installation folder in the computer 
vm-env Under the file is the virtual machine tool file 
vm-data Place the data file under the file 
#2、 Create a folder such as single01
#3、 Turn on the virtual machine , Click new virtual machine , Choose Custom installation , Click next
Do the following , Proceed in the order of pictures , No more text , Relatively simple .



The location is the folder you just created single01 Absolute road strength 
It should be allocated according to the configuration of your computer , In general, take general . For example, I am a 4 Core eight threads , The number of processors I give is 2, The number of cores per processor is 2.
Take half of your computer memory .






Click Custom hardware 

Click Close , Click Finish to start the new virtual machine , Select the first white line and press enter 






Finally, click Begin Installation
because Too short, all Done Click twice
root
root
The account name is the same as the password name , Easy to remember .

# View host name
hostname
# Modify hostname
hostnamectl set-hostname singlelucky
# View firewall status
systemctl status firewalld
# Turn off firewall
systemctl stop firewalld
# Disable firewall
systemctl disable firewalld
# Check the network status
systemctl status network
# Check that the network management service is turned off and disabled
systemctl status NetworkManager
systemctl stop NetworkManager
systemctl disable NetworkManager
#network To configure
vi /etc/sysconfig/network-scripts/ifcfg-ens33
Enter at the command line :1,$s/\"//g Replace “” It's empty
BOOTPROTO=static
IPADDR=192.168.19.xxx
NETMASK=255.255.255.0
GATEWAY=192.168.19.x
DNS1=8.8.8.8
DNS2=114.114.114.11
# Restart network service
systemctl restart network
Fight intranet :ping www.baidu.com
Internet connection :WINS+R Open the command window to input cmd, In the command editor, enter :ping 192.168.19.xxx
open Xshell New session 
Click login as user , Input information 
#########################Xshell#################################
# Configure the host name and IP
vi /etc/hosts
[root@singlelucky ~]# hostname
singlelucky
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.19.xxx singlelucky
# Local image mount
# Local image mount
Switch user view /dev/sr0 /mnt
[root@singlelucky ~]# su lucky
[lucky@singlelucky /]$ ls
bin boot dev etc home lib lib64 media mnt opt proc root run sbin srv sys tmp usr var
[lucky@singlelucky /]$ cd dev/
[lucky@singlelucky dev]$ ls
[lucky@singlelucky dev]$ cd /
[lucky@singlelucky /]$ ls
bin boot dev etc home lib lib64 media mnt opt proc root run sbin srv sys tmp usr var
Switch back to mount
[lucky@singlelucky /]$ su root
Password:root
mount /dev/sr0 /mnt
# Configure local mirror source
cd /etc/yum.repos.d
# Create a backup folder , Back up the default image file to this file
mkdir bak
mv *.repo bak/
# Create and edit the local image profile
vi base.repo
------------------------
[local]
name=local
baseurl=file:///mnt
gpgcheck=0
enabled=1
------------------------
# Set the remote Huawei image source
wget -o CentOS-Base.repo https://repo.huaweicloud.com/repository/conf/CentOS-7-reg.repo
# Install the local file transfer plug-in
yum -y install lrzsz
# Drag and upload to the current directory
#sz RESOURCE_NAME => Select the download directory
边栏推荐
- Excuse me, is it cost-effective to insure love life patron saint 2.0 increased lifelong life insurance? What are the advantages of this product?
- 2021-09-12
- Postman--使用
- Project practice, redis cluster technology learning (11)
- Mock Server基本使用方法
- Aiphacode is not a substitute for programmers, but a tool for developers
- Basic notes of illusory AI blueprint (10000 words)
- Blender multi lens (multi stand) switching
- How much is it to develop a system software in Beijing, and what funds are needed to develop the software
- [unity3d] production progress bar - make image have the functions of filled and sliced at the same time
猜你喜欢

Applet development summary

【MySQL】连接MySQL时出现异常:Connection must be valid and open

SAP Spartacus express checkout design

allure--常用配置项

Flink实时计算topN热榜

Delivery mode design of Spartacus UI of SAP e-commerce cloud

Following nym, the new project Galaxy token announced by coinlist is gal

Allure -- common configuration items

This article takes you to learn in detail what is fiber to home FTTH

Blender多鏡頭(多機比特)切換
随机推荐
webUI自动化学习
[unreal] key to open the door blueprint notes
Spatial interpretation | comprehensive analysis of spatial structure of primary liver cancer
This article takes you to learn in detail what is fiber to home FTTH
SQOOP 1.4.6 INSTALL
01安装虚拟机
Blender石头雕刻
Basic notes of illusory AI blueprint (10000 words)
pytest学习--base
Configuration programmée du générateur de plantes du moteur illusoire UE - - Comment générer rapidement une grande forêt
Introduction and Principle notes of UE4 material
Aiphacode is not a substitute for programmers, but a tool for developers
UE4 night lighting notes
What is call / cc- What is call/cc?
Redis set password
2021-10-04
ue虚幻引擎程序化植物生成器设置——如何快速生成大片森林
【Lua】常见知识点汇总(包含常见面试考点)
Blender体积雾
虚幻AI蓝图基础笔记(万字整理)