Hadoop Series-Hadoop Development Environment Construction
I. Pre-conditions
Hadoop runs on JDK and needs to be pre-installed. The installation steps are as follows:
Installation of JDK under Linux
Configuration of Secret-Free Login
The communication between Hadoop components needs to be based on SSH.
2.1 Configuration Mapping
Configure ip address and host name mapping:
vim /etc/hosts
# Increase at ...
Posted by wdallman on Mon, 16 Sep 2019 04:16:06 -0700
Construction of LVS Load Balancing Based on NAT (Address Translation Mode)
For a detailed description of the basic configuration of LVS, please refer to the blog: https://blog.51cto.com/14227204/2436891Case environment:The results are as follows:
Using the cluster technology of NAT mode, LVS load dispatcher is the gateway server for all nodes to access the Internet, and its 200.0.0.1 is also the VIP address of the w ...
Posted by eMonk on Mon, 09 Sep 2019 22:29:44 -0700
Using Maven plug-ins to build Docker images for SpringBook applications
SpringBoot e-commerce project mall (20k+star) address: https://github.com/macrozheng/mall
abstract
This article mainly introduces how to package SpringBook applications into Docker images using Maven plug-ins and upload them to Docker Registry, a private image warehouse.
Docker Registry
Docker Registry 2.0 Architecture
docker run -d -p 5000:50 ...
Posted by ramzess on Sun, 08 Sep 2019 01:19:42 -0700
Java programmers are bound to use Linux Quick Search Manual
Contents
System Service Management
file management
view log
Compression and decompression
Disk and Network Management
firewall
ftp operation
Installation and Management of Software
Other
System Service Management
systemctl
The state of each service in the output system:
systemctl list-units --type=service
View the running status of the serv ...
Posted by Crystal Dragon on Wed, 04 Sep 2019 05:54:13 -0700
Linux iptables and firewalld firewall
iptables
The iptables service is used to process or filter traffic policy items (rules). Multiple rules can form a rule chain, which is categorized according to the location of data packet processing.
Preprocessing data packets (PREROUTING) before routing;
Processing incoming data packets (INPUT);
Processing Outgoing Packets (OUTPUT);
Proc ...
Posted by hayunna on Sun, 01 Sep 2019 07:42:55 -0700
Example of Address Camouflage and Port Forwarding Configuring firewall
Both gateway server and website server adopt centos 7 operating system.
Gateway servers are equipped with three Gigabit Network cards, which are connected to Internet, intranet and website servers respectively.The requirements are as follows:
The gat ...
Posted by freeloader on Sun, 01 Sep 2019 03:58:50 -0700
LinuxPXE+Kickstrart Unattended Installation Service
Requirements: Turn off your own DHCP service in VMware Virtual Network Editor
Host Name
operating system
IP Address
NoneOS
Centos7
192.168.72.250
Custormer
nothing
1. Hang in local mirror source This configuration Yum repository, install DHCP service
[root@NoneOs ~]# yum install dhcp -y
2. Configuring DHC ...
Posted by jaykappy on Thu, 29 Aug 2019 18:42:01 -0700
Linux Network - Configuration of Firewall Related Commands
Absrtact: This paper mainly studied how to configure firewall in Linux system.
iptables command
Iptables is not exactly a firewall, the real firewall is a Netfilter running in the system kernel, and iptables is only a tool to operate netfilter. Its main function is to interact with users, get the user's requirements, and convert them into inf ...
Posted by offsprg01 on Fri, 16 Aug 2019 01:07:21 -0700
redis: two principals and two subordinates
Monitoring: Sentinel constantly checks whether your master and slave servers are functioning properly.
Notification: Sentinel can send notifications to administrators or other applications through the API when a Redis server being monitored has problems.
Automatic failover: When a primary server does not work properly, Sentinel starts an aut ...
Posted by jrottman on Tue, 13 Aug 2019 20:49:55 -0700
nginx+keepalived dual-machine warm-up
This article is based on other blogs + your own practice, not just paste and copy.Most of them are their own content, if you find infringement please inform
keepalived+nginx dual-machine warm-up
1 Configure VIP
2 Install keepalived
3 Configure ke ...
Posted by trexx on Tue, 13 Aug 2019 19:40:41 -0700