Firewalld

How to Resolve TNS-12535: TNS:operation timed out

Posted on
TNS-12535 Let’s see how we reproduce TNS-12535. C:\Users\ed>tnsping compdb TNS Ping Utility for 64-bit Windows: Version 12.1.0.1.0 – Production on 22-JUL-2014 19:03:21 Copyright (c) 1997, 2013, Oracle.  All rights reserved. Used parameter files: C:\oracle\app\client\ed\product\12.1.0\client_1\network\admin\sqlnet.ora Used TNSNAMES adapter to resolve the alias Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = primary01)(PORT = 1521)) […]
Installation and Upgrade

How to Install Oracle Database 11.2.0.4 on Oracle Linux 7.2

Posted on
First of all, I take a short cut to prepare almost all required packages by installing oracle-rdbms-server-11gR2-preinstall. [root@db1 ~]# yum -y install oracle-rdbms-server-11gR2-preinstall Loaded plugins: ulninfo Resolving Dependencies –> Running transaction check —> Package oracle-rdbms-server-11gR2-preinstall.x86_64 0:1.0-4.el7 will be installed –> Processing Dependency: gcc for package: oracle-rdbms-server-11gR2-preinstall-1.0-4.el7.x86_64 –> Processing Dependency: sysstat for package: oracle-rdbms-server-11gR2-preinstall-1.0-4.el7.x86_64 –> Processing […]
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 […]
IPTables

How to Block Blacklist in IPTables

Posted on
How to Maintain Blacklist for IPTables AutomaticallyIn general, we seldom block each of a bunch of IP addresses one by one with bare hands in IPTables. A more reasonable practice is to maintain a IP blacklist file and use a shell script to feed the file into IPTables automatically, and better, periodically.Your blacklist should be […]