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-63e311bdc91b9998146977/] If you have Python 3.x then run [crayon-63e311bdc91bb707590732/] Download [crayon-63e311bdc91bc621807931/] 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-63e311bdc92d6122283645/] It will show the the path to file which is running this process. [crayon-63e311bdc92d9233315673/] … [Read more...]

How to create non root users in Linux

- Command to Create a user in linux is [crayon-63e311bdc940a265125985/][crayon-63e311bdc940c628153405/] - Setup the password for user [crayon-63e311bdc940d098510352/] 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-63e311bdc940e025497673/] 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-63e311bdc96bf933299401/] Search for [crayon-63e311bdc96c2556449229/] Set it as [crayon-63e311bdc96c3532947632/] Restart ssh [crayon-63e311bdc96c4707801796/] 3) Limit user login [crayon-63e311bdc96c5405795464/] Restart ssh [crayon-63e311bdc96c6264566168/] 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-63e311bdc9804788374846/] 3) Enter following command to close port in iptables [crayon-63e311bdc9806181847684/] 4) Save iptables [crayon-63e311bdc9807291311321/] 5) Restart iptables [crayon-63e311bdc9808796249694/] … [Read more...]

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

Thats pretty simple Just configure on ips in [crayon-63e311bdc9a7d927921247/] Then Make a new file named ifcfg-eth0-range0 [crayon-63e311bdc9a7f341893855/] Put following code in it [crayon-63e311bdc9a80184146345/] Save and close by pressing [crayon-63e311bdc9a81498793332/] Then run command [crayon-63e311bdc9a82717028260/] And you are done, ips from to are … [Read more...]