on Saturday, June 27, 2015
This post will tell you the difference between Heaven and Paradise in Islamic context.

The Holy Quran contains these two different words which are present in many verses.
The Arabic word "SAMA", translated to english "Heaven" means the Sky/Space where the sun, the moon, planets, stars, galaxies, etc are present. In many places in the holy Quran, you will find the word Sama with the arabic word Ard (Earth), for eg, "samawati wal ardi... (heavens and the earth)".

The Arabic word "JANNAT" translated to english "Paradise" means the place built by Allah (s.w.t) for the righteous; the gardens beneath which the rivers flow. The place of eternal peace and desires.
The opposite of the word Jahannam (Hell) is Jannat and not Sama.

Summarizing all above:


Arabic word
English Meaning
Opposite
Sama / Samawat
Heaven / Heavens
Ard (Earth)
Jannat
Paradise (Garden)
Jahannam (Hell)
Ard
Earth
Sama (Heaven)
Jahannam
Hell
Jannat (Paradise)


on Friday, January 30, 2015
If you get the following error while getting new theme or plugin or whatever directly from wordpress, the resolution is very simple. Although, you will need root access to your server.


To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.
FTP connection required to download theme or plugin in wordpress

You need to give full rights (rwx) on the DocumentRoot folder (where you have kept all wordpress files in server), or just change the ownership of your DocumentRoot folder to the web-service (www-data in case of Ubuntu).

# chown -R www-data:www-data yourDocumentRoot

Changing ownership of folder in linux

Once you get the proper ownership, just try downloading the theme or plugin or whatever again. And now it should download directly without requiring any FTP connection.

Direct download from wordpress

on Monday, September 16, 2013

This error can be viewed in IMC when the software is not able to get any data using SNMP. This error does NOT mean that your SNMP credentials are wrong. It simply means that server is not able to receive any data using SNMP. Things you can check are:

  1. Can you ping the device from server
  2. If you can ping, then verify your SNMP credentials. Recheck again.
  3. You can use an awesome tool called “SNMP Tester” by Paessler from here. Use this tool to check if you can communicate using SNMP from your server to the device. (To keep it simple, use “Read Device Uptime” under “Select Request Type” in SNMP Tester and put your credentials).
  4. If you get an Error message while testing using SNMP Tester, it should give you good idea where you are going wrong.
  5. If you get error “Value: No response (check: firewalls, routing, snmp settings of device, IPs, SNMP version, community, passwords etc) (SNMP error # -2003)” then 
a.       Check the firewall rules, in case if you have a firewall in the path
b.     You are possible getting a reply from different interface of the device than the one on which you are sending the request. (You can verify this using Wireshark).

In this case, make sure that the device will send the SNMP packets from a dedicated interface only.

In case you have HP E-series switch (like 8200 or 5400), you can issue command: 

core-swtich# snmp-server response-source <source-ip>
on Thursday, June 13, 2013


WordPress has a feature called MultiSite, which is often confused for “multiple websites (domains)”, but is in fact “multiple sub-domains”. Although many people look forward to have multiple websites (with different domains) with wordpress to install on single server, but there is no simple solution from WordPress yet.

This post will help you in configuring multiple domains using wordpress on single server. We will be using Linux server (Ubuntu) with Apache 2.2 and wordpress 3.5.1 for our example. You can use the same idea for different OS and IIS (or other web server).

NOTE: Backup your wordpress directory, wordpress database and web server files and directories before continuing with the steps mentioned below.

After installation, wordpress uses all its files (mostly php) for single domain. So we will need to have multiple wordpress installation, each per domain (website). Installation of wordpress in Linux is just downloading the latest.tar.gz file from wordpress.org and extracting them in the desired directory (the root for your website), and then configuring your DB (for each wordpress website) and finally few lines in wp-config.php (for each wordpress website) according to the DB you just configured. Just follow these steps for installation of single wordpress for Ubuntu 12.04 from digitalocean.com. Repeat the steps each time for multiple domains as explained below. You may want to check steps for your OS from Google.

Let’s say you have three domains to be configured with wordpress in single server. You should have different root directories for all these three websites. For eg.
Domain
Root Directory
abc.com
/mnt/abc/
pqr.com
/mnt/pqr/
xyz.com
/mnt/xyz/


The trick is to redirect to individual website through the webserver (apache/iis) using “Virtual Hosts”. Depending on your version of Apache, you can configure virtual hosts in appropriate file. In Ubuntu 12.04, Apache 2.2 onwards, Virtual Hosts can be configured in /etc/apache2/sites-enabled/filename as follows:


<VirtualHost *:80>
    DocumentRoot /www/abc
    ServerName abc.com
    ServerAlias www.abc.com ftp.abc.com mail.abc.com

    # Other directives here
</VirtualHost>


<VirtualHost *:80>
    DocumentRoot /www/pqr
    ServerName pqr.com
    ServerAlias www.pqr.com ftp.pqr.com mail.pqr.com

    # Other directives here
</VirtualHost>


<VirtualHost *:80>
    DocumentRoot /www/xyz
    ServerName xyz.com
    ServerAlias www.xyz.com ftp.xyz.com mail.xyz.com

    # Other directives here
</VirtualHost>


Note: Restart your Apache service after configuring virtual hosts.
You can check for more examples on virtual hosts on apache here.

Now your Apache will redirect the request for appropriate website to its corresponding root directory. And from there, wordpress for that website will take control as if it was the only wordpress on that server.

Advantages: 
  • You can have multiple (as much as you want) domains (websites) with wordpress on single server.
  • All the wordpress for all websites are completely independent of each others.
  • All the individual wordpress sites (domains) can work with single IP address.

Disadvantage:
  • All the domains (websites) will have separate management, dashboard, etc. There is no single dashboard from where you can manage all your websites. This can only be done by WordPress in upcoming versions.