First day of the Linux Foundation course

Source: Internet
Author: User

Installing the Oraclelinux Environment

Note: Dynamic allocation, the size of the space will increase as the content increases, but will not exceed the pre-set value;

Fixed size, fixed space size

Set up the relevant content after the creation is complete:

Note: Settings → general → The shared pasteboard in the Advanced tab, drag-and-drop, is set to bidirectional for the purpose of implementing copy-paste and file-dragging between the virtual machine and the physical machine.

Note: Settings → system → motherboard tab, the floppy drive is canceled and the optical drive and hard drive are arranged in the order of the drive after the first drive.

Note: CPU processor allocation, according to the number of its own computer processor, the appropriate allocation to the virtual machine, generally not less than 2 music. (e.g. 4 cores, 2)

Note: Settings → storage → attribute assignment optical drive Add system image

Note: Settings → network → Nic 1 Enable network connection, connection mode select Host-only, interface name selection system default;

Network settings virtual machine NIC connects to network via physical machine NIC, select Bridge

Network connectivity between multiple virtual machines under the same physical machine, select the Internal network

Connection between virtual machine NIC and physical machine NIC, but not connected to network, select Host-only

When the configuration is complete, click OK.

Note: Select Skip

Note: NEXT

Select: Chinese (Simplified) (Chinese (Simplified)) and next

Note: choose US English style

Note: Select the basic storage device (general personal practice option, if the enterprise uses perhaps a separate storage space, then choose the latter) and next

Note: Select Yes, ignore all data, simply clean up the content stored in the partitioned virtual space. And Next

Note: Host name is set to: server.test.com

Note: Configure the network, select System Eth0, and edit

Note: Tick the automatic connection and in the IPV4 settings, change the method: manual, then add the ip:192.168.0.1 subnet mask to the address of 24, if there is no auto-populated 24, you need to modify it manually. Click Apply when done and next

Note: SELECT Asia/Shanghai and Next

Note: Set the password to password and next. Pop-up warning is not safe for passwords, choose to use anyway.

Note: Choose to replace the existing Linux system and next

Note: Select write modifications to disk and next

Note: Here you choose the type of Linux system to install, we choose Desktop, with a view of the system. And Next

No, go straight ahead.

Note: The time is by default and you do not need to sync on the network yourself. Go straight ahead.

Select Done

Login with root privileges, password password

Configure remote

1. Open management → global settings → network → currently using the network tab → Edit IP set to 192.168.0.100

Linux cognition

Linux kernel version

View Linux kernel version:uname-r

The Linux kernel version number 2 is the major version number 6 is the minor version number (the minor version number is the odd beta, the even is the official version) 39 is the number of corrections.

Linux distribution version

1. Red Hat Linux

2. SUSE Linux

3. Oracle Linux

4. Red flag (Red flag)

5. Ubuntu

6. Cent OS (sync with Redhat version and free)

View Hairstyle version: Cat/etc/redhat-release

Cat/etc/oracle-release

Linux interface

1. Gnome desktop Environment (existing Linux basic common for this type of desktop)

2. KDE Desktop Environment

Linux character interface

The role of the character interface opened in the graphical interface is consistent with the role of Putty and Xshell.

Content Focus: Mastering learning online Help Tool Man (Manual page)

Basic commands: Three-part command options-parameters

Shut down the system: shutdown

-R restarts but has a one-minute delay.

-H is off but has a 1-minute delay.

Quickly turn off or restart Shutdown-h now

Restart: reboot

Man manual page

Man manual page Directory: View command: Man Mans

1. User commands

2. System calls

3. C Library functions

4. Equipment and special files

5. File formats and conventions

6. Game Program

7. Miscellaneous set

8. System Management tools and Deamons

Online Help system: View man manual page

Ls-d/usr/share/man/man?

The man manual page is stored under the/usr/share/man/man path.

Quickly locate in the help page:

Mans LS

: Add to/back to check for content such as:-L (Request find content Inversion)

Fast query N backward n forward (jumps in and out of the content of the inverse lookup)

View the contents of the manual section

Redhat proposed solution to the passwd command as an example

Man Chapter number passwd

See where the command is: which passwd

View command details: Man passwd

See what is included in the command through the file path: cat/etc/passwd

First day of the Linux Foundation course

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.