Oracle VM Consulting
view counter

Linux Feed

Linux Support, Oracle Linux, Red Hat Enterprise Linux, SUSE, Oracle Unbreakable Enterprise Kernel and the Oracle Unbreakable Linux Support Program (ULN) resources, news, and support articles.

How to remove welcome page from Apache for CentOS 6

If after your yum install httpd, you will notice that the apache has a welcome page similar to

Step 1: To remove the welcome banner, go to /etc/httpd/conf.d

MySQLTuner series part 3 - minimizing MySQL memory footprint

This is part 3 of the series on using MySQLTuner to optimize MySQL database performance and stability.

Installing node-oracledb on OS X with Oracle Instant Client

I've been hacking an Apple OS X shell script to install href="" >node-oracledb. You
tell it where your Instant Client libraries and headers ZIP packages
are. It then installs node-oracledb, resulting in an
instantclient directory and a node_modules
directory. This automates the instructions href=""
>Node-oracledb Installation on OS X with Instant Client.

iptables start on boot – Ubuntu/Debian

By default Ubuntu/Debian OS wont load iptable on boot.
So to load iptables on boot use follow procedure:
Save iptable conf with iptables-save command:
iptables-save > /etc/iptables.conf
Next, open file with name /etc/network/if-up.d/iptables and add following content:
iptables-restore < /etc/iptables.conf

Change permission file /etc/network/if-up.d/iptables as executable with following command:

Node cannot be added to the GPFS cluster

At the NSD Node, I issue the command
# mmaddnode -N node1
Thu Jul 23 13:40:12 SGT 2015: mmaddnode: Processing node node1
mmaddnode: Node node1 was not added to the cluster.
The node appears to already belong to a GPFS cluster.
mmaddnode: mmaddnode quitting.  None of the specified nodes are valid.
mmaddnode: Command failed.  Examine previous error messages to determine cause.

If we do a mmcluster, the node is not around in the cluster

Crontab Hack – run every 5th, 15th, 25th … mins

To set crontab to run on every 5th, 15th, 25th, 35th, 45th, and 55th use following command:
5-55/10 * * * * command
This will execute your command on every 10th minute between 5 mins to 55 mins.

view counter