Basic idea of configuration rules1, allow local access2, allow the monitored status packet to pass3, allow packets allowed in the rule to pass4. Deny packets that are not allowedIptables rules saved as configuration filesNote Open SSH remote
1. Open port (take Port 7777 as an example)Vi/etc/sysconfig/iptables Open the configuration file by adding the following statement:-A input-p tcp-m state--state new-m TCP--dport 7777-j ACCEPTRestarting the firewall/etc/init.d/iptables restartModify
VSFTPD, as an FTP server, is very common in Linux systems. Below we describe how to install VSFTP on the CentOS system.What is VSFTPDVSFTPD is the most respected FTP server program in the Linux distribution. Features are small and light, safe and
System Command Yum command
Yum Makecache Yum Generate cacheYum List installed mysql* see if there are any installed * packagesRpm-qa | grep mysql* See if mysql* package is installedYum List mysql* See if there are any installation
TCP/IP protocol network on a node, door open, socket session, requires IP and port, check socket packet, socket and TCP/IP protocol differences. Host firewall, working on the host. Enter the network card, to the TCP/IP protocol stack in the kernel,
Hook Funciton (Hook function):Prerouting into the machine not crossing by tableInput in this machineOutput out of the machineForward forwardingPostrouting out of the machine after routingRule chain:The rule collection on each hook function forms the
Centos5yum installation and configuration of vsFTPdFTP server vsftpd as an FTP server is very common in Linux systems. The following describes how to install vsftp on centos. What is vsftpdvsftpd? it is the most popular FTP server program in the
Forward the port XX that accesses the local machine to the port vi/etc/sysctl of other machines. net. ipv4.ip _ forward = 1 the default value is 0. in this way, iptalbesFORWARD is allowed. I modified the file directly: sudovi/etc/sysconfig/iptables.
Linux network settings 3 & mdash; note when using the ssh tool 1. how does the ssh tool use ssh (SecureShellClient) to install it on windows, while on linux there is a service called sshd, this service occupies port 22, which is started by default.
#注: Linux7 enabled by default is Firewalld.service, to enable iptables, you need to turn off Firewalld.serviceSystemctl Stop Firewalld.service;systemctl Disable Firewalld.serviceYum Install iptables-y;systemctl start Iptables.service;systemctl
Query whether the system is 32-bit or 64-bit by using commandsGetconf LONG_BIT or getconf WORD_BITFor example:[Root @ sy02/] # getconf LONG_BIT64File commandFor example:[Root @ sy02/] # file/bin/ls/Bin/ls: ELF 64-bit LSB executable, AMD x86-64,
Vsftpd (very secure FTP daemon) is generally used to build FTP services in Linux. Because the FTP protocol is transmitted with clear code and there is no security, vsftpd is a secure FTP service software, the following describes how to set up vsftpd
--Iptables--1. packet filtering FirewallPacket selection at the network layer mainly filters the protocol, port, source address and target address used by the data packet.2. Proxy GatewayThe Intranet and the Internet are completely isolated. Direct
1. The main reason is that the iptables firewall is enabled in Linux and the TCP link from window to port 3306 of MySQL is initiated.
Linux replied to ICMP server reject...The solution is to open port 3306 in the firewall; Linux uses the tool to
How to build a tomcat https server in Centos (original) and centoshttps
IInstall java jdk to configure Environment Variables
1. Uninstall the original openjdk
Yum-y remove java-1.7.0-openjdk *
Yum-y remove tzdata-java.noarch
2. Download and
Install zookeeper on CentOS7Install 1. Modify the operating system/etc/hosts and add the following zookeeper servers
192.168.104.102 zookeeper-012. Official Website: http://mirrors.hust.edu.cn/apache/zookeeper/
$ wget
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.