June 2017
M T W T F S S
 1234
567891011
12131415161718
19202122232425
2627282930  

Categories

June 2017
M T W T F S S
 1234
567891011
12131415161718
19202122232425
2627282930  

HINDU MANTRAS

Hindu God Days

Sunday is dedicated to Lord Surya (Sun God) And Lord Vishnu.

Monday is dedicated to Lord Shiva.

Tuesday is dedicated to Lord Ganesha, Durga, Goddess Kali and Lord Hanuman.

Wednesday is dedicated to Krishna.

Thursday is dedicated to Lord Vishnu and his incarnations.

Friday is dedicated to Mother Goddess – Mahalakshmi and […]

Manage the ‘qmail’ message queue using qmHandle

Manage the ‘qmail’ message queue using qmHandle Solution

qmHandle, a perl script which gives you greater functionality – allows you to view and manage the ‘qmail’ message queue.

It can be install by excuting the following commands

cd /usr/bin

wget -O – “http://easynews.dl.sourceforge.net/sourceforge/qmhandle/qmhandle-1.2.0.tar.gz” | tar xzf

Following commands are useful to manage the queue

[…]

God chanting

There are many Shloka and Mantra in Hinduism, almost every Mantra has it’s unique spiritual necessity. I can’t judge which are the top 5 but a few which I regard are –

Shri Ganesha

It is said that a spiritual ceremony is not fulfilled if it’s not started with prayer of Shri Ganesha, so let’s […]

Hadoop 2.6.4 distributed cluster environment is built on the actual cluster .

Hadoop 2.6.4 distributed cluster environment is built on the actual cluster .

Cluster preparation

There are five machines that have changed the machine name for master, slaver1, slaver2, slaver3, slaver4, and set the face password ssh login. You can refer to here http://www.linuxidc.com/Linux/2016-02/128149.htm

Machine name Ip Master 192.168.1.1 Slaver1 192.168.1.2 Slaver2 192.168.1.3 Slaver3 192.168.1.4 Slaver4 […]

MongoDB DB backup

MongoDB DB backup

[root@rmohan scripts]# cat mongodb_backup.sh #!/bin/bash PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/mysql/bin:/usr/local/mongodb/bin:/usr/local/mongodb/bin export PATH export LANG=en_US.utf8

Dbip=”192.168.1.10″ Dport=”30000″ Datetime=$(date +%Y-%m-%d_%H_%M_%S) Logfile=”/backup/mongodb/mongodbbak_10010/backmongo.log” Dblist=”$(echo ‘show dbs’|/usr/local/mongodb/bin/mongo –host ${Dbip} –port ${Dport} |egrep -v “MongoDB|connecting|bye”|awk ‘{print$1}’)”

echo -e “=======start for database backup `date +%F’ ‘%T’ ‘%u`=======\n” >>$Logfile backdbcmd(){ echo “$(date) backup $dbname” /usr/local/mongodb/bin/mongodump –host ${Dbip} –port ${Dport} –db ${dbname} –out /backup/mongodb/mongodbbak_10010/${Datetime} echo […]

Installs MongoDB based on CentOS 6.5

Installs MongoDB based on CentOS 6.5

1. Add the MongoDB installation source

vim /etc/yum.repos.d/mongodb-enterprise.repo

Write the following configuration items to the file

[Mongodb-enterprise] name = MongoDB Enterprise Repository baseurl = https://repo.mongodb.com/yum/redhat/$releasever/mongodb-enterprise/stable/$basearch/gpgcheck = 0 enabled = 1

2. Install MongoDB with yum

yum install mongodb-enterprise

3. Set the MongoDB process to boot chkconfig mongod on

[…]

mongodb backup data before a month ago

mongodb backup data before a month ago

I would like to ask for big take, there is no way to back up a month before the data written into the script. Use mongodump method or other methods, I find a look on the Internet, probably as follows:

#?/bin/bash daybak=`date -d ‘-35 day’ +%F` Day=`date […]

tcpdump to see Oracle errors

ot all exceptions are created equally, and most you can ignore (the one below you can, in general). However, if you have to troubleshoot on JBOSS (or anywhere a Linux application connects to an Oracle database), what is below is a good “quicky” command the root user can run to quickly dump the Oracle exceptions […]

CentOS 7.0 Redis

1. Introduction to the redis

Redis cluster at the time of the start automatically in a number of nodes between the good film. While providing the availability between slices: when a part of the redis node failure or network interruption, the cluster can continue to work. However, when a large area of ??node failure or […]

wild card ssl certifcate

Generating and Installing Wildcard and Multi-Domain SSL Certificates

Generate a CSR (Cert Signing Request) For a Wildcard Domain

Normally, to generate a certificate for a wildcard domain such as *.example.com, all you have to do (when generating the CSR) is specify in the “Common Name” field: *.example.com

The problem is that that:

This will only […]