How to forcefully send mail from mailq in sendmail MTA
| |

How to forcefully send mail from mailq in sendmail MTA

How to forcefully send mail from mailq in sendmail MTA Sendmail is one of the open source MTA (Mail Transfer Agent) which is widely use in linux operating system. Many times because of high load average of Mail Server and also due to high no. of deffered emails in mail queue, many emails are not…

How to change the frontend of Nagios with VShell in Ubuntu and Debian
|

How to change the frontend of Nagios with VShell in Ubuntu and Debian

How to change the frontend of Nagios with VShell in Ubuntu and Debian Here in this tutorial we will learn How to install Nagios V Shell to change the frontend. This is continue of my last post on Installing Nagios in Ubuntu. Kindly read the post. To install Nagios V Shell follow these steps :…

find command to search keyword in files recursively in linux
|

find command to search keyword in files recursively in linux

find command to search keyword in files recursively in linux Find command is one of the system command which is useful to search files and directory. It has many used and you can modify your search by using -exec flag. Here I am using exec with grep command. By below given command you can find…

make command not found in linux CentOS Red Hat ubuntu Debian

make command not found in linux CentOS Red Hat ubuntu Debian

bash: make: command not found Make command is generally used while installing the package from source code. make utility helps to maintain groups of programs There are four types of lines in a makefile: file dependency specifications, shell commands, variable assignments, and comments. In general, lines can be continued from one line to the next…

How to use grep command to get fixed pattern or exact keyword
|

How to use grep command to get fixed pattern or exact keyword

How to use grep command to get fixed pattern or exact keyword In this post this is a small trick about How to use grep command to get fixed pattern or exact keyword in files. grep command is useful in searching the keyword in files. Without using any flag the grep command will show the…

How to find when Operating system was installed in linux CentOS and Red Hat
|

How to find when Operating system was installed in linux CentOS and Red Hat

How to find when Operating system was installed in linux CentOS and Red Hat This is a short video to know how you can find out on which date the linux was installed. It is applicable to Red Hat based linux distro. Step 1 : First find out the basesystem rpm. rpm -qa|grep basesystem Step…

How to protect from port scanning and smurf attack in Linux Server by iptables
|

How to protect from port scanning and smurf attack in Linux Server by iptables

In this post I will share the iptable script in which we will learn How to protect from port scanning and smurf attack in Linux Server. Features Of Script : (1) When a attacker try to port scan your server, first because of iptable attacker will not get any information which port is open. Second…

plugins/python/uwsgi_python.h:2:20: fatal error: Python.h: No such file or directory

plugins/python/uwsgi_python.h:2:20: fatal error: Python.h: No such file or directory

While installing uwsgi for Django with Nginx pip install uwsgi . I got this error, “plugins/python/uwsgi_python.h:2:20: fatal error: Python.h: No such file or directory”. Error: *** uWSGI compiling embedded plugins *** [gcc -pthread] plugins/python/python_plugin.o In file included from plugins/python/python_plugin.c:1:0: plugins/python/uwsgi_python.h:2:20: fatal error: Python.h: No such file or directory compilation terminated. Solution: To fix this issue,…

AttributeError: ‘WSGIRequest’ object has no attribute ‘session’ Django python web framework
|

AttributeError: ‘WSGIRequest’ object has no attribute ‘session’ Django python web framework

While working on Django I got this error message “AttributeError: ‘WSGIRequest’ object has no attribute ‘session’” To solve this issue it is just 2 steps away. I hope you already know about how to start and stop the python based django. Step 1: Edit the settings.py file.And add the following line. Replace the FQDN with…

How to install and configure nagios nrpe client in Ubuntu with apt-get command
|

How to install and configure nagios nrpe client in Ubuntu with apt-get command

How to install and configure nagios nrpe client in Ubuntu with apt-get command A few days back I wrote on how to configure nagios server in Ubuntu 12.04. In this tutorial we will learn how to monitor the ubuntu machines means we will install nrpe in ubuntu machines so that nagios server can monitor it….

How to install Magento 1.7.0.2 in linux, bug issue is also solved

How to install Magento 1.7.0.2 in linux, bug issue is also solved

How to install magento-1.7.0.2 in linux, bug issue is also solved In this tutorial we will learn How to install Magento 1.7.0.2 in linux While installing Magento 1.7.0.2 I found a bug ,the bug is also resolved. Details of Practical : Operating System : Ubuntu 12.10 Arch : i386 Web Server : Apache Database Server:…

PHP Extensions “0” must be loaded Magento

PHP Extensions “0” must be loaded Magento

PHP Extensions “0” must be loaded Magento While installing the Magentos 1.7.0.2 I got this error even I installed the php5-mysql and all dependency. To solve the issue follow the given below steps. Step 1 : Edit line no. 72 in app/code/core/Mage/Install/etc/config.xml and search keyword pdo_mysql Note: It should be in extension tag And write…