In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Download CentOS7
The image I downloaded is CentOS-7-x86_64-DVD-1908.iso, and you are free to choose. Here is the download link.
CentOS official website:
Http://isoredirect.centos.org/centos/7.4.1708/isos/x86_64/
Aliyun site:
Http://mirrors.aliyun.com/centos/7/isos/x86_64/
It is recommended to go to Aliyun site to download, the official website download may be very slow, or even the web page can not be opened.
VMware configuration
It is assumed that you have installed a virtual machine. If not, please go to the download page.
1. Set the IPv4 attribute of VMware Network Adapter VMnet8
Please execute: [network] → [change Adapter Settings] → [modify the IPv4 address of the network shown in the red box below]
As shown in the following figure, it should look like this after the change:
As soon as it is finally confirmed, we will proceed later.
Open the VMware virtual machine software
Please execute: [edit] → [Virtual Network Editor] from the menu
Set VMnet8 NAT mode: subnet IP:192.168.56.0, subnet mask: 255.255.255.0, change as shown in the following figure.
Then click NAT settings, and modify the gateway IP to: 192.168.56.10, as shown in the following figure.
Finally, click OK, there may be some stutters at this time.
Create a virtual machine
Open VMware and click New Virtual Machine, as shown below:
Select the image we just downloaded and click next.
Give the virtual machine a name, and then select where the virtual machine will be stored in the future.
Next, specify the disk size, which is fine by default.
At this point, click the "Custom hardware" button: memory is set to 2GB and processors are set to 2.
Finally, click finish.
Configure the CentOS system
First of all, we need to install the system, move the arrow keys to Install CentOS 7 and hit enter.
Then after waiting for a while, you will see the following interface. Then default English, of course, you can also choose Chinese or other languages.
Then click on the red box below.
At this point, you need to be the same as the interface below, and then make sure.
Finally, you will find that there is no exclamation point. But don't worry, Begin Installaction, please look below. But don't worry, Begin Installaction, please look below. But don't worry, Begin Installaction, please look below.
As a hint here, Linux has a graphical interface and a command line DOS interface, and the default is the minimum installation, that is, the command line.
If you want to use a graphical interface (like windows), please choose from the following figure. It is recommended that you use the default minimum installation (command line).
Set password
ROOT password: this password has a very high privilege level, also known as superuser. USER password: the password authority level is general, also known as ordinary users.
For spare time waiting for installation, you might as well set your ROOT password and USER password.
When the settings are complete, click the button as shown in the figure and wait for a while again.
Restart the virtual machine after completion, and then come to the following interface.
Login test
Next, let's log in to the root Super Admin login test and type the command:
Root
The password input status will appear after typing the command. Note that the characters you enter will not be displayed at this time. Do not think that your keyboard is broken.
When the virtual machine is turned on, the keypad area is closed. If the password you set contains a number, please make sure that the keypad is turned on so as not to mistakenly think that the password is forgotten or wrong.
Configure the network
At present, our system has no network connection, and we need to further configure it.
Note: vi editing commands will be used here. If you are unfamiliar, suggest Baidu to learn.
Type the following command:
Vi / etc/sysconfig/network-scripts/ifcfg-ens33
First press the Instert key to enter the editing mode, and the keyboard up and down arrows control the position of the input cursor.
Change the current network configuration to the following, pay attention to the word "modify" do not add, this is to prompt you.
BOOTPROTO=static (modify) IPADDR=192.168.56.110NETMASK=255.255.255.0GATEWAY=192.168.56.10ONBOOT=yes (modify) DNS1= 8.8.8.8DNS2=8.8.8.4
Press "ESC", ": wq" to save and exit, ": Q!" Do not save for exit.
After the change, it goes like this:
You can type the following command to see if your configuration is consistent with mine
Cat / etc/sysconfig/network-scripts/ifcfg-ens33
Restart the network
Type the following command:
Service network restart
As shown in the figure, a green OK indicates a successful reboot.
If you follow the steps strictly, then you can ping ping 192.168.56.10 at this time.
Ping ping 192.168.56.10
Write at the back
Congratulations on completing the configuration, and don't lose heart if you fail! Just start over!
At this point, you can use remote connection linux tools such as Xshell for remote control, and if you want to upload files to linux locally, you can also use the Xftp tool.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.