In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
For the tools needed to make the template machine, please go to the network disk to extract: https://pan.baidu.com/s/17vnFic6xKVdDaY0g7uRv5g
Extraction code: m005
Create a new virtual machine, select a typical installation, and click next
Select to install the operating system later, and click next
Select Linux operating system, select CentOS 64-bit version, and click next.
Edit the virtual machine name, select the installation location, and click next.
Set the disk size. I will set 80GB here.
New construction completed
Edit and set the virtual machine device, mount the CD, and turn on the virtual machine
Select Install CentOS 7 and enter.
Select a simplified Chinese language and click continue
Click Software options
Select the GNOME desktop and select additional options for GNOME applications, compatibility libraries, and development tools
Set installation location
Select the disk, check the manual configuration partition, and click finish
New Standard Partition
Create a new / boot partition, set the capacity bit 200MiB, and click add mount point
Continue to create a new swap partition with the capacity setting bit 4096MiB, and click add mount point
Create a new third partition, the root partition, and allocate all the remaining capacity to the root, so you don't need to fill in the mount point directly.
You will find that the newly created partitions are all xfs file systems. Click finish.
Accept changes
Select Settings KDUMP
Close KDUMP
Set hostname and network
Open Ethernet, set the hostname to Centos, and click apply.
Click to start the installation
Set Root password
To set the password, click finish.
Installation is complete, just restart
Accept the license
Set network and hostname
Turn on Ethernet, set the hostname, and click finish
Just complete the configuration.
Select Chinese and click forward
Enter and choose Chinese, click forward
Privacy default Click forward
Choose Shanghai in the time zone and click forward.
You can skip the account.
Create a user test and click forward
Set the password for the test user and click forward
At the end of the wizard, just start using it.
Right-click in the blank space of the desktop to open the terminal
[test@centos ~] $su password: [root@centos test] # cd [root@centos ~] # vim / etc/selinux/config SELINUX=disabled [root@centos ~] # systemctl stop firewalld.service [root@centos ~] # systemctl disable firewalld.service Removed symlink / etc/systemd/system/multi-user.target.wants/firewalld.service.Removed symlink / etc/systemd/system/dbus-org.fedoraproject .FirewallD1.service. [root@centos ~] # vim / etc/yum.repos.d/local.repo [local] name=centosbaseurl= file:///mntenabled=1gpgcheck=0[root@centos ~] # systemctl set-default multi-user.target Removed symlink / etc/systemd/system/default.target.Created symlink from / etc/systemd/system/default.target to / usr/lib/systemd/system/multi-user.target. [root@centos ~] # systemctl get-default multi-user.target [root@centos ~] # init 6 [root@centos ~] # systemctl status firewalld.service [root@centos ~] # getenforce [root@centos ~] # cp / etc/sysconfig/network-scripts/ifcfg-ens32 / etc/sysconfig/network-scripts/ifcfg-ens32.bak [root@centos ~] # vi / etc/sysconfig/network-scripts/ifcfg-ens32 TYPE=EthernetPROXY_METHOD=noneBROWSER_ONLY=noBOOTPROTO=staticDEFROUTE=yesNAME=ens32DEVICE=ens32ONBOOT=yes close Centos [root@centos ~] # init 0
At this point, the template machine has been made, and the virtual machine has been cloned.
Select the current status of the cloned virtual machine, and click next
Select create linked Clone and click next
Edit the name of the virtual machine, browse to the location, and click next
Cloning completed, boot initialization
Enter your root account and enter your password to log in
[root@centos01 ~] # hostnamectl set-hostname Centos01 [root@centos01 ~] # vi / etc/sysconfig/network-scripts/ifcfg-ens32 TYPE=EthernetPROXY_METHOD=noneBROWSER_ONLY=noBOOTPROTO=staticDEFROUTE=yesNAME=ens32DEVICE=ens32ONBOOT=yesIPADDR=192.168.100.10 NATEMASK=255.255.255.0 [root@centos01 ~] # vi / etc/yum.repos.d/local.repo [local] name=centos01 baseurl= file:///mntenabled=1gpgcheck=0
Terminal tests whether you can connect to the Centos01
-this is the end of this article. 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.
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.