1. Install and deploy dhcp. 1. Check whether the dhcp service software is installed. If not, install it. [Root @ localhost ~] # Rpm-qa | grep dhcpdhcp-4.1.1-38.P1.el6.centos.i686dhcp-common-4.1.1-38.P1.el6.centos.i686 if the check fails, you can
For Linux users, you can use the su and sudo commands. The Use Cases of these two commands are different.Su if your current identity is root, you can use the su command to switch to any other user (without a password), as shown below:
[root@lx200 ~]#
Original article address: Success!The management of user accounts is one of the most important tasks of the system administrator. In particular, password security is the most important concern for any self-declared security linux system. In this
Zookeeper
Special characters
^
Beginning of Line
$
End of line
.
Any character
[]
Contains the character range. The value "^" indicates the reverse character range. Any character in the range can be
Zookeeper
Purpose:
View File type information
Format:
File [OPTIONS...] [FILE...]
Main parameters:
-- Help
Show Help Information
-V, -- version
Output version information and exit
-B, -- brief
File Name Not Displayed
-F, -- files-fromFILE
Read
1.1 Introduction
1. After the terminal is opened, a prompt will appear, in the following format:
Username @ hostname $ or root @ hostname #
2 $ indicates a common user, and # indicates a Super User. Super Users have the highest permissions in Linux.
When you use crontab to schedule a script, the environment variables used by the script are different from those used to run the script directly in the shell (because crontab does not know your shell, only by setting environment variables such as
After installing Ubuntu, I suddenly realized that I didn't set the root password. Without knowing the password, I could not access the root user.The Default root Password of Ubuntu is random, that is, a new root password is generated every time you
If the first command is successfully executed, and the operator (&) will execute the second command
If the first command fails to be executed, or the operator (|) will execute the second command.
&& || && || || && && ||
I. smooth restart of NginxIf you change the Nginx configuration file (nginx. conf) and want to restart Nginx, you can send a system signal to the Nginx main process.Before restarting, make sure that the syntax of the Nginx configuration file is
1. Download jdk-6u45-linux-x64.bin from OracleDownload file: jdk-6u45-linux-x64.bin2. Copy jdk-6u45-linux-x64.bin to/usr/java
3 go to the/usr/java directory and modify the executable chmod u + x jdk-6u45-linux-x64.bin for the jdk-6u45-linux-x64.bin
The first process started by Linux kernel is/sbin/init, and its configuration file is/etc/inittab. This article will analyze how Linux starts it according to this configuration file, the following is a typical example of this file:
## inittab
How can I achieve smooth nginx restart and upgrade?Smooth restart kill-HUP 'cat/usr/local/www/nginx/logs/nginx. pid'
Smooth nginx upgrade:
Cd/yujialin
Wget http://nginx.org/download/nginx-1.0.6.tar.gz
Tar zxvf nginx-1.0.6.tar.gz
Cd
I have been using Ubuntu and CentOS for a long time. I recently got in touch with Linux Deepin and looked at the development well. So I thought of installing and trying it out. If I can, I should unload Ubuntu and use Linux Deepin as a dual-system.
First install: kernel-devel
Execute Command:
Yum install kernel-devel-$ (uname-r)Download the virtual machine of the corresponding version from the official Virtualbox website.
Https://www.virtualbox.org/wiki/Linux_Downloads
Then
# Rpm-ivh
The kill function sends signals to processes or process groups. The raise function allows a process to send signals to itself.
#include kill(pid_t pid, raise(-
Call
raise(signo);
It is equivalent to calling
kill(getpid(), signo);
Kill has four
[To] http://blog.csdn.net/lipengshuai0507/article/details/17020131
1. First download the latest jdk 64-bit (jdk-7u45-linux-x64.tar.gz)
Download http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html from official
The sigpending function returns a signal set, where each signal isBlocked but not deliveredTherefore, it must beCurrently pending. This signal set is returned through the set parameter. (These signals areGeneratedSignal, but it is blocked because
Changing the signal shielding characters of a process can block the selected signal or lift the blocking on them. Using this technology can protect code critical zones that do not require signal interruption. What if I want to unblock a signal and
In Linux, the pipeline command is '|', which can be used to continuously process data, as follows:
Note:
1) pipeline commands only process standard output (that is, correct output). For standard error output
2) the latter command of the management
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