Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install RedHat RHEL7.2 system in vmware12

2025-01-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

How to install RedHat RHEL7.2 system in vmware12? I believe that many inexperienced people are at a loss about this, so this article summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.

I. start the installation

1) create a new virtual machine RHEL7.2

2) successfully boot the system-this screen appears when booting up

Install Red Hat EnterpriseLinux 7.2 install the RHLE7.2 operating system

Test this edia & install RedHat Enterprise Linux 7.2Test the installation files and install the RHLE7.2 operating system

Troubleshooting repair Failur

3) Select the first item to install the RHEL7.2 operating system

Enter to enter the following interface-press enter to start the installation

4) choose a language

5) selection of time zone-- selection of date and time-- selection of 24-hour system

6) Keyboard selection

Click the "+" button to add a new keyboard layout

Select the language you want to add-click add

Click the finish button when the addition is complete

7) language selection (the main interface has been selected, so there is no need to select again)

8) SECURITY settings (security settings)

Default

# default policy, implicit XCCDF profile. In general, rules are not included by default

Standard System Security Profile

# Standard system security profile, which contains rules to ensure the standard security base RHEL7 system

Draft PCI-DSS v3 Control Baseline for RedHat Enterprise Linux 7

# draft PCI-DSS v3 controls baseline RHEL7, which is a summary draft PCI-DSS v3

Red Hat Corporate Profile for Certified Cloud Providers (RH CPCP)

# Cloud provider RHEL profile (CPCP), which is a draft SCAP profile RHEL cloud provider

Common Profile for General-Purpose Systems

# Common profile system, which contains desktop and server installations that are common to the project

Pre-release Draft STIG forRed Hat Enterprise Linux 7 Server

# pre-release draft of RHEL7, this profile is developing a consensus model in the Department of Defense to become STIG with DISA wireless optical communications.

We can choose the default (default) policy here. Select it through select profile, and click finish.

9) Select installation source

Click verify (verify that the CD or image is complete to prevent the installation of incomplete packages during installation)

Select an additional software repository to detect updated packages at installation time

10) Software selection

Beginners suggest that you choose the one with a graphical interface and install the software packages related to the development tools, and then click finish.

11) Select the installation location (automatic partition is selected by default)

12) KDUMP Settings

Kdump is a kernel crash rollover mechanism. Just choose to close, and then click finish.

13) Network configuration

Open an Ethernet connection and choose to obtain IP automatically or configure it manually

Manual configuration will be the method-- select manual and then configure IP

14) Click start installation after all configuration to install the system

15) you need to configure a user password to enter the installation interface

If the Root password configuration is too simple, click finish twice to confirm (the same is true for creating a normal user)

16) installation completed-restart the system

17) enter the boot interface

18) initial setup (accept license)

Click to select "I agree to the license Agreement"-finish

19) license setup complete-Click finish configuration

20) the system started successfully, selected not listed

Enter the user to log in

Enter login password

21) log in for the first time to initialize GNOME

You can choose the language by default-click the forward button

Fill in the details

Online account settings, if any, can be set without skipping them directly.

22) everything is ready to start using the RHEL7.2 operating system

Pop up the user interface and close it.

2. Click any blank space on the screen-Open Terminal 1) Type ifconfig to find more virbr0 network connection ports

Virbr0 is a virtual network connection port. The default is virtual network connection port 0.

Generally, when porting an operating system through a virtual machine, it will be transferred to the network address of nat by default, but you can choose to bridge or have no network connection.

However, due to the existence of the virtual network interface, the slave machine will not take over when the host machine in the dual-computer system. So, uninstalling virbr0 will improve our tool efficiency.

The specific methods are as follows:

View a list of networks:

Delete using "virsh net-destroy default"

Remove from the configuration file

Restart the libvirtd service

Check again and find that virbr0 has been deleted.

2) View the system version through cat / etc/redhat-release, which is displayed as version 7.2

Note: VMware Tools is automatically configured when RHEL 7.2 is installed, so there is no need to configure and install Vmware Tools after installation

3) system state detection

a. Check to see if you can access the Internet.

b. Hostname View and Settin

After the modification is completed, there is no need to restart.

c. Turn off the firewall and set it to power on and turn off automatically

View firewall status [root@localhost~] # systemctl status firewalld

Turn off the firewall and set it to power on and turn off automatically

[root@localhost Desktop] # systemctl stop firewalld [root@localhost Desktop] # systemctl disable firewalld

d. Close selinux

Get the status of the selinux

[root@localhost~] # getenforce

Enforcing

Display as enforcing indicates that it is not closed, display as disabled is closed

Close selinux

[root@localhost~] # sed-I 's/SELINUX=enforcing/SELINX=disabled/'/etc/selinux/config

Restart will not take effect until it is modified.

e. Set CD to boot and mount automatically

Unmount the existing mount first, and then mount it

4) configure local yum source

Back up the files in the yum source directory first

[root@localhost Desktop] # mv / etc/yum.repos.d/redhat.repo / etc/yum.repos.d/redhat.repo.tml

Then create a local yum source

[root@localhost Desktop] # cat > / etc/yum.repos.d/rhel7.repo name=base-rhel7 > baseurl= file:///mnt>enabled=1>gpgcheck=0>EOF

Clear the yum cache [root@localhost Desktop] # yum clean all

Regenerate [root@localhost Desktop] # yum list

5) Test whether yum is configured successfully

Install the test with yum install-y bind

After reading the above, have you mastered how to install the RedHat RHEL7.2 system in vmware12? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report