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 […]
Linux
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. […]
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: […]
Recent Comments