grep is the command of the Linux Chinese editing class to select the desired text contentMain format: grep [option] "PATTERN" FILENAMEOption:-I ignores case-O displays only the characters that match-V Reverse display (shows rows not matched
The __ASM__ function is often encountered in Linux source code. It's actually a macro definition of function asm.#define __ASM__ asm,asm function allows the system to execute assembly statements.__asm__ often appear with __volatile__. The __volatile_
#vi /etc/network/interfacesOR$ sudo vi /etc/network/interfacesModify as follows:1 Auto Eth02Auto Eth0:03Auto Eth0:14Iface eth0 inetStatic5Address192.168.1.16Netmask255.255.255.2487Gateway192.168.1.2548 9Iface eth0:0inetStaticTenAddress192.168.1.2
Linux viewing System Information commands are essential for Linux beginners, and these commands are also useful because the first thing you can do to get into Linux is to look at the system information first, so the necessary systems to learn about
2 Steps for Scheduled cleanup1. Find out the files that need to be cleaned2, the system to increase the scheduled execution of tasksFirst step , VI dellog.shStep Two , find the files you need to clean upInput: Find/var/log/nginx-mtime +7-type f-name
Nginx installation in Linux and Linux Nginx Installation
System Environment: CentOS 6.5
Nginx version: nginx-1.6.0.tar.gz
1: create a directory# Mkdir/doiido/soft
# Cd/doiido/soft
2: Install the dependent packages required by Nginx:
# Yum-y
Linux Command details at scheduled task execution, linuxatCommand:
A task can be executed only once at a specified time.
Syntax: # at [parameter] [time]
At> executed command
Exit at command ctrl + d
Command prerequisites:
You need to enable the atd
Linux Startup error unexpected inconsistency; RUN fsck MANUALLY, inconsistencyfsck
If an unexpected power failure occurs, the following error is reported when CentOS is started:
Unexpected inconsistency; RUN fsck MANUALLYAn error occurred during
How to install jdk, tomcat, and linuxjdktomcat in linux
Jdk: http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html#jdk-6u21-oth-JPR
I. Installation
Create the installation directory, create
Rotten mud: Apache and rpmapache for making RPM packages in the Linux source code package
This article is sponsored by Xiuyi linfeng and first launched in the world
There are many servers in the company. You need to make the apache source code
Linux host time synchronization Summary (ntpdate)
Time Synchronization is required when the production server is deployed,In particular, the Database Host must synchronize time,Prevent low-level errors!
Summarize my deployment experience:
1. Create
Use crontab to automatically back up databases in Linux
Use crontab to automatically back up databases in Linux
Here we use the crontab scheduled task addition and mysqldump to perform simple database backup. The specific steps are as follows:1.
Run the command chmod to modify CentOS file permissions.In Linux, each file and directory has access permission to determine who can access and operate files and directories.File or directory access permissions are divided into read-only, write-only
Some common Linux commands
There are too many commands in Linux. Here we will sort out some of them for the time being. For the sake of practicality, no specific parameters are listed here.
Part 1: File Operations
Ll view directories and files in
Usage of rpm commands in CentOSI. Introduction to RPM
1. What is rpm?Rpm (RedHat Package Management) is one of the RedHat inventions.
2. Why rpm?
In an operating system, you must install software packages that implement various functions. These
CentOS6 use a local CD to install the graphical interface
Here is the installation tutorial using a CD:
1. First, attach the disc. Note that the directory will not be automatically created when the disc is mounted. Therefore, you need to create a
Install mongoDB on CentOS7
MongoDB is one of the most well-developed NOSQL databases. It is eye-catching in the storage of big data and space data!Generally, mongoDB is deployed on a linux System in enterprise-level applications. For Tom, deploying
Nginx Access Control in CentOS
The Nginx access control module will be installed by default... Unless you... His instructions and usage are also super simple...
Command:Allow Syntax: allow address | CIDR | unix: | all; default
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