What's a Linux
Linux is a running operating system on the server, similar to our daily use of the PC-side Windows operating system. Although similar, there are still a lot of differences, such as Windows generally run in the graphical interface, and Linux is generally run on the init 3 command line interface. And also used on mobile phones, such as Android using the Linux Apple iOS similar to a uinx.
# Linux (CentOS 7) command line Login
The Origin of Linux
Linux was formerly Unix, Unix was not free, the price was very expensive, very few people can afford it. In this context, in 1983, Richard Stallman launched a well-known GNU program, a completely free operating system, the so-called completely free and timely requirements to join the GNU program all the software must be free to use, free release, software release must publish its source code, This code can also be used freely by others, and can only be changed, but the changed code must be published, which is the GPL protocol. 1991 Linuxtonalds Reference Minix developed Linux (just the kernel). Lays the foundation for Linux's future development
Linux Multi-Version release
Debian (1993)---ubuntu (2004) Latest news Google has replaced Debian with the Ubuntu internal operating system
Slackware (1993)---SUSE (1994)
RedHat (1994)---Centos (2003) derived free Community Edition, we learn is Centos7
RedHat---Redflag (1999) Commercial use
RedHat Fedora RHEL (2002) will need commercial use to put on this version to let the user test no problem, then put in the commercial version
Installing virtual machines VMware Workstation 10.0
First: www.VMware.com, you can also use the installation package provided by Amin Teacher: r.aminglinux.com
1. Double-click Vmware-workstation-full-10.0.1-1379776.exe installation
2. Click Next, select I accept the terms in the License agreement, click Next, the installation type appears.
3. Choose the installation Type: Custom installation, choose the installation path.
4. Select the shared virtual machine directory and Next
5. Do not need to update, tick Cancel, click Next.
6. User Experience tick Cancel, click Next, then Next, continue,
7. Enter the license key.
8. Complete
#VMware, quick and easy installation
Create a virtual machine
1. Click Create a new virtual machine, then select Typical (recommended), next.
- Choose to install the operating system later, next.
- Choose OS Linux, version 64 bit, next.
- To customize the name of the virtual machine, select the storage path, next.
- Choose Default, 20G is normal and practical use, continue the next step.
- Custom hardware, click OK.
Network adapter selected NAT mode
Bridging mode: In the same network segment as the host.
Nat Mode: Nat mode is recommended and the virtual machine is equivalent to a router.
Host mode only: the equivalent of taking a network cable to connect the virtual machine with the host.
Install CentOS to turn on this virtual machine
1. First download the disc location in the hardware
2. Boot into
Install Centos Linux7 #安装centos7系统
Test This media & install CentOS linux7 #检测安装镜像文件的可用性
Troubleshooting #用于处理故障问题
Select Install Centos Linux7 to enter the installation interface
3. Wait a few seconds to appear a graphical installation screen, select the language, here selected "Chinese" and "Simplified Chinese", click on the "Continue" button
4. After clicking the "Continue" button, the "Summary of installation Information" will be displayed. In addition to the installation location, all other defaults, click Install location, select the "I want to configure Partition" radio button.
5. Select the mount point using the partitioning scheme:
Flag partition
Btrfs
Lvm
LVM Simple Mode
We choose Standard Mode, click "+" in the bottom left corner
Partition format:
/boot 200M
Swap 4096M
/Remaining space
/boot file for system boot
Swap is the swap partition, generally divided into twice times the memory, if the memory is greater than or equal to 4g,swap 8G, because more than a waste of disk space,/partition remaining space
- Click on the upper left corner to complete, and then click Accept Changes, will return to the original installation information summary interface, click on the lower right corner of the "Start Installation" button
7. An exclamation point appears here, we need to set the root password.
- After restarting, you can enter the CENTOS7 system.
First knowledge of Linux (VMware, CentOS 7)