Knowledge Points:1. Virtual Console :After the system starts directly into the character working mode, the system provides multiple (default 6) virtual consoles. Each virtual Console can be used independently of one another.You can use ALT+F1~ALT+F6
Startup, shutdown, kill process for Tomcat under Linuxcd/java/tomcat# Execute bin/startup.sh #启动tomcatbin/shutdown.sh #停止tomcattail-F logs/catalina.out #看tomcat的控制台输出; See if there is already a tomcat running PS-EF |grep tomcat# If there is, use
Iptables Learning Foundation, is currently in the learning stage! Please do not spray the big God, but also please advise!The picture may not be clear enough, the attachment has been uploaded, but it's still in review .....!!!!!And so the audit
Linux modifies the system host nameFirst, view the host name uname -hostnamexqztIi. four ways to modify hostname?1:hostname XQZT--effective immediately after operation (new session takes effect), but changes are lost after the system restarts2:echo
Linux also supports Remote Desktop, which seems to be ignorant.Recently in the study of tree mold, a super-cow than the thing, only the size of the credit card, but is small, perfectly formed, inside installed Linux system, without display, to our
Time can not only be counted, but also reflect CPU, memory and so on. One, time Format: Time [options] [commands] [arguments] Such as Time LS Real 0m0.016s User 0m0.001s SYS 0m0.002s The time command, followed by the-p parameter, can print only
. tarUnpacking: Tar xvf Filename.tarPackage: Tar cvf filename.tar DirName(Note: Tar is packaged, not compressed!) )———————————————. gzDecompression 1:gunzip filename.gzDecompression 2:gzip-d filename.gzCompression: gzip FileName. tar.gz and.
Original link:Linux under the unzip command Daquan. tarUnpacking: Tar xvf Filename.tarPackage: Tar cvf filename.tar DirName(Note: Tar is packaged, not compressed!) )———————————————. gzDecompression 1:gunzip filename.gzDecompression 2:gzip-d filename.
Once again today to build a Linux production environment. This is a lot of steps, very cumbersome and have to do things. Although done many times, but there are many steps, orders do not remember, every time everywhere to find the information is
1. When Linux processes command-line programs, the input parameters can be processed using the GET_OPT library function, which facilitates the production of command-line tools.2. When the program needs to stop waiting for the signal to end, the
The-a-b-options for grep are detailedgrep can find the line with the keyword, but the work sometimes needs to find the line before and after the line, the following is explained1. GREP-A1 keyword filenameFind the row with keyword in filename, in
Problem Description:$ Command 2>> Error$ command 1>> outputIs there a way to implement output stderr to the error file and output stdout to an output file on Bash's same line?That is, how to implement stderr and stdout redirect to different files on
You can change the password before logging in by entering single user mode.The first step:Restart the system, before entering the system by pressing the "ESC" key in the upper left corner of the keyboard, will enter the following page:Then press E
CentOS Boot Process
To start CentOs, follow these steps:I. POST power-on self-check
Post on self test (post on self test) first checks Each device, finds the device with a boot record, finds the Boot Record read into the operating system, and
CentOS 5.11 enters rescue mode
I recently studied centos5.11, but I don't know what's going on. I restarted the system once, and the system failed to start normally. I tried it for half a day and said it was about to enter the rescue mode. I am a
Minimal installation of linux CentOS-6.6 after the deployment of fastdfs + very dry goods, centos-6.6fastdfs
Reference: http://blog.itpub.net/7734666/viewspace-1292485/
Install necessary software
Yum-y install wget gcc perl
Mkdir ~ /Zy
Cd ~
Set the highlight, line number, and indent of vim configurations in centos.In centos, the vim configuration file is stored in the/etc/vim directory. The configuration file name is vimrc.Enter the following command on the terminal to edit the vimrc
Default Apache site homepage settings
The first page of apache's homepage is index.html. When we need to change the homepage file or add a homepage file, we can add the configuration statement to the httpd. conf file.
The default configuration
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