. 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

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

Iptables security settings script

The default script only enables port 80, 3306, and port 22 of the conventional web server # videfault_firewall.sh #! /Bin/bash #################################### ####################################### File: the default default_firewall.sh script

Use iptables to configure nat application instances

This article describes how to use iptables to create NAT in linux. we can use it as a gateway so that multiple machines in the Lan can use a public IP address to connect to the Internet. the method I use is to override the source address and target

Principles and configuration methods for implementing nat by iptables firewall

NAT is generally divided into SNAT, DNAT, and PNAT. This article mainly describes how to configure NAT using iptables. Therefore, the differences between the three NAT methods and the application scenarios are briefly described as follows: the

Use iptables to block IP segments in Linux

124. *. * This ip segment is very disgusting, it is recommended to block # iptables-F # iptables-PINPUTACCEPT # iptables-POUTPUTACCEPT # iptables-PFORWARDACCEPT # iptables-AFORWARD-s124.115.0.0/24-jDROP # iptables on the server 124. 115. *. * This

Common commands of iptables firewall in CentOS Linux

Iptables-F # Allow packets from port 22 to enter iptables-AINPUT-ptcp -- dport22-jACCEPT # Allow packets from port 22 to return iptables-AOUTPUT-ptcp -- sport22-mstate -- stateESTABLISHED-jACCEPTiptables-AOUTPUT- pudp -- dp Iptables-F # Allow

Collect and organize common CentOSLinuxiptables commands

Iptables is a common firewall software in Linux. it has complex commands and powerful functions. Used to forward and filter data packets. 1. functions of the firewall:. split the trust region or the untrusted Region B. restrict the services that can

VSFTP Virtual User configuration method

VSFTP Virtual User configuration method 1. create a virtual user password library file to set the username for odd number lines, and set the password for even number lines # vi/etc/vsftpd/logins.txt www.2cto. commikepwabcdjohnpw12342. Generate the

Four common causes of SELinux warning

Four common causes of SELinux warning this article describes four causes of SELinux warning and solutions. Www.2cto.com cause 1: The core concept of SELinux is labeling, whether it is a file system, directory, File, file startup descriptor... four

Fedora error accessing samba server: "You may not have permission to use network resources"

Fedora access to samba server error: & quot; you may not have permission to use network resources & quot; if you cannot access it when using Samba to create a Window to share with Linux, if you do not have the permission to use network resources,

The ThissystemisnotregisteredwithRHN error is prompted when the redhat system is installed online.

ThissystemisnotregisteredwithRHN is prompted during online redhat system installation. 1. uninstall the redhat yum component www.2cto.com [root @ localhost ~]. # Rpm-qa | grepyum | xargsrpm-e -- nodeps2, download centos... When the redhat system is

Use the Shell script in Linux to switch the settings. xml file of Maven

Use the Shell script in Linux to switch the settings of Maven. xml File 1. Problem background www.2cto.com because there are separate maven configurations in the company and at home, you need to modify settings frequently. the activeProfile in xml

Introduction to LINUXshell script

LINUXshell script introduction echoHelloworld! Equivalent to echo & amp; #39; Helloworld! & Amp; #39; but not equivalent to echo & quot; Helloworld! & Quot ;(! When placed in double quotation marks, escape \) www.2cto.com simple judgment example 1 #!

View system resources in linux

Linux system resources to view the system www.2cto.com # uname-a # View kernel/operating system/CPU information # head-n1/etc/issue # view the operating system version # cat/proc/cpuinfo # View CPU information # hostname # View Computer Name #...

Configure rsa login authentication for Linuxsshserver

The principle of configuring rsa login authentication in Linuxsshserver: The key is equivalent to a key, and the public key is equivalent to a door lock. of course, we use the key to unlock it. in the same way, we store the key on the local server,

Comparison of Three Linux server monitoring technologies

This article describes the advantages and disadvantages of three Linux server monitoring technologies, including SNMP proxy (client), SSH, and private proxy (client) installation. The powerful functions and beautiful interfaces of the Linux system

Use ssh-kengen to skip password input and directly log on to the remote host.

Log on to the remote host directly through ssh-kengen without entering the password. 1. log on to machine A www.2cto. com2, ssh-keygen-t [rsa | dsa], the key file and private key file id_rsa, id_rsa.pub or id_dsa, id_dsa.pub3 will be generated. copy

Handle freetype installation errors in ubuntu12.04

Ubuntu install freetype error handling configure: creating./config. statusconfig. status: creatingunix-cc.mkconfig.status: creatingunix-def.mkconfig.status: creatingfreetype-confi Error handling of freetype installation in ubuntu12.04 configure:

Total Pages: 2732 1 .... 506 507 508 509 510 .... 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.