Add HTTP Strict Transport Security in Apache & Nginx

HSTS (HTTP Strict Transport Security) is a security protocol that force the use of SSL in the comunication between the web browser and the web server. This standard is recently approved (2 october 2012) by the IETF, but the first draft was released in 2010 and it was implemented in some sites like Paypal, Android […]

Read more
Solaris 11 direct root login access

This will be helpful for those wants to have direct root login locally and via SSH Comment out the “CONSOLE=/dev/console” line in /etc/default/login. Modify PermitRootLogin to yes in /etc/ssh/sshd_config Remove “:type=role” from the root entry in /etc/user_attr Remove highlighted part root::::type=role root:::

Read more
How to rescan the new Storage (LUN) in Linux without reboot

In order to get the fiber channel adapters detail to rescan, list the /sys/class/fc_host directory. In old RHEL  host you will not be getting this listing. In this case you can use the /sys/class/scsi_host directory but it will list all internal adapters too.1. In Order to scan New Lun we need to run LIP (Loop […]

Read more
Apache OpenSSL

Apache v1.X Download the appropriate intermediate certificate(s). Save it in a text editor such as Notepad as “intermediate.pem” Copy your SSL certificate from the order fulfillment email or log into your GlobalSign Certificate Center account and download it. Paste it into a text editor. Save as “mydomain.pem.” Copy “mydomain.crt” and “intermediate.pem” to the directory in […]

Read more
ORA-01078: failure in processing system parameters

(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=db.rmohan.com)(PORT=1521))) The listener supports no services The command completed successfully [oracle@db ~]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.1.0 Production on Tue May 20 00:42:10 2014 Copyright (c) 1982, 2009, Oracle. All rights reserved. Connected to an idle instance. SQL> select name from v$datafile; select name from v$datafile * ERROR at line 1: ORA-01034: ORACLE […]

Read more
JAVA using More CPU

In a production environment profiling is not an option, we have seen several times that our CPU has reached almost 100%, we are running tomcat on Linux, so what is happening? Fortunately, java comes with some great debugging tools, cooperating those tools with Linux built-in tools will let you know what is happening. Here is what i […]

Read more
Tomcat 8 clustering and Load Balancing Redhat Fedora and Centos

Let us build 3 node Tomcat 8 cluster  with Apache web Server  – > 192.168.2.40 cluster2 -> 192.168.1.41 cluster3 -> 192.168.1.42 Web server is  CLUSTER1 The characteristics of this cluster are: Session affinity: sessions are associated with single servers. Failover: if a server dies, a connection will be directed to the nearest available server. (NOTE: […]

Read more
RHEL / CentOS Linux Install Core Development Tools

[root@cluster1 tomcat-connectors-1.2.40-src]# yum groupinstall ‘Development Tools’ Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.mirror.secureax.com * epel: ftp.jaist.ac.jp * extras: kartolo.sby.datautama.net.id * updates: mirror.smartmedia.net.id Setting up Group Process Checking for new repos for mirrors Package 1:make-3.81-20.el6.i686 already installed and latest version Package 1:pkgconfig-0.23-9.1.el6.i686 already installed and latest version Package binutils-2.20.51.0.2-5.36.el6.i686 already installed […]

Read more

Hit Counter provided by dental implants orange county