NFS = Network File systemRole: Allows a system to share directories and files with others.Lab requires a virtual machineInstalling NFS[Email protected]# yum install-y nfs-utils rpcbindThe rpcbind is used for communication.[Email protected] ~]#
1. Introduction to Linux Desktop environmentLinux desktop environment is based on X Windows System development, so-called desktop environment is actually running on the Linux system of a set of graphical interface software, our first contact with
Integer comparison-eq equals, such as: if ["$a"-eq "$b"]-ne not equal to, such as: if ["$a"-ne "$b"]-GT greater than, such as: if ["$a"-gt "$b"]-ge greater than equals, such as: if ["$a"-ge "$b"]-lt less than, such as: if ["$a"-lt "$b"]-le less than
/binBin is the abbreviation for binary. This directory inherits the structure of the UNIX system and stores the commands most often used by the user. such as CP, LS, cat, and so on./bootHere are some of the core files used when starting
Linux Distribution base directory Linux Infrastructure directory
Catalogue
function
/
root directory, origin
/boot
Linux Boot startup directory
/lib
Library
What is sed (Stream EDitor):SED was originally a non-conversational text editor on Unix systems (Non-interactive stream editor). When SED reads the file to be edited, it will edit the file according to the editing command.Sed-i ' $d ' fileAs with
1. Major releasesThere are 3 types of Linux major distributions:(1). Debian (2). Slackware (3). Redhat(1) Debianubuntu is known for its security on desktop and server Knopix (2). SlackwareWith its branch SuSE and its sub-branchesS.U.S.E for server
1, view current directory: PWD2, switch folder: CD destination folder relative path3, view catalog: ls4. View directory and file permissions: LL5, edit a file: Vim file name = "Press the key i=" A, after editing quit do not save press ESC, then:,
1.DF view the total capacity of mounted disks, using capacity, remaining capacity (k)"-I" View inodes usage status"-h,-k,-m" is displayed using the appropriate unit, e.g. ' G '"/dev/shm" is a memory mount pointDu viewing a file or directory taking
Brief Description:1. Boot BIOS self-test2.MBR Boot3.grub boot Menu4. Load Kernel kernel5. Start the init process6. Read Inittab files, execute scripts such as RC.SYSINIT,RC7. Start Mingetty, enter the system login screenHere's a schematic:if the
Create a partition---format---"Mount using1. Create a partition[[email protected] ~]# fdisk-l view partition of disk[Email protected] ~]# Fdisk/dev/sdbCommand (M for help): M get assistance to view specific commands that can be usedCommand (M for
This article explains Linux the installationBecause it is purely learning to use, so installed in the virtual machineSoftware Required:VirtualBox-5.1.10Ubuntu-16.04.1-desktop-amd64DescriptionVirtual machines can choose VMware Workstation Pro, and
Summary of the FOR loop notationabout The shell of the for loop usage a lot, feel very comprehensive, so turn around research, hehe ...1. For ((i=1;i[[email protected] ~]# for ((i=1;i482. Commonly used in shell is for i in $ (seq)[[email protected] ~
write a script to complete the following functions:Description: This foot instinct is to create multiple yum sources in the same repo file;1, receive a file name as a parameter, this file is stored in the/ETC/YUM.REPOS.D directory, and the file name
#!/bin/BashEcho "Enter the first number"Read Ab=0 while[[$b! =1 ]] Doifb=1&& [[${a}! = *[!0123456789]* ]] ThenEcho "the input is a number"Elseb=0Echo "input is not a number please re-enter"Read Afi DoneEcho "Enter a second number"Read Bb=0 while[[$b!
1, the Replication/etc/skel directory is/home/tuser1, requires/home/tuser1 and its internal files belong to the group and other users do not have any access rights.[Email protected]/]# cp-r/etc/skel/home/tuser1 && chmod 700-r/home/tuser1 [[email
In the era of Linux rampant, do not play Linux is simply sorry it's popular, but not to use Windows, but also to work, but also working ah, the most important thing is: also Entertainment Ah!!Don't say much nonsense, go straight to the subject!1,
[Linux] redirection and pipeline, linux redirectionRedirect redirection
Each Command has the Input Source and output destination. The default act is standard input and standard output. In most cases, the standard input is the keyboard and the
Install memcached and linuxmemcached on Linux Server1. Install memcached
1. Download memcached-1.4.33.tar.gz?libevent-2.0.22-stable.tar.gz
Install memcached on libevent
2. Install libevent
A. Unzip [root @ iZ28b4kreuaZ webserver] # tar zxvf libevent-
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