Learn tar command and know about its precaution Tar(Tap Archive) command is used in Unix like operating system for archiving the files. Archive is a file which has number of files and these files can be extracted to its original format with the help of extraction programmes. These archived files are called tarballs. If you […]
Articles
create noreply email id in postfixadmin mysql database
create noreply email id in Virtual Domain and Users postfix mail server in postfixadmin’s mysql database I always prefer to go with Postfix mail server with mysql and dovecot. For postfix mysql as backend I generally use the postfixadmin. Postfixadmin is easy to configure whereas through web interface or command line you can manage the […]
configure: error: C++ compiler cannot create executables
configure: error: C++ compiler cannot create executables This kind of error generally comes when you are installing the package from source code. The source code have many C or C++ files which require C compiler. To solve this issue in CentOS and Red Hat ,run the below given command. Here we are using wildcard * […]
NOTICE: nagios.cmd file not found. Please specify the location of this file in your /etc/vshell.conf file
NOTICE: nagios.cmd file not found. Please specify the location of this file in your /etc/vshell.conf file This is continue of my last post on how to change nagios frontend with vshell Nagios version : 3.x While configuring the vshell it might be possible you can get this warning message.The warning message occur when you run […]
check_openerp nagios plugin for openerp service
In this post, we will create a custom Nagios NRPE plugin to monitor openerp service. We have named it as check_openerp and it is written in bash script.
Use Linux Date Command As A Timezone Converter
Date command is not only use for setting and viewing the date and time of system but it can also be used to display current date and time running in some other country or can also display future date and time of other country. For this we must need the time zone information of the […]
Learn Linux Date Command With Examples
In this post we will learn about how to set date and time as well as how to get date and time information with date command.Note: If you want to set date and time of system you must be login with superuser or root. Date command is one of the useful command in linux. At […]
check_memory unable to read output Nagios nrpe
check_memory unable to read output Nagios nrpe While setting up the nagios Monitoring system in my new network.I decided to use check_memory plugin. I downloaded the plugin from exchange.nagios.com Here below one is given link. check_mem_avail While working I got this error from check_memory plugin “NRPE : unable to read output” . After debugging I […]
Change default editor of crontab in Ubuntu
Change default editor of crontab in Ubuntu When you first time open the crontab with command crontab -e it will ask you to set the default editor. In this tutorial we will see how to set default editor of crontab as well as how to change it to other default editor. I usually work with […]
how to deny root ssh access in linux server
how to deny root ssh access in linux server For security point of view we generally restrict root direct ssh access in server.But keep in mind you also must have user who can access the server other than root. So before doing this practical ,check if you have access to server with other user or […]
send email after mysql backup through bash script in simple way
send email after mysql backup through bash script in simple way In Facebook group one of the user asked this question “how to send email after mysql backup through bash script”. If you know bash scripting a bit it is just a one liner. It can be write in more advanced form but here I […]
How to configure Nginx with Django in Ubuntu
In this tutorial we will learn how to configure nginx with django project in Ubuntu. Here in this scenario I have already putted the Django Project code in /opt and before this I installed django from its source code. Actually in this scenario the code was developed in staging machine and I moved it to […]
Allow wget and yum in iptable
Allow wget in iptable Today when I was trying to do wget from my server I found it did not allow me to do it. Then I check with yum command also and found the error message “Couldn’t resolve host ‘some.domainname.com'”. It seems the iptables rule in Server is not allowing to wget and yum. […]
How To Protect From w00tw00t.at.blackhats.romanian.anti-sec
We purchased some server in Digital Ocean and found the w00tw00t.at.blackhats.romanian.anti-sec attack. The same kind of attack we also found in our AWS EC2 servers. w00tw00t.at.blackhats.romanian.anti-sec is kind of script attack in which attacker try to find the loopholes in phpmyadmin and php with Apache and try to manipulate through URL.The same thing I found […]
How to create a file with cat command
How to create a file with cat command Cat command has many use , in my earlier post I wrote about how to see line no. in file with cat command In this example I will guide how simply you can also create a file and write content in it. Steps to follow In this […]















