VMware Workstation16 builds a CentOS7 server, and uses MobaXterm to connect to the CentOS7 server to upload and download files

VMware Workstation16 builds a CentOS7 server, and uses MobaXterm to connect to the CentOS7 server to upload and download files

One, install VMware Workstation16

VMware Workstation16 download address:
https://my.vmware.com/cn/web/vmware/downloads/info/slug/desktop_end_user_computing/vmware_workstation_pro/16_0

Insert picture description here
Download VMware Workstation16 and install it as prompted, use the license key to permanently activate VMware Workstation16

Two, create a virtual machine based on VMware Workstation16

Download CentOS7 mirror file:
CentOS7 mirror download address

Insert picture description here

Choose to create a new virtual machine,
Insert picture description here
choose custom installation,
Insert picture description here
Insert picture description here
choose CentOS7 image file
Insert picture description here
, create a new virtual machine wizard, create a new virtual machine name bigdata1,
Insert picture description here
configure the processor, choose 2, the number of processors, the number of cores per processor is 1,
Insert picture description here
set the virtual machine memory
according to the machine Configure the memory size of the virtual machine. The total memory of the personal computer is 32G, so the 8G
Insert picture description here
network type is set to NET.

Bridging: The virtual machine network and the real network card are in the same network segment, intercommunication
NAT: the internal network address mapping is passed through the real network card, the virtual machine accesses the external network
only local mode: the virtual network card, and the virtual machine can communicate on the same network segment, No access to the external network

Among them, the bridge/NAT mode can be connected to the external network

Insert picture description here
Select the default controller and disk type to
Insert picture description here
Insert picture description here
choose to create a new virtual disk.
Insert picture description here
Choose the disk size. The
bigdata1 server requires a lot of space, so the disk size is set to 80G. If you choose to allocate all disk space immediately, it will immediately occupy 80G of disk space.
Insert picture description here
Specify the storage location of the disk file.
Insert picture description here
Make sure that the CentOS7 image is ready.
Insert picture description here
Click Finish. Virtual machine creation. A virtual machine
Insert picture description here
is being created. After the creation is complete, you can install the CentOS7 server

Insert picture description here

Three, install Cent0S7 server

The language is set to Chinese to
Insert picture description here
set the date and time to
Insert picture description here
select the software, here select KDE, and check the development tools to
Insert picture description here
set the partition, mainly add /boot, /, swap three partitions, the default remaining space is all allocated to the /home partition
Insert picture description here
Insert picture description here
as shown below For the three partitions, the /home partition does not need to be set. By default, all the remaining space is allocated to the /home partition. After the partition is
Insert picture description here
set, select to complete the installation
Insert picture description here

Choose to accept the partition to change
Insert picture description here
settings network and host name, host name is set to bigdata1
Insert picture description here
After completing the above settings, select Start installation CentOS7 Server
Insert picture description here
installation process can create the root password and user, the user: yf, Password: 06020916
Insert picture description here
set the root password 08,311,020
Insert picture description here
create a user yf, The password is set to 06020916. After the
Insert picture description here
installation is complete, the CentOS7 server needs to be restarted.
Insert picture description here
Choose to accept the license agreement. After
Insert picture description here
Insert picture description here
accepting the license agreement, enter the user name and password as shown in the figure below
Insert picture description here

Insert picture description here

As shown in the figure below: Successful installation of CentOS server

Insert picture description here
Start the command line terminal and check the CentOS7 version

[yf@bigdata1 ~]$ cat /etc/centos-release
CentOS Linux release 7.9.2009 (Core)

Check the IP address, test the network connectivity, the IP address is: 192.168.216.128
Insert picture description here

Fourth, it is recommended to use MobaXterm to connect to the CentOS7 server

It is recommended to use MobaXterm to connect to the CentOS7 server. MobaXterm can be used after decompression. At the same time, it supports file upload and download between the local and the server.

MobaXterm download address:
https://mobaxterm.mobatek.net/download.html
Insert picture description here
Insert picture description here

After downloading, MobaXterm can be used after decompression, connect to CentOS7 server, server IP address: 192.168.216.128, user name: root, password: 08311020

Insert picture description here
After logging in, check the IP address
Insert picture description here
through drag and drop to realize file upload and download between local servers
Insert picture description here

Guess you like

Origin blog.csdn.net/zhengzaifeidelushang/article/details/113481744