Introduction Sudo email alert, If we need to get an alert when some user executes some command which not suppose to run. Or if some user not at […]
Installing Monit in Ubuntu Servers
Monit is a utility for managing and monitoring, processes, files, directories and devices on a UNIX system. Monit conducts automatic maintenance and repair and can execute meaningful causal […]
Install Proftpd with TLS/SSL
PROFTPD use plain transfer mode. By implementing with TLS/SSL which help to secure our Proftpd with TLS/SSL by eliminating plain text transfer.
Install and configure Logwatch in Ubuntu-Server
To watch the logs and send alert periodically to admin by configuring logwatch. Install Logwatch using # sudo apt-get install logwatch Edit logwatch.conf file # /usr/share/logwatch/default.conf/logwatch.conf Change the […]
Setting up a Ruby gem server to use locally
Introduction Installing gems for a Ruby deployment is a pain. It will take more than hours to download the required gems and docs. To save the time and […]
resolvconf: Error: /etc/resolv.conf isn’t a symlink, not doing anything
If we get this error in Ubuntu while restarting network service. Here /etc/resolv.conf is a file move it to /run/resolvconf/resolv.conf. # sudo mv /etc/resolv.conf /run/resolvconf/resolv.conf Then create […]
Recovering from Ubuntu dual boot issue | Chroot Ubuntu
To recover from a windows installation first we need to boot from LiveCD of Ubuntu if you installed with system 32-bit use 32bit Live CD If 64bit use […]
Apache virtual host entry to forward non-SSL to SSL for Rails application
In the rails application, if we need to forward all non-SSL traffic to SSL traffic we can use below virtual host entry. By default, the rewrite module needs […]
Enable setup command in minimal installed Redhat or Centos 6 Linux
In minimum install setup, the command will not be enabled because it installed with limited packages. When we try to run “setup” command if we get below command […]
Mounting Samba shares persistently during reboot
To mount a samba share during each reboot we need to interact manually. This can be automated by putting the samba share entry in fstab which will automatically […]