Category Archives: Linux

Linux : How to configure Sun VirtualBox on CentOS 5.x

installation process of VirtualBox on a fresh centos5.5 server. The installation of VirtualBox will require the building of kernel modules. If the development environment and kernel source are not already installed: Step-1: Install the necessary tools, just issue the following command from command prompt, you must have root privilege for this. #yum groupinstall “Development Tools” […]

LINUX : Install Logwatch on ubuntu

Install Logwatch : Issue the following command to install Logwatch along with Postfix: apt-get install postfix logwatch Be sure to select the “Internet Site” configuration when installing Postfix. Configure Logwatch Link Once you have installed Logwatch, you will need to configure it to email you the reports it generates. You are encouraged to look through […]

Linux : Using Fail2ban to Block Network Probes

Installing and Using Fail2ban On Debian and Ubuntu system Make sure your package repositories and installed programs are up to date by issuing the following commands: kartook@K:~$ sudo apt-get update [sudo] password for kartook: kartook@K:~$ sudo apt-get upgrade –show-upgraded kartook@K:~$ sudo apt-get install python kartook@K:~$ sudo apt-get install fail2ban kartook@K:~$ Afterwards, you will find all […]

Linux : How do I disable the ping response?

How do I disable the ping response? Add the following line to your init script for the network (the name depends on the distribution you use): echo 1 >/proc/sys/net/ipv4/icmp_echo_ignore_all This disables ping responses. To reenable, use the following command: echo 0 >/proc/sys/net/ipv4/icmp_echo_ignore_all To make this permanent set the following into /etc/sysctl.conf (if you have such […]

linux :How do I turn on telnet service on ubuntu?

TELNET (TELetype NETwork) is a network protocol used on the Internet or local area network LAN connections. The telnetd program (telnet server) is a server which supports the DARPA telnet interactive communication protocol. Telnetd is normally invoked by the internet server inetd or xinetd for requests to connect to the telnet port as indicated by […]

Linux : How to get free swap infromation

how to get free – to see swap space information in linux Command : cat /proc/meminfo ( or ) free out put from my system kartook@K:~$ cat /proc/meminfo; free MemTotal: 12320084 kB MemFree: 3508632 kB Buffers: 121068 kB Cached: 5832992 kB SwapCached: 1616 kB Active: 4625864 kB Inactive: 3571736 kB Active(anon): 1689308 kB Inactive(anon): 584088 […]