Saturday, 2 January 2016

Enable ipv4 for sending emails in postfix in ubuntu server

Some times Gmail will not accept the mails from postfix server which is configured to have the emails sending over all network protocol. So we need to change the protocol to ipv4.

You can do the below steps to enable sending mails through postfix using ipv4.

Backing up the Plesk log files to Amazon AWS s3 bucket using s3cmd tool

Amazon S3 is one of the most reliable backup location. So we had a requirement to backup the website logs to S3 bucket for data retention purpose. We have achieved this using s3cmd command line tool in Centos 6.3 server.


How to enable name resolution for Ubuntu 14.04 server using resolv.conf,DNSMasq and network configuration

Recently I faced the issue where in one of my Ubuntu servers, I'm unable to set up the name servers in /etc/resolv.conf . Whenever I set this and restart networking or resolvconf, it is getting overwritten. This was causing me issues as I'm unable to ping google.com. This is what I'm getting when I ping.

[email protected]:~# ping google.com
ping: unknown host google.com

Monday, 28 December 2015

*WARNING* URLGET set to use LWP but perl module is not installed, reverting to HTTP::Tiny in Ubuntu Linux server while configuring Config Server Firewall

If you are getting this warning message while configuring Config Server Firewall (CSF), you can fix it by installing the missing perl module.

To install this perl module, use below command :

apt-get install libwww-perl