. Bash_profile and. bashrc

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

/Bin/bash: bison: commandnotfound solution

1. download source code android-2.1_r2, direct make2. error and solution: (1)/bin/bash: bison: commandnotfound solution: a @ ubuntu :~ /Work/android-2.1_r2 $ sudoapt-getinstallbison (2) make: *** Noruletomaketarget 'Pl 1. download the source code

Detailed description of iptables configuration file/etc/sysconfig/iptables

# The first two lines are Annotations # Firewallconfigurationwrittenbysystem-config-securitylevel # Manualcustomizationofthisfileisnotrecommended. # use the filter table * filter # the following four items define the built-in INPUT, FORWAARD, and A #

CentOS6.4 use iptables to protect system security

Edit/etc/rc. local and enter the following content :#! /Bin/sh # Thisscriptwillbeexecuted * after * alltheotherinitscripts. # Youcanputyourowninitializationstuffinhereifyoudont # wanttodothefullSysVst Edit/etc/rc. local and enter the following

CentOS iptables configuration

I. required command: view the configuration information iptables-L-n. remember to save/etc/init. d/iptablessave and add the input record iptables-AINPUT-ptcp? Dport22-jACCEPT add output records iptables-AOUTPUT-ptcp? Sport22-jACCEPT default port for

CentOS system configuration iptables

1. Introduction: CentOS? What is the shortest margin of the dual ship ?? Powerful Fire Prevention ??, It is collectively referred to as iptables, but the more correct name is iptables/netfilter. Iptables is a usage? Which region accounts? ?? Why?

Debian system firewall iptables settings

Write the following command in firewall. sh File: # gedit/etc/firewall. shiptables-Fiptables-NFIREWALLiptables-FFIREWALLiptables-AINPUT-jFIREWALLiptables-AFORWARD-jFIREWALLiptables-AFIREWALL write the following commands in firewall. sh file: # Gedit/

Initial settings of iptables firewall in fedora system

Do you want to know the truth about the Fedoraiptables system? do you want to know what is inherent in the Fedoraiptables system, I will only give you a full description of Fedoraiptables system iptables-static firewall instance tutorial followme1,

Fedora system iptables firewall configuration tutorial

A firewall is a combination of components set between different networks or network security domains. it enhances the security of the internal network of an organization. It uses the access control mechanism to determine which internal services

Iptables practical configuration

# Iptables-IINPUT-ptcp -- dport80-jDROP # iptables-IINPUT-s192.168.1.0/24-ptcp -- dport80-jACCEPT # iptables-IINPUT-s211.123.16.123/24-ptcp -- dport80-jACCEPTiptables-IINP #Iptables-I INPUT-p tcp -- dport 80-j DROP # Iptables-I INPUT-s 192.168.1.0/2

Configure iptables firewall logs

# Modify syslog. conf file # vi/etc/syslog. conf (add the following content) kern. warning/var/log/iptables. log # Create a log file # touch/var/log/iptables. log # Restart the syslog daemon #/etc/init. d/syslogrestart # configure iptabl # modify

Basic iptables and case configuration

The IPTables table and the link function IPTables have three tables: filter table, nat table, and mangle table 1. the filter table is mainly used for filtering, in IPTables, almost all filtering is done in this table. it is the default table

Use tools to configure iptables firewall

In the past few years, Linux has grown significantly as a firewall platform. Since ipfwadm of the earlier version 1.2 kernel, the Linux firewall code has gone a long way. The netfilter system is used in the 2.4 Linux kernel. In the latest version 2.4

Differences between RHEL (RedHatEnterpriseLinux) and CentOS (10)

1. tell us the difference between RHEL and CentOS. RHEL is a paid service, centOS is a free service 2. the differences between RHEL/CentOS and other series of Linux releases are mainly different from the package management mechanisms of other Linux

Iptables configuration file description

The iptables initial script is controlled by the/etc/sysconfig/iptables-config configuration file. The following is a list of items included in this file: IPTABLES_MODULES-when the firewall is activated, specify an additional set of space

The CentOS system opens port 80 on the firewall.

Through/etc/init. d/iptablesstatus command to check whether port 80 is enabled. If no port 80 is enabled, you can use either of the following methods: 1. modify the vi/etc/sysconfig/iptables command to add make the firewall open port 80-ARH-Firewall-

Iptables usage summary

Recently, the iptables command was used in a job, mainly for Port Ing. I checked a lot of information on the internet. although there are many examples, I still had to understand it for several days. Here we will summarize the learned knowledge. The

Use iptables to implement nat and Port ing

Use iptabels to implement NAT transparent proxy for the LAN, such as Internet cafes or internet proxy servers of companies! At the same time, the intranet WEB server port ING is realized! And solved the problem that the visitor IP address of the WEB

A collection of 32 cool Unix terminal/Console Tools

The tool under 32 command lines is listed here. Some of them are unknown, some are very useful, and some are obscure-I hope you can find some useful tools you don't know! The tool under 32 command lines is listed here. Some of them are unknown, some

The centosmake command cannot be used.

The centosmake command cannot be used to solve the problem encountered when installing software under centos5. google circled it because the system did not install the compiler, so just install it. Www.2cto.com solution: Enter the following command

Total Pages: 2732 1 .... 2143 2144 2145 2146 2147 .... 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.