Linux

How to Build 18c RAC – 1 of 4 – Preparing Two Database Servers

Posted on
Network Design for RAC Let’s see the network design of our cluster database. [root@primary01 ~]# vi /etc/hosts # Public 192.168.10.11 primary01 primary01.example.com 192.168.10.12 primary02 primary02.example.com # Private 192.168.24.11 primary01-priv primary01-priv.example.com 192.168.24.12 primary02-priv primary02-priv.example.com # VIP 192.168.10.111 primary01-vip primary01-vip.example.com 192.168.10.112 primary02-vip primary02-vip.example.com # SCAN # 192.168.10.81 primary-cluster-scan primary-cluster-scan.example.com # 192.168.10.82 primary-cluster-scan primary-cluster-scan.example.com # 192.168.10.83 primary-cluster-scan primary-cluster-scan.example.com […]
Firewalld

How to Install Newest LAMP on CentOS 7.2 Minimal (4/4) – Configure Daemons and Firewall

Posted on
Configure MySQL Daemon [root@test ~]# systemctl status mysqld.service â— mysqld.service – MySQL Server    Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled)    Active: active (running) since Tue 2016-03-22 20:40:37 EDT; 5min ago   Process: 2158 ExecStart=/usr/sbin/mysqld –daemonize –pid-file=/var/run/mysqld/mysqld.pid $MYSQLD_OPTS (code=exited, status=0/SUCCESS)   Process: 1620 ExecStartPre=/usr/bin/mysqld_pre_systemd (code=exited, status=0/SUCCESS)  Main PID: 2814 (mysqld)    CGroup: /system.slice/mysqld.service   […]
Linux

How to Make Tomcat Respond to Port 80

Posted on
Tomcat uses port 8080 to service public users, but most users won’t append :8080 to your URLs to get the content, which will result no content returned on clients. Therefore, you need to make Tomcat respond to port 80 by yourself. In this post, I introduce 2 ways to achieve this goal, assuming that you have […]
Java

How to Install Java 8 and Tomcat 8 on Enterprise Linux 7

Posted on
In this post, I will install the newest Java 8 and Tomcat 8 on Enterprise Linux (EL) 7 Minimal. There’re 4 major steps in this tutorial:Download Java 8 and Tomcat 8Install Java 8 and Tomcat 8Configure environment and post-installationCheck and TestDetailed steps of implementation are described as below.A. Download Java 8 and Tomcat 8  1. […]
IPTables

How to Open Ports and Survives from Reboots

Posted on
Open Port There’re differences to open port between Enterprise Linux (EL) 6 and 7, although they are IPTABLES operating underneath. EL6 uses iptables to manage chains and rules. And it uses iptables-save to save the result to a target file. EL7 uses firewall-cmd to manage zones, chains and rules. And it saves the current setting […]
Telnet

How To Check Open Port By Telnet

Posted on
Check Open Port If you’d like to check open port of a remote server, there is a very simple way to do it by using telnet command. In the following case, we would like to know www (http) port 80 on a remote server is open or not. Before port 80 open On remote server […]