Describe the advanced configuration of firewall in Linux

IP camouflage and port forwarding Firewall supports two types of network address translation IP address masquerade It can share multiple addresses in LAN and access to the Internet with a single public address IP address camouflage only supports IPv4, not IPv6 Address masquerading is enabled in the default external area Forward port Also ...

Posted by mvidberg on Wed, 23 Oct 2019 12:46:54 -0700

CentOS7 builds virtual Web host (based on domain name, port, IP address)

Virtual Web host Running multiple Web sites in the same physical server, each site does not occupy a real computer independently. Types of virtual hosts supported by httpd Domain name based virtual host Virtual host based on IP address Port based virtual host Build virtual host -- Based on domain name (1) install bind and httpd services. (2 ...

Posted by *Lynette on Tue, 22 Oct 2019 23:10:24 -0700

Startup, shutdown and view of firewall and selinux under Linux

Under CentOS7.X: 1. firewall View firewall status: [root@localhost sunan]# systemctl status firewalld.service ● firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled) Active: inactive (dead) Docs: man:firewalld(1) Where Active is inactive ( ...

Posted by kts on Mon, 21 Oct 2019 08:16:16 -0700

IDEA integrates docker plug-in to implement one-key deployment of SpringBook project

Virtual machine CentOS 7.X, docker 1.3.X, Win10 Idea 2018.1 The Docker plug-in has been downloaded by default Idea The default virtual machine docker has jdk installed Open docker configuration file, open port 2375 [root@xuan ~]# vim /usr/lib/systemd/system/docker.service Add ExecStart=/usr/bin/dock ...

Posted by abakash on Mon, 07 Oct 2019 02:27:18 -0700

jenkins+maven+java-Tomcat -- Configuration of the project (server.xml)

Tomcat -- About Project Configuration Configuration Ports - involving three ports - modifying conf/server.xml # Close the port of tomcat <Server port="8005" shutdown="SHUTDOWN"> # Establish access to http, browser access <Connector port="8080" protocol="HTTP/1.1" connection ...

Posted by Cerberus_26 on Fri, 04 Oct 2019 18:24:46 -0700

Hadoop learning-hadoop installation

Stand-alone version configuration Upload installation package Upload to / bigdata decompression Unzip to / apps directory tar -zxvf /bigdata/hadoop-2.7.1.tar.gz -C /apps Configuring environment variables vi /etc/profile #In the final increase export HADOOP_HOME=/apps/hadoop-2.7.1 export PAT ...

Posted by mimilaw123 on Tue, 01 Oct 2019 09:29:04 -0700

Construction of LVS Load Balancing Cluster Based on NAT Model

Topology required for the experiment: First, three machines shut down selinux and firewall. [root@hostlocal ~]# systemctl stop firewalld [root@hostlocal ~]# iptables -F [root@hostlocal ~]# setenforce 0 // temporary, if permanently closed, modify / etc/sysconfig/selinux and change enforcing to disable ...

Posted by PlasmaDragon on Mon, 30 Sep 2019 02:37:55 -0700

Deep Understanding of the INVALID State of Connection Tracking

Several states in user-mode connection tracking A connection tracking system defines several states in which a connection may be in: NEW: The initial state of a connection (e.g. the arrival of a SYN packet in a TCP connection), or the firewall receives only traffic in one direction (e.g. before the firewall receives a reply packet). ESTABLISHE ...

Posted by Jeremiah on Fri, 27 Sep 2019 06:01:27 -0700

Keepalived+Haproxy Build High Availability Web Cluster

Through blog posts: Haproxy service tuning and configuration detailsYou can already understand the role of Haproxy services;Through blog posts: Using Keepalived to Realize Hot Detailed Interpretation of Dual ComputerYou can already understand the role of Keepalived services. Haproxy service is a tool to build cluster scheduling with good perfo ...

Posted by dkjariwala on Thu, 19 Sep 2019 06:24:19 -0700

Mysql + Keepalived Implementation of High Availability Detailed Configuration of Dual Main and Mutual Standby

Mysql+Keepalived Dual Main Mutual Architecture FrameworkTiming before configuration #Install ntpdate tool yum install ntpdate -y #Use ntpdate to proofread time (followed by ntp server) ntpdate pool.ntp.org I. Configuration of mysql dual backup 0. Test mysql installation yum install mariadb mariadb-server -y systemctl restart mariadb systemctl ...

Posted by rodrigocaldeira on Wed, 18 Sep 2019 00:20:40 -0700