System Boot configuration file:/etc/inittab # Default RunLevel. The runlevels used is: # 0-halt (do not set Initdefault to this) # stop the system from running # ; 1-single user mode # into single user mode with no network features # 2
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
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
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 "">
The RC version of CentOS 7 will be released within 72 hours.According to Viz Zhao wenxuan, CentOS, as a derivative version of popular Red Hat Enterprise Linux (RHEL), is coming soon! A few days ago (December June 10), the Popular RHEL7 was released
Linux Foundation releases open-source on-board systems
Following Google, apple, and Microsoft's successive preparations for entering the car center console to launch the on-board system, the Linux camp will naturally not lag behind. Now the Linux
Has Linux been completely defeated in the desktop system battlefield?
For executives in large enterprises responsible for desktop system deployment, the Linux operating system has been hailed as the savior of enterprise-level end users. This type of
One-click Install LAMP script written in Python
Applicable installation environment:
CentOS 5.x (32bit/64bit) CentOS 6.x (32bit/64bit)
What is installed in this script (will be updated continuously ):
httpd-2.2.9mysql-5.0.95php-5.2.6
How to Use:
Large website O & M discussions and experiences1. What is O & M for large websites?First of all, the full text of the O & M refers to: large website O & M, the difference with other O & M is quite big; then we define the scope of large websites and
Install and configure the Redis server in CentOS
Note:
Operating System: CentOS
1. Install the compilation tool
Yum install wget make gcc-c ++ zlib-devel openssl-devel pcre-devel kernel keyutils patch perl
2. Install the tcl package (the
Modify host and host name in CentOS
# Vi/etc/hosts
Add the following line to the end of the file
192.168.10.10 node-10-00.example.com
Do not modify the following two lines
127.0.0.1 localhost. localdomain localhost: 1 localhost6.localdomain6
What to do after CentOS is installedI usually choose liveCD for CentOS x86-64 to install ~Because I use liveCD as a desktop, liveCD not only has a graphical interface after installation, but also has complete desktop configuration and not many
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
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
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
Set regular script execution in Linux
The following section describes the differences between ubuntu and non-ubuntu environments.
In Linux, you often need to regularly execute some scripts to implement some functions.
In Linux, we use crontab to
Use nginx as the Server Load balancer and Web Cache Server
Nginx's Web Cache service mainly consists of proxy_cache instruction sets and fastcgi_cache instruction sets. In the latest Nginx version 0.8.32, proxy_cache and fastcgi_cache are
Restore and operate CentOS Git
$ Git log -- graph -- oneline $ git reset -- hard version number
Use reflog to save wrong Reset
[Jackluo @ localhost demo] $ git reflog show master | head-5Reset
$ Git reset -- hard master @ {2}
Ls
$ Git log -- oneline
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