Getting started with server home Linux

Getting started with server home Linux Chapter 1 1 Introduction to Linux After several years of experience dealing with many new Linux users, the biggest problem is that it is not difficult, not stupid, but lazy to learn about Linux! Many people do

Detailed description of iptables extension

1. in fact, the matching extension also needs to be added to the display extension of the-m reference module. the default value is implicit extension. do not use the-m status Detection Package to filter-mstate -- state {NEW, ESTATBLISHED, INVALID,

Enable common ports in iptables firewall

# Enable port 22 iptables-AINPUT-ptcp -- dport22-jACCEPTiptables-AOUTPUT-ptcp -- sport22-jACCEPT # Disable all ports iptables-PINPUTDROPiptables-PFORWARDDROPiptables-POUTPUTDROP # enable port 80, HTT # enable port 22 Iptables-A input-p tcp -- dport

Linux packet capture tool tcpdump detailed usage

Tcpdump is a Sniffer tool, which is actually a packet capture tool on the network. It can also analyze captured packets. Generally, the system is installed by default. Tcpdump command description: tcpdump uses the command line method. the command

Use iptables to protect the email server

This document is intended for beginners of iptables. If you have just learned the principles and basic syntax of iptables, but you still do not know how to actually use this tool in the online server environment, read this article. Iptables's two

Port forwarding using pf in FreeBSD system

After freebsd9.0 is installed by default, start the pf: pfctl-e prompt: pfctl:/dev/pf: Nosuchfileordirectory. the kernel needs to load the corresponding module: # kldloadpf or modify the startup script rc. conf: pf "YES" pf_rules "/etc/pf. conf "###

Detailed description of iptables command parameters

The principles and concepts of the iptables firewall are described above. here we mainly describe the parameters and usage of the iptabels command. let's first review the content of the iptables control process in the previous article. Iptables uses

Differences between. bash_pfofile,. bash_logout and. bashrc in Linux

In Linux,. bash_profile,. bash_logout, and. bashrc files have special meanings for bash. When a user logs on or calls another bashshell, they provide a method to automatically establish the logon account environment and allow various commands to be

Tcpdump advanced tutorial

Enter mantcpdump in linux. the following content is displayed at the beginning of manual: tcpdump [-AdDeflLnNOpqRStuUvxX] [-ccount] [-Cfile_size] [-Ffile] [-iinterface] [-mmodule] [-Msecret] [-rfile] [-ssnaplen] [-Ttype] [- Enter man in

Introduction to read commands in LINUX

Read [-ers] [-ufd] [-ttimeout] [-aaname] [-pprompt] [-nnchars] [-ddelim] [name...] Onelineisreadfromthestandardinput, bytes-u Read [-ers] [-u fd] [-t timeout] [-a aname] [-p prompt] [-nnchars] [-d delim] [name...] One line is read from the standard

Introduction to iptables firewall

Overview iptables overview iptables basic iptables syntax iptables instance case description Firewall Overview firewall refers to a combination of components set between different networks or network security domains, it enhances the security of the

How to use iptables to implement NAT

This article describes how to use iptables to implement NAT in linux. if you need it, refer to it. This section describes iptables's NAT function. This article only describes how to use iptables to configure NAT in linux. For more information about

How to use the service management command chkconfig in Linux

Chkconfigchkconfig is frequently used in command line operations. It allows you to conveniently set and query system services at different running levels. You can easily manage your startup services. Note: Remember that chkconfig does not

How to dynamically adjust LVM disk capacity

LVM: logicalvolumemanager (logical volume management). LVM shields the underlying disk layout and facilitates dynamic adjustment of disk capacity. 1. steps for creating a logical volume: 1) use the fdisk tool to convert the disk to a linux partition

Common vim commands

1. move and redirect: n jumps to n rows, and n indicates that the row number nG jumps to n rows, n indicates the row number CTRL-] jump to the subject CTRL-O corresponding to the current cursor back to the previous position h left j down k l right W

Set automatic mount of hard disk partitions when Linux is started

1. the/etc/fstab file describes how to configure the/etc/fstab file for automatic mount in Linux. This file is used to store static information of the file system. When the Linux system starts, it automatically reads information from the file and

How to replace strings in vi/vim

In vi/vim, you can use the: s command to replace the string. : S/vivian/sky/replace the first vivian in the current row with sky: s/vivian/sky/g, replace all vivian in the current row with sky: n, $ s/vivian/sky/replace the first vivian from row n

Tcpdump command usage

I have been using tcpdump during my work, and it is very convenient. today, I have tried tcpdump to find that I don't know such powerful functions. it's called a sweat. Work is always in useTcpdumpIt is very convenient. Today, Baidu is on a

After Windows and Ubuntu are installed, adjust the Grub startup sequence.

Many people say that they should change the/boot/grub. conf file and change default0 to defualt1. I am not sure whether this method is correct in linux, but I know it is incorrect in ubuntu because you cannot find this file in ubuntu. My machine is

How to configure a CentOS yum source for Redhat

Because the redhat yum online update is charged, it cannot be used if it is not registered. to use it, you need to uninstall the redhat yum, restart the installation, and configure other sources, the detailed process is as follows: 1. delete the

Total Pages: 2732 1 .... 585 586 587 588 589 .... 2732 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.