directory structure of LinuxIn Linux, everything is file.The root directory/is the most central directory in Linux, and all directories and files are under it, starting with a tree structure./Below are some important directories:/boot: Store files
One, the Linux system file tree-like structure"/" root directory"." Current directory.. Parent directory, both up-level directoryPWD Displays the current directory pathLs. = ls = ls/displays folders, files in the current directoryTAB Auto-CompleteLs-
CD (change directory) Open Directory LS view current directory under File ls-l list current directory details file information pwd display path name CD. Go back to the beginning of the previous level directory-the file D is a folder ls-a show hidden
CentOS 7.0 defaults to using firewall as the firewall, where the iptables firewall is changed.1. Close firewall:Systemctl Stop Firewalld.serviceSystemctl Disable Firewalld.serviceSystemctl Mask Firewalld.service2. Install iptables FirewallYum
$ ls-l/bin/bash-rwxr-xr-x 1 root wheel 430540 Dec 18:27/bin/bash The first character in the field (-) specifies the type of the file, in this case it is a regular file. Other possible first characters are: "D" directory "L" symbolic link "C"
1 Viewing Current disk conditionsFdisk-l/DEV/SDA1 2048 6143 2048-up Linux/DEV/SDA2 * 6144 1054719 524288 Linux/dev/sda3 1054720 10508287 4726784 8e Linux LVMI only/dev/sda a disk, the system has used the default sda1 sda2 Sda3, where sda1 forgot
Loading process for files such as LINUX/ETC/PROFILE,BASHRC and setting of environment variablesReprinted: 69367215Environment variables are typically set in the profile file,
If you only want this login shell to be valid, enter it directly in
What do you see in a directory (folder)? ------------ls-lWhere is it? -----------------pwdChange Path-----------------CDCreate directory-----------------mkdirDelete directory-----------------Rfdir can only delete empty directoriesRM can delete files
Linux Boot Process learning post (load BIOS)无论什么机器,在开机后都要进行通电自检(硬件),如果硬件有问题,则无法继续下去。(例如当内存条松动时或者损坏,就会发出嘀嘀嘀警报声)。接着开始加载BIOS(Basic Input Output SystemBIOS是一个写入到主板上的一个软件程序。BIOS会去分析计算机里面有哪些存储设备,从默认的第一启动项开始启动。MBR and boot
Hello everyone my name is Liugen, from Henan Xinyang, Xinyang is a different place Oh!!!We are there is a beautiful place where we eat rice very rarely eat pasta most people's mind is that Henan eat steamed bread and the like I graduated from our
1: Java-jar test.jar or Java-jar test.jar parameter 1 parameter 2 parameter 3 // This mode is characterized by the ssh window is closed, The program stops running. Or the runtime can't cut out to perform other tasks. 2: Nohup java-jar Test.jar &
The meaning of the file color in Linux, and the meaning of the linux color
Color
Description
Red
Compressing a file or package
Blue
Directory files
Light blue
Link file
Linux System Study Notes, linux Study Notes1. Briefly describe the TCP three-way handshake four-way handshake process and the status of the client and server in each process.
In TCP/IP, TCP provides reliable connection services and uses three
Centos7 system redis installation tutorial, centos7redis
1. Download Redis
Use wget to download. I downloaded version 3.0.4.
2. Decompress Redis
# tar -xzvf redis-3.0.4.tar.gz
3. Compile and install RedisSwitch to the program directory and run the
Centos7.2 64-bit LVS + Keeplived high-availability multi-instance installation and deployment tutorial, centos7.2lvs
How to install and deploy 64-bit LVS + Keeplived high-availability multi-instance in Centos7.2
Software packages required for system:
Advantages of Linux and Linux
People familiar with computers know that Linux has many advantages over Windows, so now more and more computer users are using Linux for office and study. In general, Linux has the following advantages.1. open source
Ssh password-free login, ssh password login
Ssh password-free Login
Note:
Ssh password-less logon requires the public key and private key.
In linux or mac systems, you can use ssh-keygen to generate public/private key pairs.
1. Generate a
Linux system learning-Development Board familiarity and experience, linux --
Linux system learning-familiar with and experienced the Development Board.Section 001st: Introduction of the Development Board Components and operations on the Development
Run Nginx in a Kubernetes Cluster
After completing the previous kubernetes data persistence learning, we will try to deploy the nginx application in the k8s cluster in this section. For nginx, there are mainly two pieces of persistent data:
1. nginx
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