When working with some data files on Linux, it is sometimes necessary to filter out the blank lines in the system, which can be done by the various tools available in the systems. The usual introduction is as follows: 1. GrepView Code BASH
1. Download Nginx from Nginx website. Currently the latest stable version is: 1.6.2.2. Upload the downloaded nginx to the/opt/nginx directory. Run "TAR-ZXVF nginx-1.6.2.tar.gz" to decompress.3. Switch to the/opt/nginx/nginx-1.6.2 directory and run
= = System call = = =is the API interface between the application and the system kernelis a series of functional services provided by the system kernel externally.Basic points of the system call:A.CPU switching from user mode to kernel modeB. The
when introducing properties, it is mentioned that the first flag (d or-) can represent a directory or a file, which is a different file type. There are several types of Linux files:? Ordinary files (regular file): The file that is generally accessed
This article is divided into four parts: Linux basic Principles, human-computer interface introduction, user name password introduction and command format introduction
Linux Fundamentals:1, everything is a file2. Small,single--purpose Program3,
In the boot, due to the 80x86 features CS (Code Segment) This register is placed in 1, and IP (instruction Pointer) This register is all put 0, in other words, cs=ffff and ip=0000. At this point, the CPU is based on the value of CS and IP, to ffff0h
Linuxshell string truncation and splicing
Linux string truncation is very useful. There are eight methods.
Assume there are variablesVar = http://www.hao.com/123.htm
1 # intercept, delete the characters on the left, and retain the characters on
CentOS yii framework Installation
Environment:System Environment: CentOS 6.5Yii version: 1.1.15PHP: php 5.3Apache: httpd 2.2I. Introduction
Yii Framework is a high-performance PHP Framework based on components for developing large Web applications.
CentOS checks whether a software package is installed1. Run rpm-qa to check whether a software package is installed. Run rpm-qa | grep "software or package name ".2. You can use dpkg-l to view the deb package. If you are looking for a specified
Install JDK1.8.0 _ 31 on CentOS7.0
1. Check the jdk version in the system.[Java] view plaincopy
$> Java-version
Java version "1.7.0 _"
OpenJDK Runtime Environment (IcedTea6 1.11.1) (rhel-1.45.1.11.1.el6-x86_64)
OpenJDK 64-Bit Server VM (build
Install VBoxAdditions on CentOS
CentOS6.3 is installed on the VirtualBox Virtual Machine. After installation, you are advised to install the VBoxAdditions enhancement function. The main purpose is to share files between the virtual machine and the
Set CentOS system time for automatic synchronization
When using the CentOS system, we may encounter a problem of inaccurate time. How can we solve this problem? Here we will teach you a method for time synchronization in the CentOS system, I hope
What should I do if the LinuxC program exits abnormally? -- core File helps you
You must have encountered a program exit exception in Linux. The exit exception seems to have a magical magic, which will make you nervous suddenly. Don't be afraid.
Linux Process Management (c)
Understanding the principles of process control is very important for understanding and modifying fio projects. "Fio is an I/O tool meant to be used both for benchmark and stress/hardware verification ."Process
Unix
Use of the Linuxman SystemThe man system is a powerful help system in linux. It can provide almost all help information to system users and programmers.
The help information mainly comes from the selfless contribution of many document maintainers
Linux crontab command usage and example
Linux systems are controlled by the cron (crond) System Service. The Linux system has a lot of planned work, so this system service is started by default. In addition, because users can also set scheduled
Getting started with ElasticSearchIntroduction
ElasticSearch is an open-source distributed search engine with high reliability and supports many enterprise-level Search cases. Like Solr4, it is built based on Lucene. Supports time-based index and
Hadoop cluster routine O & M
(1) backup namenode metadata
Metadata in namenode is very important. If metadata is lost or damaged, the entire system cannot be used. Therefore, metadata should be backed up frequently, preferably remotely.
1. Copy
Hadoop local mode configuration
I am using the vmwarevm, Ubuntu14.04 LTS, 64-bit. I have installed Java. If I do not know how to configure it, there are many tutorials on the Internet. I will not go into details here. I installed version 1.6.0 _ 30.
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