Case 1: installed preparation skills
Case 2: a LINUX virtual machine installation
Case 3: use the LINUX graphical desktop
Case 4: the Linux command line basic operation
Case 1:1 installed preparation skills
1.1 problems
This case required to install a available KVM server:
RHEL has anything to do with CentOS system?
How to represent the third piece of SCSI hard disk in the Linux system?
Step 1.2
This case shall be carried out according to the following steps,
Step one: RHEL system with CentOS system origin
RHEL is to provide the commercial version of red hat Linux system, to get the DVD image, security updates and other technical service support, general need the subscription; But are all kinds of packages of RHEL systems are based on the GPL released free agreement,
CentOS is a community of the nature of Linux system, the equivalent of a clone of RHEL version, RHEL system constructed with a variety of packages to assembly, development, and in the process made some optimization, necessary Bug fixes; Version of CentOS system will be issued by the later with RHEL version system, its composition, management way and with nearly identical versions of RHEL system, but also can find a large number of open source software, so was welcomed by many enterprises,
At present, CentOS has been acquired by Red Hat company, still can use freely,
Step 2: the third piece of SCSI hard drives in Linux system how to say?
In the Linux system, the third piece of SCSI hard drives shown how to use/dev/SDC
Case 2: a LINUX virtual machine installation
2.1 problems
Based on the virtual machine (KVM environment is a new installation the LINUX operating system, mainly to complete the following:
Create a new virtual machine and 30 gb hard drive, 2 gb memory
For this virtual machine to install LINUX operating system, adopts the automatic partitioning scheme
Package customization (according to class requirement)
2.2 plan
Installed in the virtual machine environment practice process, through the menu group "application" & gt;" System tools - & gt; "" Virtual system manager ", open the KVM virtualization graphics management program (as shown in figure 1), add a virtual machine, the LINUX system ISO image files as the virtual machine installation CD,
Figure 1
Step 2.3
This case shall be carried out according to the following steps,
Step one: create a LINUX virtual machine
1) start the "new virtual machine wizard"
Click the "new" virtual system manager left button, can open the "new virtual machine wizard window; Specify a name for the new virtual machine, the installation mode selection from the local ISO image installation (as shown in figure 2), click the "forward",
Figure 2
2) specify the ISO file location, system version
Through the "browse" find the right LINUX installation image file path, choose "LINUX operating system type, version selection" CentOS 7.0 "(as shown in figure 3), click the" forward ",
Figure 3
3) the specified virtual machine memory and CPU core number
Advice to 2048 MB memory, CPU default one can (as shown in figure 4), click the "forward",
Figure 4
4) of the specified virtual machine disk size
Advised to choose a 30 gb here, (as shown in figure 5), click the "forward",
Figure 5
5) to confirm and complete the create
View the virtual machine configuration information, finally suggested "advanced options", will choose to "private1" virtual network (as shown in figure 6), click the "complete" will automatically run after the new virtual machine,
Figure 6
Step 2: start the virtual mechanical and electrical source, install RHEL system
1) running RHEL installer
After open the power of the new virtual machine, automatically from the CD guide host (because there is no guidance information, a new disk automatically find other boot device), into the installation of CentOS system selection interface, press the arrow keys to choose the first item on "Install CentOS 7" (as shown in figure 7), then press Enter to start the installation program,
Figure 7
2) select the language type
Recommend beginners to choose "simplified Chinese (China)" in order to reduce the difficulty (as shown in figure 8), click the "continue",
Figure 8
3) the custom disk partitioning scheme
In "the installation information list interface, click the" system "-- & gt;" Installation location (as shown in figure 9), "
Figure 9
After open the "install target location" interface, select "location" under the "automatic configuration partition" (as shown in figure 10), click the "complete" button above,
Figure 10
4) choose to install packages
Click the "installation information summary" screen "software to choose" the next selection under "basic environment" "take the GUI server" (as shown in figure 11), click "finish" button to return to,
Figure 11
5) to confirm and start the installation
Check "the interface installation information, make sure all the parts with exclamation point has been completed, and then click" start installation "button on the right below (as shown in figure 12), will perform the formal installation,
Figure - 12
During installation to perform, based on the page (as shown in figure 13) click on the "ROOT password" after set a password for the ROOT user (note: if the password is too simple to click "finish" button twice!! ), don't need to create other users,
Figure 13
Set a password, just waiting for the end of the installation (as shown in figure - 14), according to the performance of the system and the selection of package is different, the installation process generally need 5 ~ 30 minutes,
Figure - 14
6) end of the installation processAfter all installation has been completed, you will be prompted to restart the host (as shown in figure 15), according to the prompt operation can,
Figure 15
Step three: initialization configuration
After complete the installation process of LINUX system, the first time you start requirements when initialization Settings,
1) confirm the license agreement, as shown in figure - and figure 16-17, click "finish"
Figure 18
Figure 17
-2) select the "complete the configuration" (as shown in figure 18),
Figure 18
3) language choice, as shown in figure 19, click on the "forward"
Figure 19
-4) select the "input", it is suggested that choose "Chinese pinyin" (as shown in figure - 20)
Figure - 20
5) privacy as shown in figure - 21, click on the "forward"
Figure - 21
As shown in figure 6) time zone - 22, select the "Shanghai"
Figure - 22
7) online account as shown in figure - 23, choose "skip"
Figure - 23
Create user as shown in figure 8) - 24
Figure - 24
9) to complete the user password Settings as shown in figure 25
Figure 25
Then just click "start using" can
Figure - 26
Automatic login (login later need to provide a password) to the desktop environment (as shown in figure 27),
Figure 27
At this point, the LINUX virtual system installation is complete,
3 case 3: use the LINUX graphical desktop
3.1 problems
This example requires students familiar with the new LINUX graphical desktop environment, complete the following tasks:
Change the desktop background image
Open the application "Firefox Web Browser
"Add a normal user account reference his name pinyin (4)
Cancellation, a new user login
Restart the system
Step 3.2
This case shall be carried out according to the following steps,
Step one: by the root user login to the graphical desktop
The new LINUX system shutdown, restart, start over will see the login screen (as shown in figure - 28),
Figure 28
-Click the user list to show at the bottom of the "not listed?" And then according to the prompt for the administrator username root (as shown in figure - 29), click "next",
Figure 29
-Then according to the prompt for the root user's password right (as shown in figure 30), and click "login" button which successful into the graphical desktop environment,
Figure - 30
Step 2: complete simple desktop operating
1) change the desktop background image
Right-click in the desktop space, select "change desktop background", click "background" in the pop-up dialog box and select their favorite photo can be (as shown in figure - 31); If need to change the lock screen images, you can click next to "lock screen" to choose,
Figure - 31
2) open the Firefox web browser
Click on the desktop menu group "application" & gt;" The Internet - & gt; "" The Firefox Web Browser "(as shown in figure - 32), can open the Firefox Web Browser program,
Figure 32
-3) add a normal user account (refer to your name in pinyin)
Click on the desktop menu group "application" & gt;" System tools - & gt; "" Settings "(as shown in figure - 32), can open the system Settings platform,
Figure - 33
Click the "detailed information" (as shown in figure - 34),
Figure - 34
Then click the "user management" window, can through the top right button to add a user account, according to their own name for a user name, add the account to go (as shown in figure - 35),
Figure - 35
4) cancellation, a new user login
Click on the desktop in the top right corner of the power button, in the pop-up window drop-down list on the right side of the user, according to the need to select "switch user" or "cancel" (as shown in figure - 36),
Figure - 36
5) restart the systemClick on the desktop in the top right corner of the power button, in the pop-up window and click on the lower right of the power logo (as shown in figure 37),
Figure 37
The next will be prompted to type operation, according to the need to select "cancel", "resume", "shutdown" can (as shown in figure - 38),
Figure - 38
4 case 4: the Linux command line basic operation
4.1 problems
This example with new clothes in the LINUX command line interface acquisition methods, and through the command line to complete the following tasks:
Check the kernel version, the hostname, IP/MAC address
Check the CPU model/frequency, memory size
Switch to the root directory, to confirm the current location, list what are subdirectories
Return to the/root directory,
to confirm the current locationThe current system restart
Step 4.2
This case shall be carried out according to the following steps,
Step one: command line interface for different methods
1) virtual console switch
6 virtual console LINUX system default (devices tty1 ~ tty6), each console can separate login, perform different tasks, including devices tty1, tty2 default open graphical desktop, tty3 ~ tty6 only open character pattern,
By combining the shortcut Ctrl + Alt + Fn can switch between different virtual console, Fn here represented one of the F1 ~ F6 key, for instance, when in normal graphical desktop, press Ctrl + Alt + F3 key combination can switch to the console tty3, after login into pure character mode command line interface; If you need to return before the graphical desktop, and keys Ctrl + Alt + F1 key combination,
2) desktop right-click menu
Right-click on the desktop margin or by resource managers browse folder by right-clicking in the blanks, you can see in the right-click menu "open" in the terminal (as shown in figure - 38),
Figure - 38
Click "open" in the terminal of the command line can be achieved in the graphics window display terminal program (as shown in figure - 39),
Figure 39
-3) "application" menu corresponding
Through desktop menu group "application" & gt;" Tools - & gt; "" Terminal ", also can open in the graphics window display command line terminal program (as shown in figure - 39),
Step 2: simple command line operations practice
1) check the kernel version, host name, IP/MAC address
Check the red hat issue information:
[root @ svr7 desktop] # cat/etc/redhat - release
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull