These days interview a few want to do Android Linux drive, the overall sense of the driving base is still relatively weak, most of the situation is the driver, but basically the kernel is out of the box, or the Development Board already have,
Due to Linux system mechanism problems, the creation and writing of files is not written directly to the hard disk, but is written to the cache first and then written to the hard disk when the system is shut down or required. In order to prevent
The main subsystems of Linux are CPU, Memory, IO, Network. in these subsystems, they are highly dependent on each other. A high load on any subsystem can cause problems in other subsystems. For example: a large number of paging requests to memory
Mainly for the future to be able to extrapolateApache Configuration ScenariosFirst, install a third-party module of Apache "MOD_RPAF", official website: http://stderr.net/apache/rpaf/wget
The less tool is also a tool for paging through files or other output, which is a very powerful tool for Linux to view the contents of a file. The usage of less is more resilient than more. In more, we have no way to turn front, can only look back,
The more command is to display the contents of the file from top to bottom on the screen. More will be a page-by-page display to facilitate the user to read pages, and the most basic instruction is to press the space Bar (space) on the next page,
A new project group was swapped for a while ago. The past found no SVN. The code is manually compared to the archive. It was a sore egg at the time. It's too damn hard for me. Not much to say, to test the server address. Started up. Because the
Linux uses the locate command to locate the file, linuxlocate
From: http://linux-blog.org/finding-files-with-locate/
FIND command
Many Linux users like to use the find command to find files. For example, they usually like this:
Find/-name
Quickly clear text files in linux and clear linux text files1. [root @ desktop huage] #:> filename: Is a placeholder and does not generate any input 2. [root @ desktop huage] #> filenameNo output is generated. 3. [root @ desktop huage] # echo "">
Configure l2tp and ipsec for centos6
Some time ago, I had an l2tp + ipsec server. It is summarized as follows.
I. Software Installation
1. Install openswan
Install openswan in yum to install the dependent packages together.
Yum install openswan
2.
CentOS GCC Upgrade tutorial
This article is reproduced from: http://wgkgood.blog.51cto.com/. thank you for your appreciation!
Recently due to reasons of demand, need to upgrade the current gcc-4.4.4 to gcc-4.6.1, considering there are multiple
Ubuntu -- grubrescue Master Boot fix
If you have been using windows and ubuntu for a long time, you may have to reinstall a system or add another partition, resulting in system restart:
GRUB loadingerror:unknow filesystemgrub rescue>
Reprinted
Linux shutdown command detailsIn linux, some common shutdown/restart Commands include shutdown, halt, reboot, and init, which can be used to restart the system. However, the internal working process of each command is different, through the
Centos6.5 + Django + mysql + nginx + uwsgi
1. Install nginx. Here the nginx-1.6.0 is used, a shell script is created and then executed.
#!/bin/bashnginx_version="nginx-1.6.0"yum -y install gcc gcc-c++ pcre pcre-devel openssl openssl-develcd softtar
How to view diskspace hard disk applications in linux
The df command is used. df is the abbreviation of disk filesystem.
Many useful tags can be added later.
Df-h is displayed in a format suitable for human reading, that is, the unit of capacity
View and terminate processes in linux1. Check which process occupies the port.
Example: netstat-anp | grep 1160
Ps: Check that port 1169 is occupied by that process.2. Search for processes
Example: ps-ef | grep 'tomcat'
Ps: Find the process
Linuxtomcat one-click maintenance script (worth adding to favorites)
#! /Bin/sh
A = "/usr/share/tomcat7/webapps/ROOT" B = "/usr/share/tomcat7/webapps/ROOT. war "c =" ROOT. war "tomcat_stop ="/usr/share/tomcat7/bin/shutdown. sh "sh" $ tomcat_stop
Linuxfind remove error messages
In Linux, access to some directories may not be permitted, and many error messages may be printed.
1. root directory file content
-Bash-3.2 $ lsAnaconda-ks.cfg bea Desktop lib wls1036_generic.jar.
2. Search for the
CentOS6.5 build freeradius ServerBuild freeradius service # yum install freeradius-mysql freeradius-utils mysql-server-yStart mysql# Service mysqld startSet mysql password and Security Settings/Usr/bin/mysql_secure_installation (execute the
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