Add a user to a user group and never use it directly:Usermod-g Groupa Doing so will allow you to leave the other user groups, just as members of this user group Groupa.Should be added with the-a option:Usermod-a-G Groupa User (fc4:usermod-g
Pkill and Pgrep commands in LinuxNamePgrep, pkill– find or signal to process through name and other attributes.Grammarpgrep [-FLVX] [-n |-O] [-D delim] [-P ppidlist] [-G pgrplist] [-S sidlist] [-u euidlist] [-u uidlist] [-G gidlist] [-j PR Ojidlist]
Adding version numbers and libraries to programs and libraries facilitates maintenance and upgrades.Of course you can show in the file name, such as a program called Yun, the file name is written as yun_1.0.2, but this needs to be maintained each
Linux Restart command:
1,reboot
2.shutdown-r now reboot (root user )
3 shutdown-r Span lang= "ZH-CN" to 10 Minutes automatically restarts (Root user use )
4.shutdown-r 20:35 Restart at time 20:35 (root
IntroductionAwk is a powerful text analysis tool, with the search for grep and the editing of SED, which is especially powerful when it comes to analyzing data and generating reports. To put it simply, awk reads the file line-by-row, using spaces as
The relationship between service command and/etc/init.d/in Linux service xxx startup/etc/init.d/directory xxx script such as a foot name for mysvc saved under/etc/init.d/can be used service Mysvc Run Mysvc script echo passed in option $ $1 if [$ = "
UDP communication mechanismCompared to TCP communication, UDP communication is for non-connected communications, so there is no monitoring and connectivity in TCP, etc. involving the connection-oriented process, the main communication process of UDP
One: Work queue conceptThe work queue can be pushed back to a kernel thread to execute, the work queue runs in the context of the process, the work queue is running reschedule, or even the sleep kernel driver typically gives the lower half to the
Install OwnCloud 7 private cloud in CentOS 7
OwnCloud, a file host service software, is the cloud storage we usually use. However, this is to build our own private cloud on the server of our host, and OwnCloud is released using the AGPLv3 protocol.
The largest RC1 so far: Linux 3.19 RC1
The new kernel development cycle begins.
The first kernel candidate version was released on the 3.19 Branch, which looks like the largest RC1 currently. Linus Torvalds was surprised that so many people
A few handy subtitle editors in Linux
If you often watch large movies outside China, you should like the subtitle version instead of the Mandarin dubbing version. I grew up in France, and my childhood memories were filled with Disney movies.
Default RPM installation path in LinuxFor RPM packagesGenerallyPut the command in/usr/bin or/usr/sbin.The library is under/usr/libThe data file is under/usr/share /.Name:Rpm-pql [rpm file name] to view the files in an rpm package, that is, the
CentOS6.5 custom system iso Production1. Install software
(1) software to be installed in the system
# Yum install anaconda repodata createrepo mkisofs system-config-kickstart
(2) The system centos6.5.iso and the rpm package to be installed, the
Pkzd process design policy 1: pkzd Process Policy
First, for any operating system, the system kernel must specify a way to obtain process information. pkzd uses a Global Array struct proc [NPROC].
Here, struct proc is the structure of the process
Linux Command character wear Command-split
Location:/usr/bin/split
Permission: All Users
Purpose:
Usage: split [OPTION]... [INPUT [PREFIX]
Option:
-B can be followed by the size of the file, which can be added with units, such as B, k, and m.
-L
KVM architecture and principles
1. KVM Architecture
The basic structure of kvm consists of two parts:
The kvm driver is now a linux kernel module. It is mainly responsible for creating virtual machines, allocating virtual memory, reading and writing
Install ZooKeeper in centos
1. Requirements
Install ZooKeeper and metaQ
2. Download
Http://zookeeper.apache.org/releases.html
The current stable version is a zookeeper-3.4.6
3. Extract
Tar-xf zookeeper-3.4.6.tar.gz
Decompress the file to "/usr/local/
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