. Bash_pfofile and. bash_logout and. bashrc files

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

Use logrotate to manage iptables logs

Reading Tips: The logs in the Linux firewall are very helpful for debugging rules. you can see where the packages are going, what rules are processed, what rules are processed, and what kind of packages are processed. The following describes how to

Enable the CentOS system to close the firewall and open specific ports

I have mentioned that the newly purchased server of the company uses CentOS5.5. after deploying Tomcat, I found that I entered 114. 80. *. *: 8080 (ip: 8080), but the default Tomcat homepage cannot be displayed. Because it was previously deployed in

Basic use of iptables firewall

Iptables is a good firewall software in Linux, this article describes how to install iptables, add and clear rules, open specified ports, and shield basic applications of iptables in CentOS, such as specified ip addresses and ip segments. 1. install

Deploying 802.1qvlan in Linux

Part 1: The core concept of VLAN refers to 802.1Q, which is known as VLAN. when it comes to VLAN, there are basically no blind spots and a network base. Part 1: Core concepts of VLAN Speaking of 802.1Q, we all know VLAN. Speaking of VLAN, there are

How to configure iptables firewall logs

Configure the syslogd configuration file/etc/syslog. for details about the conf record level, you can view the file syslog. conf generally has the following levels: debug, info, notice, warning, warn, err, error, crit, alert, emerg, panic. Among

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

How to configure nat forwarding using iptables

First, enable the kernel forwarding module. Echo1/porc/sys/net/ipv4/ip_forward # This is a temporary practice. it will expire after restart. a good practice is vi/etc/sysctl. modify the net. ipv4.ip _ forward1 and then to make it take effect

Use iptables speed limit to control bandwidth traffic

In linux, iptables is used to limit traffic, which is simple and practical. You can use the following script to configure the machine as a gateway. 1. configure iptables forwarding (omitted) 2. speed limit script vi/root/xiansu. sh #! /Bin/bash/sbin/

Ten differences between FreeBSD and Linux

Linux is a cute little penguin, while FreeBSD is a little devil with a fork. Do you often hear people confuse Linux and BSD systems? Yes, I often hear from new users and even the media. Of course, the two actually have many similarities. for example,

How to disable seLinux and iptables firewalls in CentOS6.5

CentOS5 close SELinux and use vim to open/etc/selinux/config. add a # sign in front of SELINUXenforcing and comment out it # SELINUXenforcing. then add a new line of SELINUXdisabled to save, exit, and restart the system. Run the "setup" command to

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

Share files with Windows through Samba in LINUX

(1). check whether sambarpm-qa | grepsamba is installed. if samba-common... appears ........... Samba (2) has been installed. remove the read-only attribute of the smb. conf file and change it to modifiable. You must first enter the su command with

Linuxvi/vim operation learning Notes

Vi (vim) is a commonly used editor on Linux. by default, vi (vim) is installed in many Linux distributions ). There are many vi (vim) commands, but if they are used flexibly, the efficiency will be greatly improved. Vi is short for "visualinterface"

Use LVM partition in archLinux in virtual machines

I was planning to take a look at LFS. I always use the release version (ubuntu-entry Edition linux in a few years), so I am too amateur (however, LFS is not very professional, okay ). However, the LiveCD of LFS on the official website is relatively

Use of Vim advanced commands

[Keywords] Vims command g command file format encoding method [abstract] This article summarizes Vim's s command and g command, as well as file line feed format and edit format conversion command. 1. s command if a text editor does not support

Network Monitoring Tool tcpdump usage

First, explain the result format of tcpdump (refer to "laruence's Linux House dish"). The following data is captured by using the tcpdump command: 04: 00: 59.483389IP192.168.1.1.ssh192.168.1.2.netuitive: P46808: 46956 (148) ack365win1286404: 00: 59.4

Rhel system configuration uses centos yum source

1. in linux, dependencies must be considered when installing the software package rpm, which is often troublesome. you can use yum to install the software package. yum can detect dependencies and automatically install the software package, therefore,

CentOS6.2 adjust the home partition size

CentOS6.2 adjust home partition size 1. First View disk usage df-hwww.2cto.comFilesystemSizeUsedAvailUse % Mountedon/dev/mapper/vg-lv_root50G8.9G378G18 %/tmpfs... CentOS6.2 adjust the size of the home partition 1. first check disk usage df-h

Source Command in linux

The source Command in linux is the built-in command of bashshell, which comes from CShell. Another method of writing the www.2cto. comsource command is the dot symbol, which is used in the same way as source and comes from BourneShell. The source

Total Pages: 2732 1 .... 728 729 730 731 732 .... 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.