1. Switch to the root user su2. configure the source (nano/etc/apt/sources. list) debhttp: // sources 1. Switch to the root user
Su
2. Configure the source (nano/etc/apt/sources. list)
Deb http://ftp.cn.debian.org/debian stable main contrib non-free
Today we will discuss the operating system startup process. This part is interesting. In the BIOS stage, the computer behavior is basically written to death, and there are not many tasks that programmers can do. However, once they enter the
To configure the firewall on Centos, you only need to write the configuration file to/etc/sysconfig/iptables without entering additional commands. Of course, the premise is that you have to install iptables. 1. install iptables. 2. set firewall
Setting a firewall is very important for your Linux server. However, by default, CentOS settings cannot meet our needs. You can set up the iptables firewall by following the steps below: disable SELinux first. In general, SELinux is of no particular
When installing the CentOS Operating system, if the firewall (iptables) service is not enabled when you configure the system for the first time, the system will not automatically generate the iptables configuration file. To enable the firewall
In the CentOS system, the firewall blocks port 3306 by default. to access the mysql database, we need this port. the command is as follows: /sbin/iptables-IINPUT-ptcp -- dport3036-jACCEPT we need to save our operation, command:/etc/rc. d/init.
CentOS through string matching domain name to filter, example: iptables-IOUTPUT-ptcp-mstring--stringqq.com--algobm-jDROPiptables-IOUTPUT-pudp-mstring--stringqq.com -- algobm-jDROP so that it can not access the QQ-related business, but CentOS through
System environment: centos6.3x64IPTABLES: system comes with 1. deployment environment: 1. disable SELINUX # setenforce0 # vi/etc/sysconfig/selinux --------------- SELINUXdisabled ------------- 2. clear the default policy and restart iptables #
Set the firewall in Linux. take CentOS as an example to open the iptables configuration file: vi/etc/sysconfig/iptables through/etc/init. d/iptablesstatus command to check whether port 80 is enabled. If no port 80 is enabled, you can use either of
Today, we will explain the experiment of iptables firewall script configuration on the centos server. through the experiment, we can learn more about the actual use method. see the topology: Lan Gateway: 192.168.1.1eth0192.168.1.110 (intel10, M
No firewall is enabled for debian by default. Step 1: run the following command to install sudoapt-getinstalliptables. Step 2: view the current configuration information of Iptables. you can run the following command to view sudoiptables-L. Step 3:
First, open the corresponding functional modules in the Linux kernel # echo1/proc/sys/net/ipv4/ip_forward change the content of the file/proc/sys/net/ipv4/ip_forward from 0 1 indicates that the kernel supports ip forwarding. The/proc system is a
Based on your needs, you can access the following ports on the Internet: 80, 14490, 14500, 14460, and 14470. the server can access external ports: 80 and 25. Considering the remote management interface, add port 22, allow port 53 for Internet access.
If you do not know the basic knowledge about IPTABLES, we recommend that you first check it out. configure a filter table firewall. (1) view the settings of IPTABLES on the local machine [root @ tp ~] # Iptables-L-nChainINPUT (policyACCEPT)
Recently, CC (a type of DDOS) frequently interferes with each other and shares an iptables anti-DDOS script. Run crond once every minute. ############## KILLDDOS ############### iptables_log/data/logs/iptables_conf.log ### iptables: configure the
The information comes from the internet. Please forget it. application scenario: assume that there are three devices A, B, and C, AB can access each other, BC can access each other, A and C cannot access each other directly, and Oracle database is
Solve the svn & quot; cannotsetLC_CTYPElocale & quot; problem when executing the svn command in Linux, an error warning is displayed: www.2cto.com $ svnsvn: warning: environmentvariab...
Solve the svn "cannot set LC_CTYPE locale" problem when
In linux, how does one determine whether the current user is root in linux? Determine whether the current user is a rootwww.2cto. comShell code # ------------------------------ rootusercheck --------------------- startif...
In linux, how does one
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