1.1 Linux Cloud Cluster Architect course Introduction and Linux history
- 1.1 Linux云计算集群架构师课程介绍及Linux发展史- 1.2 VMware虚拟机安装- 1.3 centos7.4操作系统安装- 1.4 vmware虚拟机12个使用技巧
Refer to the PPT document in the same catalogue1.2 VMware Virtual machine installation 1.2.1 Download link VMware Workstation 12 including registration code and keygen Centos7.4-iso operating system image 1.2.1 Download link VMware Workstation 12 Centos7.4-iso operating system image with registration code and registration machine
Link: Https://pan.baidu.com/s/1eSxSHNW Password can add MK teacher qq:2659153446 want a bit.
1.2.4 Enter the following serial number to complete the activation:
Note: Here the two pairs are ticked off, we do not check the update here.
Start the installation and wait for the following interface to appear:
1.3 centos7.4 Operating system installation 1.3.1 Double-click Start Vmware12
1.3.2 Creating a new virtual machine
You can see that the vmware12 is already installed on the desktop.
Note: Select RHEL7 64-bit version
Note: Enter the virtual machine name: centos7.4-63, 63 for the IP address is: 192.168.1.63, the location of the storage virtual machine everyone's own definition, because the virtual machine file is relatively large, do not put in the C disk.
If your physical CPU is 4 cores, it is recommended to use the 4 core, so that late virtual machines run fast.
Note: Do not choose to allocate disk size immediately
Before installing, select Custom Hardware.
Choose the centos7.4 image you downloaded.
To move a printer that is not used, select Close
The VMWARE12 physical machine installed must be a 64-bit operating system.
After installing the virtual machine, create a Linux virtual machine and the "Intel Vt-x is disabled" Workaround:
Note: You can only turn on BIOS virtualization support.
Scenario 1: Take ASUS UEFI motherboard For example, boot into BIOS
Step: Enter Advanced Mode---Go to advanced menu----turn on Intel Virtual technology
Other computers found this.
F10 Save exit.
1.3.4 Select the first item, then install the ENTER key to start the installation
1.3.5 Select language: Chinese-Simplified Chinese (China), this is more conducive to students without Linux Foundation, quickly mastered the Linux system. Click the Continue button. 1.3.6 into the one-stop installation interface, where all
Install CentOS 7 Installation CentOS 7
Test this media & install CentOS 7 testing the installed disc image and install CentOS 7
Troubleshooting fixes the problem, which is how to use it later when it comes to fixing a Linux system that can't be started.
The exclamation point of the content is completely eliminated and can be installed. Customize your own installed system below:1.3.7 Time Zone Select Asia Shanghai, the default is yes. 1.3.8 keyboard By default the 1.3.9 installation source uses the default disc image to be able to select the 1.3.10 package, the Novice recommends selecting a server with a GUI, and also installing the "Development tools" related packages, and then clicking Finish 1.3.11 Select-System-Install location, enter the disk partition interface
Select-Other storage options-partition-I want to configure the partition, click "Finish" in the upper left corner, go to the following interface, in the partition scheme has standard partition, BTRFS,LVM,LVM simple configuration, select "Standard Partition" here.
Then click Create New Partition, partition in advance planning,/boot partition 200M, general swap partition for physical memory 1.5~2 times, when the physical machine memory more than 16G, the swap partition to 8-16g can be. /root partition 10G, the actual work can create data partition, generally separates the data and the system.
Device type Select the default standard partition, file system type XFS,CENTOS7 support BRTFS, production environment is not recommended, Btrfs file system is not yet mature, just as a forward-looking technology
Create a Swap partition
Partition creation completed, click the button, the rest of the space in the post-learning can be used to practice manual partitioning use.
Boot partition: Is the boot partition, the role: System boot, in boot partition storage grub, kernel files, etc., General 200M is enough.
Swap swap partition: How large is the memory extended partition swap partition? Generally up to: 8g,16g, if the system is using a swap partition, add physical memory directly or troubleshoot if the server is hacked.
/root: The start flag for the root absolute path of all files
SDA: Represents the first disk
The 1.3.14 security policy uses the default and is ready.
1.3.15 all configurations are complete as follows, click Start installation, install the system
1.3.16 Enter the installation interface, where you need to configure the user password
The manual configuration is as follows:
Note: root password: 123456, if the password is too simple, you need to click twice to complete the confirmation
Installation process, please wait
1.3.19 First login for Gnome-initial-setup (Gnome initialization settings)
To start the configuration for the first time, click Licensing:
Agree to the license agreement
Complete the configuration
Language selection, by default, go straight ahead
Go ahead, then.
1.3.21 Online Account Settings, if there can be set, no, skip directly
Turn off Location Services
1.3.22 everything is ready to start using the centos7.4 system
1.3.23 Pop-up Use introduction interface, close can
1.3.24 to this centos7.4 OS installation complete
Click any blank position on the screen
[[email protected] ~]# Ping www.baidu.com
CentOS 6-The difference from CentOS 7:
1. File system differences: Ext4 XFS
2, the hard disk default scheduling algorithm is different: CFQ deadline
3, the kernel version is not the same: 2.6 3.10
4, in 7, support dynamic patch mechanism Kpatch, this is also as a technical preview, and Btrfs file system like
5, support kernel module blacklist mechanism: Modproble.blacklist=module
6. Support Nested virtualization technology, more smooth for virtual machine CPU
7, the kernel-level support resource tuning and allocation in 7, to Cgroup
8, in 6 to usb2.0. In 7, USB3.0 support
9, LVM snapshot. In the 7. Support for QCOW2 format file-based snapshots
10. Enhanced technical support for VMware. With Open-vmtools replaced Vm-tools
11, start the tool, in 7 with the new service boot manager systemctl, in 6, do some service start and stop services
12, in the 7 kernel error occurred. Export core file maximum support 2TB in 3tb,6
To turn off the virtual machine, set the memory:
Since VMware is working on a single computer running multiple operating systems at the same time, so there is a system control switch problem, if you find that the mouse and keyboard can not be used in an operating system, then you have to switch, the default way to switch is to press the Ctrl+alt key combination at the same time.1.4.4 Tips 4. Tips for correct shutdown of VMware virtual machine tips
Please note that the shutdown of the virtual machine must follow certain steps, if you click the Power off button on the VMware toolbar directly, it will be equivalent to the usual illegal shutdown, the next time you start the virtual machine will also automatically scan the disk. The correct method is: Execute command: Init 01.4.5 Tips 5. The Send shortcut key for VMware virtual machine tricks.
If you still follow the past habits in the virtual machine using the "Ctrl+alt+del" key combination to end the task, you will be aware that the hosts have made the same response, the correct way should be to use the "ctrl+alt+ins" key combination, or
1.4.7 Tips 7. VMware Virtual machine tips for virtual machine network usage tips
The above three buttons are: Display sidebar, display the bottom bar, display full screen.
VMware provides us with three network operating modes: bridged (bridge mode), NAT (network address translation mode), Host-only (host mode only).
Bridging mode: The host network card and virtual machine virtual network card using virtual Bridge to communicate.
In the role of bridging, similar to the physical host virtual as a switch, all the bridge settings of the virtual machine connected to the switch interface, the physical host is also inserted in the switch.
The virtual machine IP address needs to be in the same network segment as the host, and if networking is required, the gateway and DNS need to be consistent with the host NIC.
Nat (address translation mode): In NAT mode, virtual hosts require virtual NAT devices and virtual DHCP servers to enable virtual machines to be networked. A virtual machine and a physical machine share an IP address.
Note: When a virtual machine uses NAT mode, the Linux system is configured to acquire IP dynamically.
Host-only mode: Separates the virtual machine from the external network, making the virtual machine a standalone system that communicates with the host only. The equivalent NAT mode removes the virtual NAT address translation function.
Note: When a virtual machine uses host-only mode, the Linux system is configured to acquire IP dynamically.
After shutting down the virtual machine, select:
After Centos7, when the system is installed by default, the open Vm-tools is installed directly. You can use it directly here.1.4.10 Tips 10. Tips for using the ISO CD file for VMware virtual machine tips
1.4.11 Tips 11. VMware Virtual machine tips for removing virtual machines
If it is on the case, directly in the lower right corner, click the CD-ROM icon, the point setting is ready.
Shut down the virtual machine,
The Linux architect's high-paying entrance:
1. Learn God It Education official website: http://xuegod.ke.qq.com
2.1 Years veteran veteran of the industry MK:QQ2659153446
3. Join the Linux Technical Communication QQ Group:722287089, you can get the following benefits:
① regularly share free learning materials and videos (Tools + notes + expand Combat)
②10 senior veteran old birds online answer: Skills + Combat + Project sharing + high-paying employment
③ has the opportunity to receive 4 books of Linux cloud computing cluster architects free of charge
MK Teacher Number:
1.1 Linux Cloud Cluster Architect course Introduction and Linux history
1.2 VMware Virtual Machine installation
1.3 centos7.4 Operating System installation
1.4 VMware Virtual Machines 12 tips for using
centos7.5 Operating System Installation