Install 3 machines as zookeeper cluster, 3 machine IP is 192.168.174.7,192.168.174.8,192.168.174.9 respectively. Zookeeper is written by Java, so install the JDK environment before installing zookeeper.
Create zookeeper installation directories
fdisk Common command parameters
-b
commonly used commands show:
View the new disk information
[[email protected] omc]# fdisk-l
Operation of one disk
[[email protected] omc]# fdisk/dev/sda2
First, in explaining under what circumstances need to open large pages and why need to open a large page before understanding the next page of Linux related knowledge:The following content is based on a 32-bit system, 4K of memory page size made
1. List The files of the current directoryLS lists all files or foldersLs–l lists so files and their detailed detailsLS *file lists the files that begin with fileLs-l *.doc gives all files that end with. doc in the current directory2. Copy file CPCP
1. Concept:Asynchronous notification mechanism: Once the device is ready, the application is actively notified so that the application does not need to query the device state at all, and is a "signal-driven asynchronous I/O". The signal is a
1. Method One:
Add Add route
del Delete route
-net setting a route to a network segment
-host setting a route to a host
GW Export Gateway IP address
Dev Egress Gateway Physical device name
Add route
Basic preparation--command tamper-proof and command loggingMany hackers invade the operating system, will do two common operations unset history and replace the command file (or the corresponding link library file), for these two points to do a
Https://www.cnblogs.com/liaocheng/p/4243589.htmlLinux Yum Command detailedYum (full name Yellow dog Updater, Modified) is a shell front-end package manager in Fedora and Redhat and SuSE. Based on RPM package management, the ability to automatically
Under Unix/linux, the efficient way to work is not to manipulate graphical pages, but command-line operations, which means easier automation. A friend who has used a Linux system should know the power of its command line. Now, how much do you know
premise: Assume that readers who read this article already have basic Linux usage skills to solve system installation problems and software installation techniques.
Note: This article involves the main installation package (need to
Https://jingyan.baidu.com/article/7908e85c725159af481ad2f7.htmlUnder Windows We look at the system information directly right click on the computer properties can be viewed. So how do you see it in a Linux system? Here are a few ways to see it.Tools/
md5sum 计算和校验文件的 MD5 值Syntax format: md5sum "option" "File" md5sum [options] [file]Note: The md5sum command and subsequent options and files must have at least one space between each elementOption Description:
parameter Options
Https://www.cnblogs.com/wangtao1993/p/6144183.htmlHow Linux looks at portsLsof-i: The port number is used to view the occupancy of a port, such as viewing 8000 ports usage, lsof-i:516061 lsof-i:5160623 COMMAND PID USER FD TYPE DEVICE size/OFF
1. Read the parent directory of the executionbasepath=$ (CD ' DirName $ '; CD.; pwd)2.Sudo switch User and execute MySQL statementecho ' password ' |sudo-u mysqladmin-s/usr/local/mysql/bin/mysql-umysql user name-pmysql password-e "delete xxxx;"3.
Linux common commands explaining1.1 Linux Command Basics1.Linux commands (provided by developer-written software)? An instruction or program used to implement a class of functions? The execution of the command depends on the interpreter program (for
1. JoinMainly in the processing of "two files, there is" the same data "in the line, just add him together" meaning.Format: Join [-ti12] file1 file2Options and Parameters:-t:join the data is separated by a space character by default, shipowner and
First, the problem appearance:Program Log error: Java.io.IOException:Too many open files atSecond, the solution:1. Check the maximum number of files that the system is allowed to open:Cat/proc/sys/fs/file-max2. View the maximum number of files
wc 系统启动异常诊断Syntax format: WC "option" "File" WC [options] [file]Note: There must be at least one space between each element in the WC command and in the options and files that follow.Option Description:
parameter Options
uname 查找目录下的文件Syntax format: uname "option" uname [options]Note: There must be at least one space between each element in the uname command and in the options and options that follow.Option Description:
parameter Options
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