role through UID and the GID differentiateRoot: Super administrator, with all permissions, UID (0).Ordinary users: Have all permissions to operate their own home directory, other files and directories (/etc,/var) only Read permissions, UID (500-65535
The spilt command is used to split a file into a number ofBy default, each 1000 is cut into a small fileSplit [-parameter] [file to be cut] [output FILENAME]Parameters-[Number of rows] Specify how many lines to cut into a small file-B bytes Specify
12.21 PHP-FPM's Pool
Requirements background:Suppose Nginx has multiple sites, each with its own pool, so that when a site has a problem (such as a 502 error), other sites are unaffected.
The following is an example of setting up [www] and
Common commandsIptables-l-N view firewall rules;Iptables-f to clear all rule chains in the preset table filterIptables-x Clear Preset table rules in user-defined chains in filter/etc/rc.d/init.d/iptables save to write the changes to
Awk is a text analysis tool that reads the file line-by-row, splits each line with a specific symbol (the default space is a delimiter), and the cut section is processed in various ways.Awk has its name from the first letter of its founder Alfred
Installation and partitioningTwo Ubuntu were installed on the virtual box on OS X and WIN10.Installation and simple shell commands do not say, no big gains.There was a problem in the middle because deft on hand did not allocate enough memory to the
1.samba Server OverviewSamba is the first bridge between Linux and Windows two platforms, and thanks to the advent of samba, we can communicate with each other on Linux and Windows systems, such as copying files, sharing resources between different
Today, when calling ABBYY, it is necessary to pass AppID and apppasswd to the system environment in order to execute the corresponding Python calling code.After setting, because write the code to turn off the terminal, directly after running the
One, create a new disk as swap1. If the system itself has swap, stop swap# swapoff-a2. Create a new disk partition using FDISK, or the parted tool3. Format Swap# MKSWAP/DEV/SDC14. Start a new swap# SWAPON/DEV/SDC15. Add to System Auto mount# Vim/etc/
Note: Almost all device structures contain the structure of "Strcut kobject kobj" and "Srtuct list_head list".struct Kobject kobj:This structure is used to build the model of Linux device driver model.struct List_head{struct List_head
Kernel threads are similar to user processes, typically used for and concurrently handling tasks of a nature, and can preempt scheduling. Unlike user processes, kernel threads are in kernel space and can access kernel functions and kernel data.
Role of systemd
In the morning, the group discussed the role of systemd, which also led to a person's direct withdrawal from the group. In the spirit of seeking knowledge, he searched for some systemd and made some corresponding sorting;I. The birth
CentOS6 and CentOS7 install jumpserver and centos6jumpserver1.1 jumpserver Installation
Synchronization time: ntpdate ntp1.aliyun.com
Disable selinux
Disable Firewall
System font changed to English1.1.1 install dependencies (the epel source is
Notes on Linux from entry to entry,Chapter 1 basics chapter 1st Linux Overview 1.1 Linux origins: in 1991, a Finnish student, Linus Torvalds, wrote a disk drive and file system open-source release. Linux is "Linus Minix ". The latest kernel version 4
Install Linux, Windows, and erlanglinux in Erlang
Linux
1. Download
File Name: otp_src_18.0.tar.gz
Ii. Decompression
Tar zxvf otp_src_18.0.tar.gz
Iii. Preparations before Compilation
Yum-y install make gcc-c ++ kernel-devel m4 ncurses-devel
Summary of the methods for opening ports in Linux and the summary of opening ports in linux
Open Port method:
Method 1: Command Line? ? ? ? ? ? ? ? 1. Open PORT command:/sbin/iptables-I INPUT-p tcp -- dport 8080-j ACCEPT? ? ? ? ? ? ? ? 2. save:/
In linux, rsync is deployed in centos x64 6.8 to implement remote file backup and synchronization, and centosrsync
By default, centos has been installed. If not, check it first.
Rpm-qa rsync
Yum install rsync
Server (Backup Server)
1. Write the
In Ubuntu, the command line is used to create (delete) files (folders ).In many cases, we create and delete files/folders on the terminal.
Press ctrl + alt + t to open the terminal:
Create File: touch a.txt create Folder: mkdir NewFolder delete file:
Ubuntu disk resizing and ubuntu resizing
1. The virtual machine changes the disk size.
2. sudo apt-get install gparted
3. Open the installed Application
4. Change the partition
5. Theoretically Delete the sda2 and sda5 after
Catalina. out in Tomcat continues to accumulate the problem. Solution: tomcatcatalina. out
This method does not require you to modify the Tomcat configuration for beta testing. It is available.
1. Add the file clear_log.sh In the tomcat bin
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