The Glibc GHOST Vulnerability – How to Patch your Linux Server/VPS?

A very serious security problem is just found in GNU C library, Glibc, announced yesterday, Jan 27, 2015. This is a critical vulnerability that almost every linux Machine is going to effect by it. Accoding to qualys What is glibc? The GNU C Library or glibc is an implementation of the standard C library and a core part of the Linux operating system. Without this library a Linux system will … [Read more...]

Speed test in VPS with out VNC using uses flash to do speed test that is why it required VNC, however it is not more required. If you have a vps with command line access, then all you need is to install python 2.x/3   If you have Python 2.x then run [crayon-59e69a283135c344504930/] If you have Python 3.x then run [crayon-59e69a2831362508153988/] Download [crayon-59e69a2831365878924641/] After that … [Read more...]

Linux – How it is built?

Linux is a biggest example of free and Opensource software. How it is built? Here you see the video :-     … [Read more...]

How to find process root in Linux

If you find a process creating load on your linux machine, and you want to find the application, file or script which is running this process and ps aux command is your friend. Suppose, a php process is running and creating load, you can run [crayon-59e69a283176a356779364/] It will show the the path to file which is running this process. [crayon-59e69a2831770607395612/] … [Read more...]

How to create non root users in Linux

- Command to Create a user in linux is [crayon-59e69a2831a36159397466/][crayon-59e69a2831a3c828730802/] - Setup the password for user [crayon-59e69a2831a3f026846083/] This will make a user directory in /home However if you have a directory already and want to assign it to user then the command is [crayon-59e69a2831a42643888237/] Lets make a user … [Read more...]

Managing services with update-rc.d

When installing a new service under debian, the default is to enable it. So for instance, if you just installed apache2 package, after you installed it, apache service will be started and so will it be upon the next reboots. If you do not use apache all the time, you might want to disable this service from starting up upon boot up and simply start it manually when you actually need it by running … [Read more...]

How to secure SSH in your server ?

1) Set a very strong password, keep it in your mind but dont write in somewhere. 2) Disable direct root login [crayon-59e69a28322c8994753404/] Search for [crayon-59e69a28322cd893197760/] Set it as [crayon-59e69a28322d1009850763/] Restart ssh [crayon-59e69a28322d4066022671/] 3) Limit user login [crayon-59e69a28322d7144211807/] Restart ssh [crayon-59e69a28322db829903667/] 4) Disable … [Read more...]

How to open and close port in iptables ?

Few of very simple steps 1) Login using root 2) Enter following command to open port in iptables [crayon-59e69a2832796412890817/] 3) Enter following command to close port in iptables [crayon-59e69a283279c094328652/] 4) Save iptables [crayon-59e69a283279f509731743/] 5) Restart iptables [crayon-59e69a28327a2837992782/] … [Read more...]

Configuring range of ips in Linux,Centos,fedora core, red hat

Thats pretty simple Just configure on ips in [crayon-59e69a2832e5f228261215/] Then Make a new file named ifcfg-eth0-range0 [crayon-59e69a2832e66365322844/] Put following code in it [crayon-59e69a2832e6a764249820/] Save and close by pressing [crayon-59e69a2832e6d913377173/] Then run command [crayon-59e69a2832e70220610296/] And you are done, ips from to are … [Read more...]