master admin password openerp 7.0 When I forgot the master admin password of OpenERP I try to find the answer in a few forums and blog but no luck. I searched in Postgres Database and many file. Finally I got the master admin password which was in home directory of OpenERP user in .openerp_serverrc file […]
Articles
Change the default port number of ssh server
Change the default port number of ssh server SSH Default Port no. = 22 To change the default port number of ssh server hardly takes a few steps but with the point of security it is important to change the default port no. 22 After this you can also use the anti port scan script […]
How to see line numbers in file through cat command
How to get line numbers in file through cat command Cat command can be used for many purposes. But do you also know you can see the line numbers in files with the help of cat command. With this method it is easy to troubleshoot or this information is also useful while creating the bash […]
How to empty Trash through command line in Ubuntu
How to empty Trash through command line in Ubuntu Operating System : Ubuntu 12.10 n l I checked this practical in Ubuntu 12.10 n l . To empty the trash in Ubuntu through command line follow the given steps Step 1 : First check is Trash folder exist. By ls -la command you can see […]
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 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 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
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 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 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
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 […]
Edit the crontab without using crontab -e
Edit the crontab without using crontab -e Target Readers: Linux Newbie Crontab is like a task schedular in linux and unix operating system.I expect you are already little bit aware about crontab. In this post I am sharing the tips to new linuxbie ,how to edit crontab without using “crontab -e” command. As we know […]
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
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 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. […]















