Directly change the iptables configuration can be: vim/etc/sysconfig/iptables
1, close all the INPUT FORWARD OUTPUT only to some ports open. Here is the command implementation:Iptables-p INPUT DROPIptables-p FORWARD DROPIptables-p OUTPUT DROPThen
The Linux kernel must be compiled using the GNU gcc compiler, and GCC provides a number of C language extensions that provide strong support for optimization, target code layout, and more secure inspections. Therefore, the C syntax used by kernel
/usr/bin/vi ~/.BASHRC
When you configure JDK, some variables are modified in the root environment, which is not available.
Content:
1:source/etc/environment, go to the file that you have not modified path, then the LS command can be used;
2:
A new text file
Vi/etc/init.d/nginx II, add #!/bin/bash# nginx Startup script for the Nginx HTTP Server# It is v.1.12.0 version.# Chkconfig:-85 15# Description:nginx is a high-performance Web and proxy server.# It has a lot of features, but it ' s
1. Several important data structures:
1.struct Irq_desc;
Represents an interrupt number of 31struct Irq_desc;
32typedef void (*irq_flow_handler_t) (unsigned int IRQ, struct irq_desc *desc); 175struct Irq_desc {176 unsigned int IRQ;//Interrupt
why to learn Linux.
Why study Linux, everyone has their own reasons: Linux is free without spending a penny, can save a lot of costs; Linux is open source, you can modify the source code according to your own needs; Linux is open, with a wide
Linux Startup Linux Services
First into the bin directory under the Tomcat home directory
1, direct start:./startup.sh
2. Start as service: Nohup./startup.sh & (Execute startup.sh, and save log to Nohup.out folder)
3, the dynamic output mode of
Linux is just a personal hobby, before a little touch, the school of this part of the learning arrangements in the next semester, and they are now ready to practice, many companies on the operating system and Linux inspection is more, whether in the
Machine Preparation
A: Control the machine, own machineB: remote machine, 192.168.55.12 step in a machine input the following command, in the pop-up three selection of the generated key in all set to NULL, direct hit Enter
SSH-KEYGEN-T RSA
In a
Turn off the firewall before starting the installation:Systemctl Stop Firewalld.serviceSetenforce 0Install the required configuration environment first:Yum-y Install ncurses ncurses-devel Bison cmake gcc gcc-c++After you create the MySQL
The wildcard character of Linux is different from The Three Musketeers (grep, awk, sed) Regular expressions
Wildcard is a user command line bash environment
Linux wildcard characters
symbols
function
CAL-Y 2008 Query Fixed yearDate View current timeDate "+%y=====%m=====%d" Time special formatY 20 + y back two digitsDatePs-aux See all currently running programsTopHtopKill Add Program numberKill-9 forced KillReboot restartShutdown-h (now or time)
Awk:Awk is a powerful text analysis tool, relative to Grep's lookup, the SED editor,Awk is especially powerful when it comes to analyzing data and generating reports.To put it simply, awk reads the file line-by-row, using spaces as the default
CD Switch DirectoryCD-Switch to the previous directory
LS lists directories and files (the fastest way to find the most recently created files and directories)Ls-r (reverse) reverse orderLs-t Sort by modified timeLS-LRT newly created
When a process snaps to a signal to process it, the normal sequence that the process is executing is temporarily interrupted by the signal handler, which first executes the instruction in the signal handler. If returned from the signal handler (for
1. Open the file with VI or VIM to display the line number:Show Current line number:: NuShow All line numbers:: Set Nu2. Set the server display line number2.1 Edit the ~/.VIMRC file to add the fileSet2.2 The configuration file for VI in Ubuntu is
Operation and Maintenance Foundation mainly includes Linux entry, file management and redirection, user group permissions, text processing and software management.
Linux Introduction: This is relatively simple, mainly introduces the history of
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