First thing to know is that you can use “telnet” (usually on default port 6397) telnet localhost 6397 or the Redis CLI client redis-cli to connect to Redis. The advantage of redis-cli is that you have a help interface and command line history. CLI Queries Here is a short list… Continue Reading Redis Common Commands

Mongodb Introduction: Mongo is a open source database which uses nosql mechanism to store the data. The advantage of mongodb is simple and no structure is required. Mongodb Installation: Create a file mongodb-org-3.2.repo with the following content on /etc/yum.repos.d/mongodb-org-3.2.repo     [mongodb-org-3.2] name=MongoDB Repository baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.2/x86_64/ gpgcheck=1 enabled=1 gpgkey=https://www.mongodb.org/static/pgp/server-3.2.asc 2. Install MongoDB… Continue Reading Mongo Cluster Setup

In a Linux System, services like Apache, mysql write temporary files to /tmp partition. If /tmp partition is full then there is a high chance of service could crash. To overcome this situation, we are going to use tmpwatch utility to clear the /tmp partition. Let’s install tmpwatch utility. If… Continue Reading Using tmpwatch to clear files from /tmp partition

Recently, we have upgraded MSSQL version from Evaluation version to Web Edition. We would like to post the step in this article which will help someone to upgrade MSSQL.   There are few things which we need to consider while upgrading. +  Lets take a backup of all the database.… Continue Reading Upgrade MS Sql Server from Evaluation version to Web Edition

We would like to post few random switch commands that we used in our  day to day life. To get the switch port of a MAC address, use the following command. # show mac address-table address xx:xx:xx:xx:xx:xx Aging time is 300 sec Vlan Mac Address Port Type ——– ——————— ———-… Continue Reading Random useful switch Commands

The following step by step guideline helps to install red5 on Centos Server.   1. Install Java. ======== yum -y install java-1.6.0-openjdk java-1.6.0-openjdk-devel ======== 2. Install ant. ======== yum list | grep ant  // check whether ant is available in yum yum install ant —- Otherwise cd /root/tmp wget http://apache.mirrors.pair.com/ant/binaries/apache-ant-1.8.2-bin.tar.gz… Continue Reading Red5 Installation on Centos

How do I flush a computer DNS cache?To flush DNS cache in your computer or PCFlush dns to get a new nameserver resolution for a domain. Flushing DNS cache might also helps you to check new redistered domain is accessable in the browser or not. You can simply flush your… Continue Reading How do I flush a computer DNS cache?

At  times, you will find the following error message in the “/var/log/messages” ======= FAIL: ftp per_source_limit from=xxx.xxx.xxx.xxx ======= You can resolve the issue by adding the following line in the file ‘/etc/xinet.d/ftp_psa’ ======= per_source            = UNLIMITED  ======= After saving the file, restart xinet.d by using the following command. /sbin/service xinetd… Continue Reading FAIL: ftp per_source_limit

At times, you may get many emails notifying about the Dr.Web service. You may disable it by following the steps mentioned below: It differs from one Plesk version to that of the other. For Plesk 8: Edit the file ‘/etc/drweb/drweb32.ini‘ and set UpdateNotify = no For plesk 9: Edit the… Continue Reading Disable Dr.Web email notifications

1. Create a user: useradd testpasswd test 2. Add this user in wheel group. usermod -a -G wheel test 3. Now, Edit PAM configuration file for su. (/etc/pam.d/su) —-  vi /etc/pam.d/su uncomment below line auth sufficient /lib/security/$ISA/pam_wheel.so trust use_uid This will allow users in wheel group as a trusted users.… Continue Reading Wheel user to become as root (su -) without password