. Bash_profile and. bashrc

/Etc/profile: This file sets the environment information for each user in the system. when the user logs on for the first time, this file is executed. and from/etc/profile. the configuration file in the d directory collects shell settings.

16 Linux system resource monitoring commands

If you want to know what your server is doing, you need to know some basic commands. once you are proficient in these commands, you are a professional Linux system administrator. Some Linux distributions provide GUI programs for system monitoring.

CentOSiptables configuration method

Note: The red font is my personal explanation. the required command: view the configuration information, iptables-L-n, and remember to save/etc/init. d/iptablessave add input record iptables-AINPUT-ptcp -- dport22-jACCEPT add output record

Iptables configuration in debian system

I. functions that iptables should possess. 1. meet the above-mentioned second requirement for database security. 2. Record rejected data packets to log3. after the machine restarts, iptables is automatically activated and executed on the mysql

Iptables port forwarding settings for a single NIC

Pc11.1.1.1pc22.2.2.2port80port801. First, the net. ipv4.ip _ forward1 in the/etc/sysctl. conf configuration file is 0 by default, which allows iptalbesFORWARD. 2. there is an iptables file in the/etc/rc. d/init. d directory, in the following format:.

Master-slave replication settings for Mysql in LINUX

For two servers, the intranet IP address of A is 192.168.1.111, the intranet IP address of B is 192.168.1.222, A is the master, and B is the Mysql (1) vim/etc/mysql/my configured for Slave1. cnf remove server_id1 and

Enable and disable the iptables firewall and open specified ports in CentOS

# View the firewall information. run the/etc/init. d/iptablesstatus command to view the opened port. If the port to be opened is not in the open list, open the port to be used. the command is as follows: # open port 8888/sbin/iptables-IINPUT-ptcp --

Detailed process of setting Port ing using iptables

After one day, I finally finished iptables. at the beginning, I copied the matching configuration to someone else, but it was not correct. I searched N or more articles online, finally, I found a more detailed article. after reading the article

Iptables firewall tutorial

Iptables is hard to understand and configure for beginners of Linux. However, if you master the secrets, you will find that it is not that difficult to learn. Iptables is a Linux static firewall used to create rules to filter packets and NAT modules.

Analysis of Android network data through tcpdump packet capture

1. the mobile phone must have the root permission. 2. download tcpdumphttp: // token. 1. the mobile phone must have the root permission. 2. Download TcpdumpHttp://www.strazzere.com/android/ Tcpdump 3. adb pushc: \ wherever_you_put

Iptables fire prevention configuration method

Today, I saw a very good iptable configuration, which is very detailed. I will repost it and share it with you. learning the firewall configuration under linux will be of great help to improve website security, not to be missed ~ If you do not know

Tcpdump usage illustration

Tcpdump is a network packet analysis tool in linux. TcpDump can completely intercept the "header" of the packets transmitted in the network for analysis. It supports filtering network layer, protocol, host, network or port, and provides logical

Use tcpdump to intercept network databases in adb

PushF:/Media/tcpdump/data/local: transfers the tcpdump file on the local drive to the data/local directory in the mobile phone directory, there are a lot of methods to upload to this website. record 1. first, set the usb status to debug after

Use tcpdump to capture packets in androidadb

Packet capture preparation 1. need to get tcpdump software, get address (http://www.strazzere.com/android/tcpdump), the general solution has come with, do not need to compile this tool separately 2. connect the Android mobile phone to the USB, open

How to configure iptables and ssh in Linux

Resource: 10 centos servers, ip address: 192.168.1.11-192.168.1.20 requirement: ssh can be accessed by 10 servers, and 10.0.60.0/24 and 192.168.1.200; others reject 1, node1 write the following script iptables.

How to use tcpdump to capture packets in Linux and Solaris systems

Corresponding linux platform packet capture method to grasp the entire package: # tcpdump-X-s0host192.168.1.12 grasp 68 bytes: # tcpdump-Xhost192.168.1.12 corresponding port packet capture: # tcpdump-Xudpport1812 corresponding to the Solaris

Introduction to tcpdump

In traditional local network analysis and testing technology, sniffer is the most common and important technology. Sniffer is designed for network analysis by network administrators and network programmers. Network administrators can keep abreast of

Linux uses the tcpdump command to capture packets.

Tcpdump is a commonly used packet capture tool in linux command lines. it records the commonly used methods and the testing machine system is ubuntu12.04. The tcpdump command format contains many tcpdump parameters. you can use mantcpdump to view

Solution to iptables configuration loss

When I recently learned about iptable, I found that the configuration will be cleared after restart. Finally, the command for iptables storage is: iptables-save/etc/iptables. up. rule # where you want to save iptables-restore/etc/iptables. up. rules

Linux network analysis tool tcpdump

Data collection and analysis is essential when Linux is a network server, especially a router or gateway. So today, let's take a look at the powerful network data collection and analysis tools in Linux ?? TcpDump. As the name suggests, TcpDump can

Total Pages: 2732 1 .... 1031 1032 1033 1034 1035 .... 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.