Install MongoDB in Ubuntu

To install MongoDB in Ubuntu/Debian, run

Configuration file for MongoDB is

To see status of MongoDB, run

To start/stop

Create a User

Now you need to enable authentication, this can be done by editing /etc/mongodb.conf

Uncomment the line

Restart MongoDB

Now you can login with

To […]

Read More…

Zimbra Generate DKIM Key

To generate DKIM key in Zimbra Mail server, login as user zimbra

Now run


Zimbra […]

Read More…

Install MATE Desktop in Ubuntu

Add PPA repo with command

To install MATE run

This install was done on remote VPS with x2go server. Once install is over, i am able to connect to remote desktop using x2go client. x2go […]

Read More…

Install GeoIP PHP Module in Ubuntu

To install GeoIP php module in Ubuntu, run

To enable module, run

You can see the PHP module with command php -m

Also it will be listed in phpinfo page. geoip […]

Read More…


xfs is default file system for RHEL 7. To format a partition in xfs format, run


fs […]

Read More…


Tripwire is a data integrity tool for monitoring and alerting file and directory changes. To install, run

Generate keys Run

This ask you to enter password. Creating Database

You need to edit file

customise it for your system or you may get file/directory not found errors. Checking for changes


Read More…

DNS Resolver

CloudFlare announced privacy-first consumer DNS service. IP of CloudFlare public DNS servers are

So far i was using Google Public DNS servers as my resolver.

Quad9 Quad9 is from IMB and Global Cyber Allience.

Other public DNS server is OpenDNS

All these DNS servers have good connectivity in india. I […]

Read More…

mod_fcgid: HTTP request exceeds MaxRequestLen

On a ISPConfig server with PHP running in FCGI Mode, i get following error in error_log when upload images from WordPress admin area. [Tue Apr 03 13:45:11 2018] [warn] [client] mod_fcgid: HTTP request length 139264 (so far) exceeds MaxRequestLen (131072), referer: ISPConfig store error log for site in “log” directory in parent folder […]

Read More…

Create SSL pem file

To make .pem file from SSL certificate, run

Here is the format

ssls/namecheap SSL example


Read More…