First, Iptables class workPremise: Input and output default policy is drop;1. The Web server that restricts the local host is not allowed to access in Monday; the rate of new requests cannot exceed 100 per second; The Web server contains the admin
User group:/etc/groupFormat: Group name Group Password Group number within Group member list1-499 group created for system, 500 starts as user group, password placeholder is xUser group password file:/etc/gshadowFormat: Group name Group Password
The system has one of the most common command tools--ping, while fping is the enhanced version of the Ping tool. The installation process is simple:[email protected]/]# wget--limit-rate 500k http://www.fping.org/dist/fping-3.8.tar.gz [email
One: Before installing your own downloaded JDK, first look at the new installation of the CentOS 6.4 system comes with the JDK version, if there is best to uninstall, and then install their own downloaded JDK version, how to uninstall the Linux
First, Introduction Crond is a daemon that is used to periodically perform certain tasks or wait for certain events under Linux, similar to Scheduled tasks under Windows, when the operating system is installed, the Service tool is installed by
1. Configure Yum2. Installing the JDK2.1 Uploads2.2 Unpacking the JDK#创建文件夹Mkdir/usr/java#解压TAR-ZXVF jdk-7u79-linux-i586.tar.gz-c/usr/java/2.3 Adding Java to an environment variableVim/etc/profile#在文件最后添加java_home=/usr/java/jdk1.7.0_79Export path=
User Login View commandWMeaning: As simple as this, a letter W is a command. View logged-in user information.Meaning of the result of the output:Username for user LoginTTY Login Terminalfrom which IP address to log in[Email protected] Login timeIdle
After Linux configuration iptables, restart the failed solutionBecause only the root user can access the port below 1024, non-root user login is not enabled 80 port. Web service often launches more than 1024 ports and maps through Iptables to 80.1.
The use of the Linux Tail command is to output the last part of the specified file to a standard device, usually a terminal, in layman's terms, to display the last few lines of an archive file to the terminal, assuming that the file is updated and
Start with a new restart script:
cd/usr/local/tomcat/apache-tomcat-6.0.26 VI restart.sh
Note: The first behavior enters the Tomcat directory, and the second behavior creates a new restart.sh script. Write the following content:
Linux No. 05 Day 1. Connect to Internet1.1 Configure Network Information DMESG Command ———— view nic Information DMESG | Grep-i netifconfig Command ———— view IP, gateway and other related information ifconfig (can see the active network card)
Shell Command collection and shell collection
Shell is the interface between the user and the Linux operating system.
CCat zdd: View File zdd contentCat zdd1 zdd2 browse the content of multiple filesCat-n zdd: view the zdd content of the file and
Whether I/O is monitored in linux
JDU:/host-001e67a8d50b /log/today # inotifywait -hinotifywait 3.14Wait for a particular event on a file or set of files.Usage: inotifywait [ options ] file1 [ file2 ] [ file3 ] [ ... ]Options: -h|--help
Use SHELL to import txt files of certain formats to the database through SQL LOAD1. Preparation: in Windows, you can directly import files through sqlload. in linux, you need software related to sqlload. 2. SQL script (MID_DFDZ.ctl)
LOAD DATA INTO
Learn Linux tips: SSH protocolText interface connection server: SSH Server
SSH (Secure Shell Protocol, Secure Shell Protocol), uses the data packet encryption technology to encrypt the data packets waiting for transmission before transmission to the
Linux Process Management (2)Connect to [linux Process Management (1)] kill, killall, and pkill tools used to terminate a process or terminate a running program, generally, kill, killall, pkill, and xkill are used. For example, if a program is dead
For nginx installed successfully, how to add the uncompiled installation module (not overwrite the http_image_filter_module)Background:1. upload images to small projects.2. upload images. You need to manage multiple images.3. upload images, which
Samba File Server Installation ConfigurationBefore installation, you can view your liunx system version and system type to prepare the corresponding software version. view the kernel version details, including host name 1 # uname-a installation in
Linux scheduled tasksAt in windows, windows provides the task scheduling function. In the control panel- use the specified queue-f <> to read a task from a specified file instead of a standard input-t <> submit a task to be run in the form of a Time
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