当前位置:网站首页>Virtual machine installation and configuration
Virtual machine installation and configuration
2022-06-09 08:40:00 【weixin_ forty-six million seven hundred and eighty-seven thousa】
1. install Vmware
- Open the website

- Download the file

- Double click the downloaded file to install the app
- Open application

2. Install the image Here the centos7

- Download mirroring

3. Create a virtual machine

technological process :
Click create new virtual machine =》 next step =》 Choose download good centos The next step of the mirror path =》 Name the virtual machine centos7, Fill in the username and password , Be careful root The password of the user will be the same as that of the newly created user =》 next step =》 Fill in the number of processors , Fill in the next step according to your computer configuration =》 Set the memory size to 4096 next step =》 next step =》... As recommended =》 Select the virtual machine creation location. The file name cannot have Chinese =》 complete =》 Automatic installation
After installation, you can use root The user login
4. Virtual machine related operations
You can choose to restart 
5. Virtual machine configuration
- View virtual machine ip Address
$ ifconfig // You can view the virtual machine IP

- use ping Check whether the network of the virtual machine is available
$ ping 192.168.228.128

- Modify static ip
& vim /etc/sysconfig/network-scripts/ifcfg-ens33
# modify
bootproto=static(dhcp)
onboot=yes
# increase
IPADDR=192.168.228.128
NETMASK=255.255.255.0
GATEWAY=192.168.228.2
DNS1=8.8.8.8
Save and exit after modification
- Modify host name
Open file
& vim /etc/hostname
Change the name 
- Restart the network
$ systemctl restart network
- Turn off firewall
$ systemctl stop firewalld
$ systemctl disable firewalld
- close selinux
vim /etc/selinux/config
# modify
SELINUX=disabled
6. Restart the virtual machine
$ reboot
7. Cloning of virtual machines ( Used to build clusters )
Be careful : Before cloning and it should be in the off state 
- Right click and select Rename virtual machine name
- Right click =》 management =》 clone =》 next step =》 Select create complete clone =》 Name the virtual machine and select the installation location. Next =》
- Modify the configuration of the cloned virtual machine
Right click on the newly cloned virtual machine =》 Set up =》 network adapter =》 senior =》MAC Address regeneration =》 Turn on virtual machine =》vim /etc/hostnameModify host name ,vim /etc/sysconfig/network-scripts/ifcfg-ens33modify ip The address cannot be the same as the clone machine , Restart the networksystemctl restart network, Restart the virtual machinereboot
8.ssh Remote login use mobaxterm Connecting virtual machines
Check whether there is... On the virtual machine sshd
$ systemctl status sshdwithout sshd install sshd
$ yum install -y openssl openssh-server,$ systemctl restart sshd & systemctl enable sshd
Download the free version mobaxterm And install

Create connection
Fill in the goal ip Use root The user login

Click create and enter root The user's password creates a connection
9 Upload and download files
install ftp The server File transfer protocol
yum install vsftpdsystemctl start vsftpdsystemctl status vsftpdsystemctl enable vsftpdestablish SFTP Connect

Download the file 
Upload files
Drag and drop directly to upload 
边栏推荐
- OpenInfra Summit 2022 | 华云数据用户再度入围超级用户大奖
- Sql: reformat department table (row to column problem: group by + aggregate function)
- JS window对象
- If and ifnull in MySQL
- Question about Oracle: why can't the DBMS be linked according to the evening tutorial and output results
- 选择器误区
- 汇编_基础概念
- Excerpt of a verse of compassion and gladness
- Open source EDA software yosys for integrated circuit design 1: tool installation
- .NET C#基础(6):命名空间 - 组织代码的利器
猜你喜欢

85.(leaflet之家)leaflet军事标绘-直线箭头绘制

EDA开源仿真工具verilator入门1:安装和测试

模拟面试策划书;校园模拟面试策划书;求职模拟面试大赛策划书;经管学院模拟求职大赛策划书;大学生模拟面试大赛策划书

常用windwos api

RMAN备份概念_关于备份保留策略(RETENTION POLICY)

Use of extensions and super

【天线】【1】一些名词和简单概念的解释

SQL: people flow in the gymnasium (common solution for continuous day cases)

JVM architecture learning notes

Flyway management database
随机推荐
Huayun data was selected as the representative manufacturer of cloud infrastructure in IDC development trends of industrial software and industrial Internet
If and ifnull in MySQL
虚拟机安装及配置
10种提问型爆文标题句式 直接套用
RMAN备份数据库_指定备份输出选项
Oracle本地管理的表空间
[pat (basic level) practice] - [sort] 1077 mutual evaluation score calculation
mysql中if和ifnull
AMS advanced - how to start an unregistered activity
SQL: people flow in the gymnasium (common solution for continuous day cases)
flyWay管理数据库
Self made compiler learning 4: using flex
汇编_基础概念
P3954 [noip2017 popularization group] results
阿里云IOT
【TeXstudio】【3】较为完整的论文排版模板与bib文件引用方法
配置RMAN备份的环境_配置控制文件和服务器参数文件的自动备份
85. (leaflet house) leaflet military plotting - line arrow drawing
自制编译器学习4:使用Flex
Open source EDA software yosys for integrated circuit design 1: tool installation