Category Archives: CentOS

CentOS 7 Mail Server Configuration

By | September 6, 2015

In this post we will see a CentOS 7 mail server configuration using postfix, dovecot, opendkim, spamassassin, amavisd and clamav. Our test domain is ‘example.com’ and the FQDN of our mail server is ‘mail.example.com’. Selinux is disabled. 1) Generate self signed ssl certificates cd /etc/ssl openssl genrsa -out mail.example.com.key 2048 openssl req -new -key mail.example.com.key… Read More »

How to install Apache 2.4 from source in CentOS 7

By | June 10, 2015

In this post we will see How to install Apache 2.4 from source in CentOS 7. This will work on CentOS 6 as well. Now a question naturally comes to mind… why to install it from source when prebuilt RPM packages are readily available in the repository..??? There may be many reasons: 1) Apache started serving… Read More »

Nginx Log Rotation using bash shell script

By | January 17, 2015

In this Post we will see how to configure Nginx Log Rotation using bash shell script. I highly suggest everyone to achieve log rotation with logrotate service which is up and running in any minimal installation of Linux. In case if some errors are encountered with logrotate, then this route can come in handy. The official… Read More »

Changing Linux Users Password Through Web Interface.

By | November 15, 2014

‘ChangePassword’ is a web CGI utility that allows users to change their password through a web browser. As of this writing, the  latest available version of ‘ChangePassword’ is changepassword-0.9. And this installation is tested on CentOS 6.5 minimal. Please note that I am using apache web server with mod_cgi and mod_ssl enabled. ‘gcc’ and ‘make’ is… Read More »