User contributions for Saurabh
From Notes_Wiki
- 12:58, 9 November 2012 diff hist +4,851 N Configuring remote service checks using nagios Created page with "=Configuring remote service checks using nagios= We can check lot of remote services including ping, http, ftp, smtp, pop3 and imap using nagios. For other services we can wr..."
- 12:57, 9 November 2012 diff hist +1,901 N Configuring basic nagios server Created page with "=Configuring basic nagios server= Nagios is service monitoring tool which can periodically check status of various services and notify in case some service is not in proper s..."
- 12:56, 9 November 2012 diff hist +65 m Nagios configuration
- 12:55, 9 November 2012 diff hist +146 N Nagios configuration Created page with "=Nagios configuration= *Configuring basic nagios server *Configuring remote service checks *Configuring nrpe *Configuring parents"
- 12:55, 9 November 2012 diff hist +26 m Monitoring tools
- 12:54, 9 November 2012 diff hist +555 N Load balancing between two gateways Created page with "=Load balancing between two gateways= For load balancing between two gateways use: <pre> ip route del default ip route add default scope global nexthop via <gateway_1> ..."
- 12:53, 9 November 2012 diff hist +4,197 N Routing based on source, destination and other parameters Created page with "=Routing based on source, destination and other parameters= With advanced IP routing II features of Linux we can route based on source, destination and various other paramete..."
- 12:53, 9 November 2012 diff hist +134 N IP routing 2 configuration Created page with "=IP routing 2 configuration= *Routing based on source, destination and other parameters *Load balancing between two gateways"
- 12:53, 9 November 2012 diff hist +32 m Network related configuration
- 12:52, 9 November 2012 diff hist +2,337 N Port knocking Created page with "=Port knocking= We can use iptables for port knocking. In we configure port knocking then client should first try to access selected ports (which are closed) in pre-defined o..."
- 12:51, 9 November 2012 diff hist +5,742 N NAT using iptables Created page with "=NAT using iptables= iptables provides very flexible NAT options. We can do static source NAT, static destination NAT, dynamic NAT, etc. with the help of iptables NAT feature..."
- 12:51, 9 November 2012 diff hist +1,772 N Rate limiting using iptables Created page with "=Rate limiting using iptables= We can limit rate of network communication using iptables to protect against flood attacks and also to regulate network usage. ==To protect a..."
- 12:51, 9 November 2012 diff hist +2,984 N Limiting number of new connections Created page with "=Limiting number of new connections per interval using iptables= We can also limit number of new connection attempts per interval using iptables. This is required even though..."
- 12:50, 9 November 2012 diff hist +619 N Limiting number of simultaneous connections Created page with "=Limiting number of simultaneous connections using iptables= ==Using connlimit module== We can use connlimit module of iptables to limit number of simultaneous connections t..."
- 12:50, 9 November 2012 diff hist +191 N Iptables configuration Created page with "=iptables configuration= *Limiting number of simultaneous connections *Limiting number of new connections *Rate limiting using iptables *NAT using iptables *[..."
- 12:50, 9 November 2012 diff hist +29 m Main Page
- 12:49, 9 November 2012 diff hist +1,521 N Configuring HP D1668 Deskjet in CentOS Created page with "=Configuring HP D1668 Deskjet in CentOS 5.4= (Required SELinux to be disabled, at least during installation) *Run '<tt>yum -y -d 10 -e 1 install cups cups-devel gcc-c++ ghos..."
- 12:48, 9 November 2012 diff hist +62 N Printer drivers Created page with "=Printer drivers= *Configuring HP D1668 Deskjet in CentOS"
- 12:48, 9 November 2012 diff hist +70 N Hardware drivers configuration or installation Created page with "=Hardware drivers configuration or installation= *Printer drivers"
- 12:48, 9 November 2012 diff hist +52 m Main Page
- 12:47, 9 November 2012 diff hist +1,230 N Configuring wireless interfaces Created page with "=Configuring wireless interfaces= To configure wireless interfaces in Linux one can use combination of '<tt>ifconfig</tt>', '<tt>iwconfig</tt>' and '<tt>iwlist</tt>' commands..."
- 12:45, 9 November 2012 diff hist +791 N IPv4 route configuration Created page with "=IPv4 route configuration= To add routes whenever a network gets started automatically we need to create a per-interface route file. For examples if we can reach network '10...."
- 12:45, 9 November 2012 diff hist +1,567 N MAC spoofing on Virtual machines Created page with "=MAC spoofing on virtual machines= We can change MAC address of interface using: <pre> ifconfig eth0 down ifconfig eth0 hw ether <new_MAC> ifconfig eth0 up </pre> But on Vir..."
- 12:44, 9 November 2012 diff hist +2,375 N Enabling wake on lan (WoL) Created page with "=Enabling Wake on LAN (WoL)= To enable wake on lan for a interface when it receives magic packet: *Open file '<tt>/etc/sysconfig/network-scripts/ifcfg-eth<n></tt>' *Add..."
- 12:43, 9 November 2012 diff hist +1,946 N Creating bridge interfaces (br0) for virtual hosts to use shared interface Created page with "=Creating bride interfaces (br0) for virtual hosts to use shared interface= There are two networking options when we create virtual machines *Virtual network and NAT *Shared ..."
- 12:42, 9 November 2012 diff hist +1,009 N Configuring ethernet port in trunk mode Created page with "=Configuring ethernet port in trunk mode= Assuming eth0 is to configured in trunk mode and VLAN 127 has to be used using 802.1q over eth0, follow these steps: (Note that devi..."
- 12:42, 9 November 2012 diff hist +295 N Network interface configuration Created page with "=Network interface configuration= *Configuring ethernet port in trunk mode *Creating bride interfaces (br0) for virtual hosts to use shared interface *[[Enabling wake..."
- 12:41, 9 November 2012 diff hist +69 N Network related configuration Created page with "=Network related configuration= *Network interface configuration"
- 12:41, 9 November 2012 diff hist +72 m Main Page
- 05:52, 9 November 2012 diff hist +663 N Ntpdate configuration Created page with "=ntpdate configuration= Sometimes we can get following message when we try to start ntpd service <pre> ntpd: Synchronizing with time server: [FAILED] Starting ntpd..."
- 05:51, 9 November 2012 diff hist +55 N Time server configuration Created page with "=Time server configuration= *ntpdate configuration"
- 05:51, 9 November 2012 diff hist +30 m Main Page
- 05:49, 9 November 2012 diff hist +63 N Web based tools or applications Created page with "=Web based tools or applications= *mediawiki configuration"
- 05:48, 9 November 2012 diff hist −166 m Main Page
- 05:47, 9 November 2012 diff hist +79 N Filesystem, partition or disk related tools Created page with "=Filesystem, partition or disk related tools= *Software raid configuration"
- 05:47, 9 November 2012 diff hist +49 m System administration tools
- 05:46, 9 November 2012 diff hist +29 m Securing remote shell access
- 05:45, 9 November 2012 diff hist +1,243 N Dstat Created page with "=dstat for monitoring io usage= We can use dstat for monitoring hard disk or IO usage. From man page we can see that 'dstat -M time,cpu,net,disk,sys,load,proc,topcpu' command..."
- 05:45, 9 November 2012 diff hist +85 N Monitoring tools Created page with "=Monitoring tools= *dstat *awstats configuration *logwatch configuration"
- 05:44, 9 November 2012 diff hist +22 m Main Page
- 05:42, 9 November 2012 diff hist +1,046 N Installing and configuring rssh to allow only scp and sftp Created page with "=Installing and configuring rssh to allow only scp and sftp= We can use yum on CentOS to install rssh. After installing edit file '<tt>/etc/rssh.conf</tt>' and uncomment belo..."
- 05:42, 9 November 2012 diff hist +85 N Rssh configuration Created page with "=rssh configuration= *Installing and configuring rssh to allow only scp and sftp"
- 05:42, 9 November 2012 diff hist +55 N Securing remote shell access Created page with "=Securing remote shell access= *rssh configuration"
- 05:41, 9 November 2012 diff hist +51 N Security tools Created page with "=Security tools= *Securing remote shell access"
- 05:41, 9 November 2012 diff hist +20 m Main Page
- 05:40, 9 November 2012 diff hist −1,797 m Basic mdadm configuration and commands
- 05:40, 9 November 2012 diff hist +488 N Configuring software RAID on server during installation Created page with "=Configuring software RAID on server during installation= #Install OS on hard-disks with software raid partitions. #Boot using 'Fedora resuce cd' or 'System rescue cd' and m..."
- 05:39, 9 November 2012 diff hist +61 m Software raid configuration
- 05:38, 9 November 2012 diff hist +569 N Reinstalling grub on RAID partition Created page with "=Reinstalling grub on raid partition= Sometimes just using auto-detect may not work and system may not boot when one of the raid hard-disks is removed. In such cases we need ..."
- 05:38, 9 November 2012 diff hist +41 m Software raid configuration
- 05:38, 9 November 2012 diff hist +764 N Booting machine after removing hard-disks from software raid array Created page with "=Booting machine after removing hard-disk from software raid array= When we try to boot after removing one hard-disk in some cases the system may boot properly. In other case..."
- 05:38, 9 November 2012 diff hist +72 m Software raid configuration
- 05:36, 9 November 2012 diff hist +5,046 N Basic mdadm configuration and commands Created page with "=Basic mdadm configuration and commands= ==Seeing information on running array== To see information on currently configured and running raid arrays and also status of differ..."
- 05:35, 9 November 2012 diff hist +74 N Software raid configuration Created page with "=Software raid configuration= *Basic mdadm configuration and commands"
- 05:34, 9 November 2012 diff hist +32 m Main Page
- 05:33, 9 November 2012 diff hist +436 N Tidy-rpm-cache Created page with "=tidy-rpm-cache.py (previous rm_obsolete_rpms.py)= We can download latest version of tidy-rpm from internet and then use it to delete obsolete packages from yum-cahce. This s..."
- 05:33, 9 November 2012 diff hist +47 N Package management tools Created page with "=Package management tools= *tidy-rpm-cache"
- 05:32, 9 November 2012 diff hist +60 N System administration tools Created page with "=System administration tools= *Package management tools"
- 05:32, 9 November 2012 diff hist +52 m Main Page
- 04:59, 9 November 2012 diff hist +415 N Configuring cisco switch as SNMP server Created page with "=Configuring cisco switch as SNMP server= Steps: #Go to '<tt>config t</tt>' and use #:<pre> #:: snmp-server enable informs #:: snmp-server community public ro #:</pre> Note..."
- 04:58, 9 November 2012 diff hist +45 m Switch configuration notes
- 04:58, 9 November 2012 diff hist +1,116 N Spanning tree configuration for Cisco switches Created page with "=Spanning-tree configuration for cisco switches= *Configure layer 3 switches as STP root *:Go to global configuration mode and use '<tt>spanning-tree vlan <vlan_id> ro..."
- 04:57, 9 November 2012 diff hist +52 m Switch configuration notes
- 04:57, 9 November 2012 diff hist +2,187 N Configuring manageable switch port to behave as unmanageable switch port Created page with "=Configuring manageable switch port to behave as unmanageable switch port= Sometimes manageable switches when connected to a port may not work because of security settings do..."
- 04:56, 9 November 2012 diff hist +78 m Switch configuration notes
- 04:56, 9 November 2012 diff hist +1,231 N Mirroring ports on Cisco switches Created page with "=Mirroring ports on cisco switches (SPAN) = ==Creating monitor session== To mirror ports (use SPAN) on Cisco 2950, 4503, etc. switches we can use '<tt>monitor session</tt>'..."
- 04:55, 9 November 2012 diff hist +39 m Switch configuration notes
- 04:54, 9 November 2012 diff hist +4,665 N Configuring basic Access Control List (ACL) on Cisco switches Created page with "=Configuring basic access control list (ACL) on Cisco switches= ==Limiting access to vty lines based on source IP with access list== To configure basic access control on sw..."
- 04:53, 9 November 2012 diff hist +67 m Switch configuration notes
- 04:52, 9 November 2012 diff hist +3 m Shifting Linksys switch to management VLAN 2
- 04:52, 9 November 2012 diff hist +1,659 N Shifting Linksys switch to management VLAN 2 Created page with "=Shifting linksys switch to management vlan 2= #Configure up-link port as trunk with native vlan 2. That is for Cisco switches use #:<pre> #:switchport mode trunk #:switchpo..."
- 04:52, 9 November 2012 diff hist +50 m Switch configuration notes
- 04:51, 9 November 2012 diff hist +970 N Enabling SSH and disabling telnet to Cisco switch Created page with "=Enabling SSH and disabling telnet to Cisco switch= First one should upgrade to latest crypto IOS available. Crypto IOS files generally have letter 'k' in their names. Then w..."
- 04:51, 9 November 2012 diff hist +55 m Switch configuration notes
- 04:50, 9 November 2012 diff hist +2,988 N Simple Cisco switch commands, tips and tricks Created page with "=Simple Cisco switch commands, tips and tricks= ==To see all ip addresses of switch== To see all ip addresses of switch use command `<tt>show ip aliases</tt>'. This can be v..."
- 04:50, 9 November 2012 diff hist +51 m Switch configuration notes
- 04:49, 9 November 2012 diff hist +3,157 N Configuring storm control on Cisco switch Created page with "=Configuring storm control on cisco switch= ==Configuring storm control on 2950+ switch== For 2950+ switch we can also specify values in percentage rather than packets per s..."
- 04:49, 9 November 2012 diff hist +47 m Switch configuration notes
- 04:48, 9 November 2012 diff hist +1,791 N Configuring privilege levels on Cisco switch Created page with "=Configuring privilege levels on Cisco switch= We can configure different command access based on priviledge level of user logged in. Hence, the commands available would depe..."
- 04:48, 9 November 2012 diff hist +50 m Switch configuration notes
- 04:46, 9 November 2012 diff hist +2,353 N Configuring etherchannel on Cisco switches Created page with "=Configuring etherchannel on Cisco switches= ==Configuring etherchannel on 2950+ switches with latest IOS== To configure etherchannel on 2950+ switches with latest IOS: #Go..."
- 04:46, 9 November 2012 diff hist +48 m Switch configuration notes
- 04:44, 9 November 2012 diff hist +1,457 N Tracing physical location of IP address in network using switches Created page with "=Tracing physical location of IP address in network using switches= To trace where is particular IP switch port by switch port we can make use of two different types of table..."
- 04:42, 9 November 2012 diff hist +71 m Switch configuration notes
- 04:41, 9 November 2012 diff hist +1,550 N Loading IOS on Cisco switch which has no existing IOS Created page with "=Loading IOS on Cisco switch which has no existing IOS= It is possible while upgrading IOS on switch that we upload some corrupted / wrong version of image. In that case swit..."
- 04:40, 9 November 2012 diff hist +59 m Switch configuration notes
- 04:40, 9 November 2012 diff hist +1,014 N Upgrading Cisco switch IOS using tftp server Created page with "=Upgrading switch IOS from telnet and tftp server= Normally if the previous image of switch IOS has web interface (flash:/html directory present) then we can use Cisco Networ..."
- 04:38, 9 November 2012 diff hist +50 m Switch configuration notes
- 04:36, 9 November 2012 diff hist +1,007 N Reset enable password on Cisco switch Created page with "=Reset enable password on Cisco switch= If we do not know enable / console / telnet etc. password of switch and have physical access to switch then, we can reset the password..."
- 04:36, 9 November 2012 diff hist +72 N Switch configuration notes Created page with "=Switch configuration notes= *Reset enable password on Cisco switch"
- 04:35, 9 November 2012 diff hist +71 m Main Page
- 10:02, 8 November 2012 diff hist +960 N Backing up and restoring MySQL database Created page with "=Backing up and restoring MySQL database= ==MySQL database backup== To backup MySQL database one can use '<tt>mysqldump</tt>' program. Syntax for mysqldump is: <pre> mysqldu..."
- 09:56, 8 November 2012 diff hist +45 m Mariadb configuration
- 09:55, 8 November 2012 diff hist +969 N Restoring mediawiki from database backup Created page with "=Restoring mediawiki from database backup= Most of the times during restore the latest version of mediawiki available would be never then version of mediawiki from which back..."
- 09:54, 8 November 2012 diff hist +626 N Installing PdfExport extension for mediawiki Created page with "=Installing PdfExport extension for mediawiki= *First install `<tt>htmldoc</tt>' package using yum. *You can get the source code for extension from http://www.mediawiki.org/..."
- 09:53, 8 November 2012 diff hist +2,397 N Enabling and using file uploads with mediawiki Created page with "=Enabling and using file uploads with mediawiki= ==Configuring mediawiki== You can add following lines to LocalSettings.php file to enable uploads quicky <pre> #Setting local..."
- 09:53, 8 November 2012 diff hist +490 N Changing logo displayed by mediawiki Created page with "=Changing logo displayed by mediawiki= To change logo displayed by mediawiki, change value of '$wgLogo' variable in file 'LocalSettings.php'. Sample value is listed below. <p..."
- 09:52, 8 November 2012 diff hist +1,691 N Blocking registration on mediawiki Created page with "=Blocking registration on mediawiki= There are various user groups in MediaWiki. One of the groups is '*' which includes all users (including anonymous users). Registered use..."
- 09:52, 8 November 2012 diff hist +2,430 N Configuring new mediawiki Created page with "=Configuring new mediawiki= #Download latest mediawiki source code from Internet #Extract mediawiki source in some folder (preferably <tt>/usr/share/mediawiki-<name></tt>) #O..."
- 09:51, 8 November 2012 diff hist +29 m Mediawiki configuration