Introduction to the skills of this articleLearn how to install the Red Hat Linux operating systemLearn about the boot process for Linux systemsLearn how to control system services in LinuxLearn how to optimize startup tasks for LinuxRed Hat Series
Because the Linux system is too esoteric, I am purely rookie general so as long as understand how to configure the good, at present do not need to understand why so configure!Path to the Linux NIC configuration
Linux Basics (iv)Through the previous knowledge of learning, to learn now sell it!1. Title: Cluster construction1.1, the deployment of Nginx reverse proxy three Web services, scheduling algorithm using weighted polling;1.2, all Web services use
User's rights management;Normal permissions:Special permissions:Special attributes of the file;Facl (File access control List):Normal permissions:The process security context;1. Determine whether the owner of the process is the master of the file
Modify the size of the swap partition (two methods) after you install the Linux systemAfter installing the Linux system, the swap partition is too small, how can I expand the swap partition? There are two ways, one is to create a new swap partition,
1 What does the color of each file in Linux mean?Linux systems contract The default colors for different types of files:
White: Indicates normal file
Blue: Indicates directory
Green: Represents an executable file
Red: Indicates
AWD sed Problemadd a blank line after each linesed G file insert a blank line after the line that matches the style "regex"sed '/regex/g ' file Count rows (simulate "wc-1")wc-l File Insert 5 Spaces at the beginning of each line (to move the full
Control of system Services1.systemdSystem initialization program, the first process that the system starts, the PID is 12.systemctl commandSystemctl List-units # #列出当前系统服务的状态Systemctl List-unit-files # #列出服务的开机状态Systemctl Status sshd #
2017-03-10Recall that the original computer design, in the case of a single CPU, at the same time can only be a thread (under Linux for the process) to occupy the CPU, and the Linux kernel before 2.6 does not support kernel preemption, when the
Linux Basics (ii)Actions related to user groups and permissionsOne, useradd command options:–u: Specifies the UID of the user useradd–u mu #指定mu的UID为100–g: Specifies the group to which the user belongs useradd–g Mark Mu #指定mu的所属群组为mark–d: Specifies
Nginx with upstream module for simple load BalancingWithin the upstream block, define a list of servers, the default is polling, if you want to determine that the same visitor's request is always handled by a back-end server, you can set the Ip_hash,
Tagged with: Linux wildcard charactersFileName Wildcard: *: Any character of any length?: any single character []: matches any single character in the specified range [abc],[a-m],[a-z],[a-z],[0-9],[a-za-z],[0-9a-za-z][^]: matches any single
Compress bz2, XZ, zip, ZThe directory cannot be compressed and the original file is deleted by default after compression.Gz:gzip/path/filename-D DecompressionGunzip/paht/some_filenameZcat/path/somefile.gz: View the contents of the text file under
1. In Linux, the Ethernet connection interface is ordered as: Eth0,eth1, where 0, 1 indicates the network card number.2.lspci to view NIC hardware information (USB is LSUSB)3.ifconfig to view interface informationIfconfig-a to view all
1.bin: Saves the executable file, which is the command. All users can execute.2.boot: Boot directory, operating system boot kernel boot.3.dev: Device files, all the hardware is abstracted into the file system.4.ETC: Profile directory, most of which
1. Upload the extracted filesFiles: Hbase-1.0.1.1-bin.tar2. Change the configuration fileIn the hbase-env.sh,Export java_home=/home/lang/software/jdk1.8.0_121Export Hbase_manages_zk=trueIn the
RM is a commonly used command that removes one or more files or directories from a directory, and it can delete all files and subdirectories under a directory. For linked files, just delete the link, the original file will remain unchanged-F,--force
A ping is a communication protocol that is part of the IP protocol, a portion of the TCP/IP protocol. It can be used to check if the network is able to connect, so it can help us to analyze and determine the network fault. The application format is:
Latexila is a multi-language LaTeX editor designed for Linux users who prefer GTK + skins. This software, in addition to simple operation, powerful, and customization is also very high, so I highly recommend to latex interested friends to try.In
007day -- common linux commands for nginx and nfs services, 007day -- linuxnginx
Job:
Cluster creation
1. Deploy nginx reverse proxy for three web services. The scheduling algorithm uses Weighted Round Robin;
2. All web services use shared storage
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