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 speedtest.net

Speedtest.net 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-5a37b8c3f0b4b642653786/] If you have Python 3.x then run [crayon-5a37b8c3f0b52462185344/] Download [crayon-5a37b8c3f0b56716007666/] 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-5a37b8c3f24f0163631442/] It will show the the path to file which is running this process. [crayon-5a37b8c3f24f7699661999/] … [Read more...]

How to create non root users in Linux

- Command to Create a user in linux is [crayon-5a37b8c402443125183306/][crayon-5a37b8c40244c563562770/] - Setup the password for user [crayon-5a37b8c402450700108789/] 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-5a37b8c402453804777558/] 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-5a37b8c40eebe785258402/] Search for [crayon-5a37b8c40eec7029133972/] Set it as [crayon-5a37b8c40eecb255325224/] Restart ssh [crayon-5a37b8c40eece015567683/] 3) Limit user login [crayon-5a37b8c40eed1751403088/] Restart ssh [crayon-5a37b8c40eed5200083873/] 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-5a37b8c40f460265685833/] 3) Enter following command to close port in iptables [crayon-5a37b8c40f466984561314/] 4) Save iptables [crayon-5a37b8c40f46a947411235/] 5) Restart iptables [crayon-5a37b8c40f46e945464962/] … [Read more...]

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

Thats pretty simple Just configure on ips in [crayon-5a37b8c416e38015032772/] Then Make a new file named ifcfg-eth0-range0 [crayon-5a37b8c416e3f004538950/] Put following code in it [crayon-5a37b8c416e43337143742/] Save and close by pressing [crayon-5a37b8c416e46564675968/] Then run command [crayon-5a37b8c416e4a263942490/] And you are done, ips from 192.168.0.100 to 192.168.0.200 are … [Read more...]