Use iptables to set NAT for FTP

In the past, the company's FTP was on the public network, and it was not a big problem to use it. now I feel that a gateway may be safer, so I put the FTP in the intranet, therefore, port forwarding must be performed on the Gateway. I configured 21

Basic usage of tcpdump

It uses tcpdump many times. Seems to use only one format of tcpdump-v-x-n-ieth0hostx.x.x.x, add more options will syntaxerror,, hehe first is about the type of keywords, mainly including host, net, port, such as host210.27.48.2, specify 210.27.48.2

How to mount a hard disk in Linux

Almost all articles on the Internet that are writing mounting hard disks are first mounted and then modified/etc/fstab, and then restarted to check whether the mounting is successful. In fact, this method is quite frustrating. Correct steps: 1)

Use tcpdump to capture packets on a Linux host

Tcpdump adopts the command line method. its command format is: tcpdump [-adeflnNOpqStvx] [-c quantity] [-F file name] [-I network interface] [-r file name] [-ssnaplen] [-T type] [-w file name] [expression] 1. tcpdump option introduction-a converts

Common Vim commands

Common Vim commands 1 switch insert mode: In command mode, insert a (in lowercase) after the cursor, insert A (in upper case) at the end of the line where the cursor is located, insert I (in lower case) insert I (uppercase) before the cursor start

Vim editor forPHP configuration

Autocmd! Bufwritepost_vimrcsource % garbled setencodingutf-8setfileencodingschine autocmd is displayed in the basic configuration processing text! Bufwritepost _ vimrc source % """""""""""""""""""""""""""""""""""""""" """"""""""""""""""""""""Basic

In Ubuntu, fstab is set to automatically mount the home partition on the nfs server.

You can also configure the shared directories of NFS and SMB through 'fstab. Because the options involved are very important and you need to understand the work of some protocols, you must first read Samba and NFS. There are not many differences

Fstab configuration file

If you want to enable automatic mount, you can add the following lines to/etc/fstab:/dev/hda5/mnt/dvfatexec, dev, suid, rw, umask0, iocharsetgb2312 and codepage93600 also solve the problem of garbled characters in Chinese file names. my fstab file

Set the fstab file to enable automatic mounting upon startup

If you want to enable automatic mount, you can add the following lines to/etc/fstab:/dev/hda5/mnt/dvfatexec, dev, suid, rw, umask0, iocharsetgb2312 and codepage93600 also solve the problem of garbled characters in Chinese file names. my fstab file

Set fstab to enable automatic mount upon Linux startup

'Fstab' usage '/etc/fstab' is an important configuration file for the 'Mount' command. You can use the 'root' identity to modify this file through 'diskdrake' (MandrakeLinux control center-load point) or by using an editor. '/Etc/fstab' is useful: *

LVM2 and ReiserFS.2 usage management

Next we will talk about how to expand, delete, and manage it. :) use lvextend-LsizeLVNAME to increase the size of a logical volume. next we will talk about how to expand, delete, and manage it :) Use lvextend-L size LVNAME to increase the size of a

Use tcpdump to capture packets in Android

Tcpdump adopts the command line method. its command format is: tcpdump [-adeflnNOpqStvx] [-c quantity] [-F file name] [-I network interface] [-r file name] [-ssnaplen] [-T type] [-w file name] [expression]-a converts the network address and

Common Vim commands

Run the vim command vimfilename # to open or create a file, and place the cursor in vim + nfilename # at the beginning of the first line to open the file, place the cursor in vim + filename # at the beginning of line n to open the file, and place

Use VIM to develop PHP in Windows

Although vim is essentially an editor. But with some appropriate plug-ins, vim can also become a full-featured IDE. I have been using vim for a long time. after repeated experiments, I have configured an efficient PHP development environment, which

Tcpdump examples and parameters

Example: tcpdump-ieth0-s0-xtcpport9999hosttcpdump-s0-xtcpport3306 Example:Tcpdump-I eth0-s0-x tcp port 9999 hostTcpdump-s0-x tcp port 3306, 8001Tcpdump-s0-x-vv-nTcpdump tcp port 8001-vvv-xxx-tttt-s0-nTcpdump tcp port 9999-vvv-xxx-tttt-s400-nTcpdump

Linux system resizing LVM partitions

1. create a new partition: fdisk/dev/hdanl # select a logical partition. if not, create an extended partition first, then add the logical partition 1 # partition number (starting from 5),/dev/hda1 (select the number of the first partition) t8e # The

Linux system network performance debugging and optimization

This article describes network performance management techniques for Linux systems. it mainly describes how to use route, netstat, and tcpdump network management test tools and their functions. When configuring the network, you must specify the path

Iptables firewall command

1. define the default policy iptables [-tnat]-P [INPUT, OUTPUT, FORWARD, PREROUTING, OUTPUT, POSTROUTING] [ACCEPT, DROP]-P: defines the default policy. ACCEPT, DROP: ACCEPT or discard. -t: specifies the defined type. the default value is the filter

Vim configuration script

As the saying goes, to do a good job, you must first sharpen the tool. today, I will share with you my vi script configuration. I use f8, and the configuration file is/etc/vimrc, or ~ /. Vimrc. What I am talking about is the configuration added on

Insert row numbers in vim in Linux

1. Insert a row number in the text. a friend recently mentioned that an editor has a plug-in that can insert a row number and asked Vim if it is possible to insert a row number in the article. % $ ^ * #8 ~ #$ @#!...... Let's take a look at how many

Total Pages: 2732 1 .... 1846 1847 1848 1849 1850 .... 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.