Single Server protection Linux iptables scripts

#!/bin/bashIptables-fIptables-p INPUT DROPIptables-p OUTPUT ACCEPTIptables-p FORWARD DROP/sbin/iptables-a input-i eth1-m multiport-p tcp--dport 5060,6060,5070,1720,3720,1719,2719,3719,1202,80-j ACCEPT/sbin/iptables-a input-i eth1-m multiport-p

Linux file system, DUP2, etc.

Before you say Linux files, look at the Linux file system. Although the implementation details are different, the approximate organization of the file system is as follows:Local amplification:From the above two diagram is visible, for each file has

Installation of Linux SVN

ORZDBA This tool was developed by Taobao and is a very good tool. ORZDBA tool download, need to use to SVN for download. So first install the SVN tool. However, the installation of SVN is cumbersome and requires a variety of packages to

Linux Kernel Version Numbering

Because there is numerous revisions and releases of the Linux kernel and new ones is developed at frequent inte Rvals, it's important to has a system for clearly identifying them.A kernel is a program this constitutes the central core of a computer

File and directory operation commands for Linux common commands

The following are common file and directory operations commands for Linux operating systems:Cd/home Enter '/home ' directory ' CD. Return to the previous level of directory CD: /.. Return to the top level two directory CD enter the personal home

Core development and summary of Linux kernel Design Foundation (10)

(1) Linux hierarchy:(2) The Linux kernel consists of:It consists of 5 subsystems, such as process scheduling (SCHED), memory Management (MM), virtual file system (VFS), network Interface (NET), and interprocess communication (IPC).(3) Differences

Static library generation and use under Linux

sin

Static library generation and use under LinuxI. Static Library Concepts1. library is a precompiled target file (Object  files) Special archive ( archive file 2. /usr/lib /lib unix system c /usr/lib/libm.a

Linux Essay 1

The child process that is produced by using the fork () system call does not affect the parent process by modifying the data in the parent process, because fork () uses the write-time replication mechanism, which is that the parent process shares

Running Jar packages on Linux

To invoke Json-simple as an exampleJava Program (Csvtest.java)Import Org.json.simple.JSONObject; import java.util.*; Public class splitdemo{ publicstaticvoid main (string[] args) { New jsonobject (); }}PlacedPlace the external

Linux awk Command Simple operation

AWK Command: one: Print print item1,item2,.......... Key points:1each item is separated by commas, and the input is separated by a blank character.2The. Output item can be a string or a branch of the currently logged field (such as $1). Change to

Linux 2.6 Kernel Reading note signals

August 3, 2014 signal handler call procedureWhen a process receives a signal, it is necessary to pause the process execution to perform a specialized signal processing function (if the specific handler function for the signal is defined) before

Ubuntu Linux Set Environment variables

Adding environment variables1. Add Temporary variablesInput in Terminal:Path= "$PATH: Yourpath": Yourpath is the environment variable to be added (that is, the absolute path to add the directory, for example:/home/myprogram)The pro-Test takes effect

Common commands for text viewing and processing in Linux

Common commands for text viewing and processing in LinuxI. Learning ObjectivesMaster The following commands:View text: Cat, TAC, more, less, head, tailText processing: Cut, sort, uniq, WC, trSecond, view text command Cat: Connect and display

Overview of PXE and detailed Linux usage

PXE the overview and use of the detailedNow the enterprise procurement of many computers are not optical drives, how to install the system? In addition, how can you quickly and massively install Linux server operating system, is there any good

The easiest way to disable ping under Linux

Use of the Disable ping command under LinuxEnter the Linux system as root and edit the file Icmp_echo_ignore_allVi/proc/sys/net/ipv4/icmp_echo_ignore_allDisable ping after changing its value to 1To disable ping after changing its value to 0Direct

Linux index nodes and values (essential), and linux index nodes

Linux index nodes and values (essential), and linux index nodes Audience, [Root @ luozhonghua aaa] # ls-l test. c-Rw-r --. 1Root 3 Aug 1 test. c # check that the index node value of the original test. c file in bold 1 is 1, that is, each file is

Linux Advanced Skills: heartbeat + lvs (1) and heartbeatlvs

Linux Advanced Skills: heartbeat + lvs (1) and heartbeatlvs1. Introduction to heartbeat:The Heartbeat project is an integral part of the Linux-HA project, which implements a high-availability cluster system. Heartbeat service and cluster

OpenCV-2.3.1 and FFmpeg-2.1.2 compilation and installation on CentOS

OpenCV-2.3.1 and FFmpeg-2.1.2 compilation and installation on CentOS Tested environment: 1. CentOS 6.3 32bit2. CentOS 6.5 64bit I have installed OpenCV in CentOS 6.3 32bit. For more information, see install OpenCV2.3.1 in CentOS 6.3 (see). Now I

IP address access plan for CentOS Network Configuration

IP address access plan for CentOS Network Configuration There are many online documents on centos network configuration methods, but they are basically some operational commands. The principles and explanations are rarely mentioned, in addition,

Introduction to the Linux daemon and instance details

Introduction to the Linux daemon and instance details Introduction to the Linux daemon and instance detailsIntroduction Daemon is a special process running in the background. it is independent of the control terminal and periodically executes a task

Total Pages: 5467 1 .... 3277 3278 3279 3280 3281 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.