View and filter text=====================================CatConcatenate-N Add line number--------------------------------------TACReverse display of file contents-------------------------------------- MorePage Flip Read Enter next space flip screen
A large number of log files are generated due to the usual server runtime. Every once in a while the root directory is packed, so write this script to monitor, when the space usage reaches 70% of the time to clean up the log, and add this code to
(not regularly updated in ... )1. Switch between normal user and rootSu Root2. Set a new root user passwordsudo passwd rootThen enter the new root user password3. Common compression commandsFormat Introduction*.z Compress Program Compressed
Tossing the new server found that all servers have only a small disk, according to the Server configuration table is equipped with two disk, you need to mount the second large disk, the default mount is the system diskMount Method:1: # fdisk-l View
Each process has its own private user space (0~3G), which is not visible to other processes in the system. The highest 1GB kernel space is shared by all processes and the kernel. In addition, the "User space" of the process is also called the
Linux system has three kinds of users: general users, system users, super usersThe Superuser's userid is 0, the system user's ID range is 1-499, the general user's ID range is 500,You can use the ID command to view the current UserIDUser Information
1. Process creationint Pthread_create (pthread_t * thread_id, __const pthread_attr_t * __attr, void * (*__start_routine) (void *), void *__res Trict __arg);The first argument is a pointer to the thread identifier, the second parameter sets the
1. Win7 set share account with password set to share2. Set up the shared directory, I am here (F:\dev)3 Create a directory below LinuxCD ~Make Windows_shareChown Www-data:www-data/windows_share #这个是运行nginx的用户 The following 501 is the group and user
Search and replace all files in Linux, and search and replace in linux
You may often encounter this situation: Find all the files in a directory that contain a string, and replace the strings in these files with other strings. In this case, it is
How to list all installed packages in the Linux release
The method to list all installed packages depends on the Linux release and Package Manager you are using.
In this tutorial, we will provide commands for mainstream releases.
Note: You can
Install Gnuplot 4.6.0 in Ubuntu
Gnuplot is a command-driven interactive function plow.program ). By entering commands, You can gradually set or modify the drawing environment and describe data or functions in graphs, so that we can perform further
Ubuntu text retrieval artifact-SearchMonkey
Sometimes we need to search for files that contain certain texts or words. If you are a developer or programmer, you will often encounter such problems. Now, we can always use Linux commands to find all
Music Play software Cantata 1.4.1-installation command with PPA
Cantata is a music player used on the KDE Desktop as a Qt4 application. The most important feature of Cantata is a modern music player. The latest version is Cantata 1.4.1. The
Bash basics, gitbash
1 concept
Bash (sh, pdsh extension): GNU Bourne-Again Shell
Sh: Bourne Shell, excellent programming and inconvenient user interaction.
Csh: C Shell. The programming interface is not as good as sh. the user interface is
Linuxscreen prints logs
Requirement: A Background Program of the company is executed under the screen. It can only be viewed in the window after being restored and cannot view all information. The background program needs to be restarted after being
Liunxssh and vncview Security & quot; row & quot;
SSH is short for Secure Shell, developed by the Network Working Group of IETF. SSH is a security protocol built on the application layer and transport layer. SSH is a reliable protocol designed for
One linux Command every day (September)
2014-09-02
Top displays the resource usage of each process in the system in real time, similar to the Windows Task Manager command parameters: -Batch B-c display complete governance command-I ignore
Hadoop2.0 nn ha experiment records
1. Introduction to HA in Hadoop2.2.0
NameNode (NN)DateNode Abbreviation: DNJournalNode (JN)Zookeeper Abbreviation: ZK
From the preceding topology, we can understand the general architecture of HA:
01. Use shared
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