In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Environment: install Redhat7.0 system on VMware Workstation
Open VMware Workstation, click the create New Virtual Machine option, select the typical radio button in the pop-up New Virtual Machine Wizard interface, and then click the next button.
1.2 Select the install operating system later radio button, and then click the next button
Select the client operating system type as "Linux" and the version as "Red Hat Enterprise Linux 7 64-bit", and then click the "next" button.
1.4 fill in the Virtual Machine name field and click the next button after selecting the installation location
1.5 set the maximum disk size of the virtual machine system to 20.0GB (default), and then click the next button
1.6 Click the Custom hardware button
1.7 it is recommended that the amount of memory available in the virtual machine system should be set to 2GB, which should not be lower than 1GB.
1.8 set the number of CPU processors and cores per processor according to the performance of the physical machine, and enable virtualization
1.9 the optical drive device should now select the downloaded RHEL system image file in "use ISO Image File" (image file link: https://pan.baidu.com/s/1PbEu4MKBovHdi3E-mgqQIw extraction code: tj6j)
1.10 VM virtual machine software provides users with three optional network modes, namely, bridge mode, NAT mode and host-only mode. Select Host only Mode here.
Bridging mode: it is equivalent to building a bridge between the physical host and the virtual machine network card, so that you can access the Internet through the network card of the physical host. NAT mode: let the network service of the VM virtual machine play the role of the router, so that the host simulated by the virtual machine software can surf the Internet through the physical host. In the physical machine, the physical network card corresponding to the NAT virtual machine network card is VMnet8. Only host mode: only the host in the virtual machine communicates with the physical host and cannot surf the Internet. in the physical machine, only the host mode simulates the network card corresponding to the physical network card is VMnet1.
1.11 return to the virtual machine configuration wizard interface and click the finish button
Install the linux system
When installing RHEL 7 or CentOS 7 systems, your computer's CPU needs to support VT (Virtualization Technology, virtualization technology). The so-called VT refers to a technology that enables a single computer to divide into multiple independent resource areas and make each resource area simulate the system according to its needs. Its essence is to realize the management and redistribution of computer resources through the middle layer, so as to maximize the utilization of system resources. If the error message such as "CPU does not support VT technology" is prompted after starting the virtual machine, please restart the computer and enter the BIOS to turn on the VT virtualization function.
2.1 A few seconds after clicking the "turn on this virtual machine" button in the virtual machine management interface, you will see the RHEL 7 system installation interface. In the interface, the functions of Test this media & install Red Hat Enterprise Linux 7.0and Troubleshooting are to verify the integrity of the CD and then install and start the rescue mode, respectively. At this time, select the Install Red Hat Enterprise Linux 7.0option through the keyboard arrow key to install the Linux system directly.
2.2 then press enter to start loading the installation image, which takes about 30 to 60 seconds
2.3 Click the Continue button after selecting the installation language of the system
2.4 Click the SOFTWARE SELECTION option in the installation interface
2.5 Click to select the Server with GUI radio button in the interface, and then click the Done button in the upper left corner
Return to the RHEL 7 system installation main interface, click the NETWORK & HOSTNAME option, set the Hostname field to the name you want, and then click the Done button in the upper left corner
Return to the main installation interface and click the INSTALLATION DESTINATION option to select the installation media and set the partition. No changes are needed at this time, just click the Done button in the upper left corner
2.8. return to the main installation interface and click the Begin Installation button to see the installation progress. Select ROOT PASSWORD here.
2.9 set the password for the root administrator. If you insist on using a weak password, you need to click the Done button in the upper left corner twice to confirm it.
2.10 the installation process of the Linux system usually takes 30 to 60 minutes, so you can wait patiently during the installation process. Click the Reboot button when the installation is complete
2.11 after restarting the system, you will see the initialization interface of the system. Click the LICENSE INFORMATION option.
2.12 Select the I accept the license agreement check box, and then click the Done button in the upper left corner
2.13 Click the FINISH CONFIGURATION option after returning to the initialization interface to see the settings interface for the Kdump service. If you do not plan to debug the system kernel for the time being, you can also uncheck the Enable kdump check box and click the Forward button
2.14 Select the No, I prefer to register at a later time radio button, and then click the Finish button. Set here not to register the system
2.15 after another restart of the RHEL 7 system in the virtual machine software, see the welcome interface of the system, select the default language English (United States) in the interface, and then click the Next button.
2.16 Select the input source type of the system as English (US), and then click the Next button
2.17 create a local normal user for the RHEL 7 system with a user name of xxx and a password of xxx, then click the Next button
2.18 set the time zone for the system, and then click the Next button
2.19 Click the Start using Red Hat Enterprise Linux Server button, and the RHEL 7 system is now fully installed and deployed.
Finally, I hope that the beginner will not rely on the graphical interface, but should be familiar with the character interface in order to improve rapidly. In the future, the character interface will also be used in the production environment.
Graphical interface to character interface: using Ctrl+Alt+F1~Ctrl+Alt+F6, you can switch to different character consoles.
Character interface to graphical interface: startx or use Ctrl+Alt+F7
Modify the Linux default startup level (mode):
1.CentOs6.1: as root, vi / etc/inittab, find the line where id:5:initdefault: is located (the id here may be another number). Modify the id value: 3 is the text mode and 5 is the interface mode. Save the file and take effect after reboot.
2.Red Hat7.0: enter systemctl get-default on the command line to get the current startup mode. Graphical.target is started by graphical interface and multi-user.target is started by character interface. Then enter systemctl set-default xxx.target on the command line to change to the corresponding mode, and finally restart takes effect.
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.