Rights Management
Read,write,executeR,w,x Read and write executionFileR: For files, you can display their content by using the commands for the content view classW: You can use the editor to modify its contentsX: You can initiate a process
First, prepare a zookeeper cluster environment, where you use a stand-alone simulation cluster environment and start the service in code mode.
Zookeeper Service
This assumes that starting three zookeeper services do cluster
Package
User-defined services to be added to boot:1)/etc/rc.localWhen the power is turned on, each line of content written in this file will be found and executed2)/etc/init.d/When the system is powered on, the service will be found in the directory
First, Aliyun Linux (Redhat) installation vsftp software
1. Update Yum Source
First need to update the system Yum source, convenient tool download address: Update_source.zip. It should be noted here that the file is currently unable to transfer,
Feature Description: Find files.
Syntax: Whereis [-bfmsu][-b Supplemental Note: The WHEREIS directive looks for eligible files in a specific directory. The spirits of these files should be in the original code, binary file, or help
First use: PS aux to view the memory usage of each process.
Reboot/shutdown of PHP-FPM
The PHP-FPM in PHP 5.3.3 no longer supports PHP-FPM previously available commands such as/USR/LOCAL/PHP/SBIN/PHP-FPM (Start|stop|reload), which require signal
1, before the installation, in the system to create the following users and directories
#useradd nobody//default configuration needs to be used by users#mkdir/usr/share/empty///default configuration directory to use#mkdir/var/ftp//anonymous FTP
The first way to enter VI:
Vi/etc/sysconfig/iptablesPress Insert to switch to insert mode, and if you press again, the status becomes replace, and if you need to quit, press ESC.
: w #保存而不退出: Q #结束编辑: q! #不保存直接退出: Wq #保存并退出: x #保存并退出The PageUp and
The code is as follows
The code is as follows
Copy Code
#!/bin/bashRM-RF www.111cn.net.phpecho "" >> www.111cn.net.phpecho "" >> www.111cn.net.phpEcho ' ruclinux System Information script ' >> www.111cn.net.phpecho "" >>
1. Loop through the current directory all file names contain html.php files[Org/tag/root ">root@yu1u.org/]# find. | grep "html.php"
2. Loop through the current directory all file names contain html.php files and delete[root@yu1u.org/]# Find. | grep
Interview question content:Requirement: use "|" as the separator to print the first character of the first field is 1, the second character of the second field is 2, and the third character of the Third Field is 3, and so on; the first eight
This article basically refers to the linux disk resizing that was used by the old company during work. fdisk is used, and parted is later used for resizing. The fdisk resizing method is also recorded here.Note: The accident is not prevented. Back up
IntroductionAwk is a powerful text analysis tool. Compared with grep search and sed editing, awk is particularly powerful in data analysis and report generation. To put it simply, awk refers to reading files row by row. Each line is sliced with
Introduction:Link, a method for establishing a connection between a shared file and several Directory items of the users who access it.Linux contains two types of links: Hard Link and Soft Link. Soft link is also called Symbolic Link ).Inode is an
1. List the usernames of all logged-on users on the current system. Note: Only one user can be logged on multiple times.~] # Who | cut-d ''-f1 | sort | uniq2. List the information about the users logging on to the current system.~] # Last | head-13.
Nfs:Network File SystemRPC: Remote Procedure CallNFS: sun R & D, protocol;NFSv1, not out of the labNFSv2 (insecure), NFSv3,NIS: Network Information ServiceNfsd: 2049/tcp is listened by nfs-utilsInstall nfsInstall both the client and serverYum
Samba:Start the service: nmb. server; smb. serverWill be output to the client through the file systemSmb: Service Message Block; Service information BlockCifs: Common Internet File System, universal Internet File SystemSamba: Andrew Tridgell; the
A few days ago, the old man saw the powerful log analysis tool GoAccess in the blog of June and Xiaoye, it is a good tool for analyzing and counting website logs and user data in Linux VPS/server. Just like many large websites, we seldom see Website
I want to change Apache2.2 to Nginx for a few days. Today I will try it. Found a stable version: 1.4.1 http://nginx.org/download/nginx-1.4.1.zipThe configuration is very simple, that is, it is troublesome to manage nginx and php-cgi
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