User contributions for Saurabh
From Notes_Wiki
- 05:52, 10 November 2012 diff hist +2,699 N Octave commands Created page with "=Octave commands= {| class="wikitable" border="1" cellspacing="5" cellpadding="10" |- | print || To export already generated plot to some file in known image format we ca..."
- 05:52, 10 November 2012 diff hist +15,305 N Octave functions Created page with "=Octave Functions= ==Matrix / Vector related functions== {| class="wikitable" border="1" cellspacing="5" cellpadding="10" |- | transpose(a) || This function returns transp..."
- 05:51, 10 November 2012 diff hist +5,168 N Octave operators Created page with "=Octave operators= ==Arithmetic Operators== {| class="wikitable" border="1" cellspacing="5" cellpadding="10" |- | + || Addition('+') operator can be used to add to n..."
- 05:49, 10 November 2012 diff hist +4,587 N Octave syntax Created page with "=Octave syntax= ==Declaring variables== ===Creating matrices=== *To define a matrix in Octave we have to enclose values in square brackets '[]'. Rows are seperated by semi-..."
- 05:49, 10 November 2012 diff hist +141 m Octave
- 04:48, 10 November 2012 diff hist +1,045 N Restore boot loader for Windows 7 or Vista after removing grub Created page with "=Restore boot loader for Windows 7 or Vista after removing grub= To restore boot loader for Windows 7 or Vista after removing grub use following steps: #Boot from Windows Vis..."
- 04:47, 10 November 2012 diff hist +89 N Windows 7 or Vista Created page with "=Windows 7 or Vista= *Restore boot loader for Windows 7 or Vista after removing grub"
- 04:46, 10 November 2012 diff hist +2,211 N Restore boot loader after removing grub Created page with "=Restore boot loader for Windows XP after removing grub= To restore boot loader for Windows XP after removing grub follow these steps: #Boot the computer using Windows XP ins..."
- 04:46, 10 November 2012 diff hist +58 N Windows XP Created page with "=Windows XP= *Restore boot loader after removing grub"
- 04:46, 10 November 2012 diff hist +50 N Windows Created page with "=Windows= *Windows XP *Windows 7 or Vista"
- 04:45, 10 November 2012 diff hist +13 m Main Page
- 04:44, 10 November 2012 diff hist +235 N Restarting network in debian Created page with "=Restarting network in debian= To restart network in debian use: <pre> /etc/init.d/networking stop && /etc/init.d/networking start </pre> Please note that '<tt>/etc/init.d/n..."
- 04:44, 10 November 2012 diff hist +938 N Configure static routes in debian Created page with "=Configure static routes in debian= To configure static routes in debian edit file '<tt>/etc/network/interfaces</tt>' and use <pre> up route add -net 192.168.2.0 netmask 255..."
- 04:43, 10 November 2012 diff hist +1,079 N Configuring apt repositories in debian Created page with "=Configuring apt-repositories= One can use apt to install packages in debian (similar to yum in Cent-OS). To configure repositories for apt use following steps: *Visit http:/..."
- 04:43, 10 November 2012 diff hist +126 N Debian Created page with "=Debian= *Configuring apt repositories in debian *Configure static routes in debian *Restarting network in debian"
- 04:43, 10 November 2012 diff hist +12 m Main Page
- 04:42, 10 November 2012 diff hist +8 m Restoring nouveau drivers after installing nvidia drivers
- 04:42, 10 November 2012 diff hist +776 N Restoring nouveau drivers after installing nvidia drivers Created page with "=Restoring nouveau drivers after installing nvidia= To restore nouveau drivers after installing nvidia proprietary drivers use: # Edit '<tt>/etc/grub/grub.conf</tt>' file and..."
- 04:42, 10 November 2012 diff hist +1,399 N Installing Nvidia proprietary drivers in Linux Created page with "=Installing Nvidia proprietary drivers in Linux= #Use '<tt>lspci</tt>' to see the graphics card model number #Download linux drivers from nvidia website for given card. Verif..."
- 04:41, 10 November 2012 diff hist +139 N Nvidia graphics card Created page with "=Nividia graphics card= *Installing Nvidia proprietary drivers in Linux *Restoring nouveau drivers after installing nvidia drivers"
- 04:41, 10 November 2012 diff hist +42 N Graphics card Created page with "=Graphics card= *Nvidia graphics card"
- 04:40, 10 November 2012 diff hist +19 m Main Page
- 04:40, 10 November 2012 diff hist +402 N Frequent errors from cron for MRTG Created page with "=Frequent errors from cron for mrtg= If you get frequent errors from cron for mrtg with message '<tt>Can't locate MRTG_lib.pm in @INC</tt>' then you can use following steps t..."
- 04:40, 10 November 2012 diff hist +40 m Rocky Linux or CentOS
- 04:39, 10 November 2012 diff hist +1,226 N Installing java plugin for firefox Created page with "=Installing java plugin for firefox= Follow these steps for installing java plugin in firefox in CentOS #If OS is 64-bit then download 64-bit version of JRE else if it is 32-..."
- 04:39, 10 November 2012 diff hist +40 m Web based tools or applications
- 04:37, 10 November 2012 diff hist +768 N Installing linuxdcpp Created page with "=Installing linuxdcpp= linuxdcpp is a very good dc++ client for Linux. In case it is not available in any standard repositories (a case with CentOS) then we can download its ..."
- 04:37, 10 November 2012 diff hist +38 N Linuxdcpp Created page with "=Linuxdcpp= *Installing linuxdcpp"
- 04:37, 10 November 2012 diff hist +39 N Network related tools Created page with "=Network related tools= *linuxdcpp"
- 04:36, 10 November 2012 diff hist +27 m Main Page
- 04:35, 10 November 2012 diff hist +527 N Increasing load average issue with CentOS 5.3 Created page with "=Increasing load aveage issue with CentOS 5.3= Load average keeps increasing on CentOS 5.3. This happens if you disable mcstrans service. The cron file `<tt>/etc/cron.hourly/..."
- 04:35, 10 November 2012 diff hist +60 N Rocky Linux or CentOS Created page with "=CentOS= *Increasing load average issue with CentOS 5.3"
- 04:34, 10 November 2012 diff hist +36 m Main Page
- 04:33, 10 November 2012 diff hist +516 N Installing new kernel from source code Created page with "=Installing new kernel from sources code= To install new kernel from source code follow these steps: #Download latest kernel source #Use '<tt>make xconfig</tt>' to create .co..."
- 04:33, 10 November 2012 diff hist +44 m Miscellaneous OS configuration
- 04:32, 10 November 2012 diff hist +1,101 N Installing web2py Created page with "=Installing web2py= For installing web2py we have to install 'hashlib' and 'uuid' which cannot be installed from yum. Hence we first download 'ez_setup.py' tool and use it t..."
- 04:31, 10 November 2012 diff hist +32 N Python Created page with "=Python= *Installing web2py"
- 04:31, 10 November 2012 diff hist +12 m Main Page
- 04:30, 10 November 2012 diff hist +1,956 N Installing octave from source Created page with "=Installing Octave from source= ==Installing Octave from source in CentOS-5.3== #First install fltk, fftw and gperf using yum #Download latest stable source of octave from h..."
- 04:30, 10 November 2012 diff hist +44 N Octave Created page with "=Octave= *Installing octave from source"
- 04:29, 10 November 2012 diff hist +36 m Main Page
- 04:24, 10 November 2012 diff hist +474 N Managing file permissions using groups Created page with "=Managing file permissions using groups= To allow set of users to have access to same set of files groups can be used. ==Creating groups== To create group use: <pre> groupa..."
- 04:24, 10 November 2012 diff hist +1,242 N Implement password character or length constraints Created page with "=Implement password character or length constraints= We can implement minimum password length, password should have at least one small letter, etc. constraints by editing <tt..."
- 04:23, 10 November 2012 diff hist +637 N Running scripts at GUI login or log-off Created page with "=Running scripts at GUI login or log-off= Some times it is desired that scripts run automatically after every GUI login / log-off. We cannot use '<tt>/etc/rc.d/rc.local</tt>'..."
- 04:23, 10 November 2012 diff hist +178 N Miscellaneous OS configuration Created page with "=Miscellaneous OS configuration= *Running scripts at GUI login or log-off *Implement password character or length constraints *Managing file permissions using groups"
- 04:22, 10 November 2012 diff hist +36 m Main Page
- 04:21, 10 November 2012 diff hist +418 N Allowing users to run specific scripts as root Created page with "=Allowing users to run specific scripts as root= We can configure sudo with lines, like: <pre> saurabh ALL= NOPASSWD:/home/saurabh/Desktop/test.sh </pre> to allow user saurab..."
- 04:21, 10 November 2012 diff hist +642 N Allowing user to run all commands as root without specifying password Created page with "=Allowing user to run all commands as root without specifying password= We can configure sudo to allow particular user to run all commands as root without supplying user or r..."
- 04:20, 10 November 2012 diff hist +470 N Understanding sudo configuration syntax Created page with "=Sudo configuration syntax= Lines in sudo configuration uses following format: <pre> <username> or <group> <machine> = [(<user>)] [NOPASSWD] :<command1> [, <command2> ...] </..."
- 04:20, 10 November 2012 diff hist +193 N Sudo configuration Created page with "=Sudo configuration= *Understanding sudo configuration syntax *Allowing user to run all commands as root without specifying password *[[Allowing users to run specific..."
- 04:20, 10 November 2012 diff hist +24 m Main Page
- 04:18, 10 November 2012 diff hist +1,052 N Analyzing audit logs Created page with "=Analyzing audit logs= We can analyze audit logs using '<tt>ausearch</tt>' and '<tt>aureport</tt>' commands. Few good ways of using these commands are listed here. ==Looking..."
- 04:11, 10 November 2012 diff hist +82 N Auditd configuration Created page with "=auditd configuration= *Configuring auditing daemon *Analyzing audit logs"
- 04:10, 10 November 2012 diff hist +26 m Security tools
- 03:05, 10 November 2012 diff hist +3,888 N Basic ebtables configuration Created page with "=About ebtables chains and tables= ebtables contains following tables and listed chains within each table: #filter ##INPUT ##FORWARD ##OUTPUT #broute ##BROUTING ##OUTPUT In ..."
- 03:05, 10 November 2012 diff hist +59 N Ebtables configuration Created page with "=ebtables configuration= *Basic ebtables configuration"
- 03:05, 10 November 2012 diff hist +28 m Main Page
- 03:03, 10 November 2012 diff hist +5,201 N Using MRTG for monitoring host CPU, memory, disk etc. Created page with "=Using MRTG for monitoring host CPU, memory, disk etc.= First configure SNMP server on Linux host as explained at SNMP server configuration for Linux hosts. Then use foll..."
- 03:00, 10 November 2012 diff hist +2,662 N Basic MRTG configuration for monitoring network interfaces Created page with "=Basic MRTG configuration for monitoring network interfaces= Steps to configure basic MRTG based monitoring server are: #Use command '<tt>snmpwalk -v 1 -c <community> &..."
- 02:58, 10 November 2012 diff hist +144 N MRTG configuration Created page with "=MRTG configuration= *Basic MRTG configuration for monitoring network interfaces *Using MRTG for monitoring host CPU, memory, disk etc."
- 02:58, 10 November 2012 diff hist +24 m Monitoring tools
- 02:57, 10 November 2012 diff hist +905 N Storing date / time along with commands in history Created page with "=Storing date / time with history command= We can use following steps to ensure that date / time also get stored along with history commands: #Create file '<tt>/etc/profile.d..."
- 02:57, 10 November 2012 diff hist +908 N Configuring idle timeout for shell Created page with "=Configuring idle timeout for shell= We can configure idle timeout for bash by following steps: #Create file named '<tt>/etc/profile.d/autologout.sh</tt>' #Add following con..."
- 02:56, 10 November 2012 diff hist +118 N Shell configuration Created page with "=Shell configuration= *Configuring idle timeout for shell *Storing date / time along with commands in history"
- 02:55, 10 November 2012 diff hist +25 m Main Page
- 02:54, 10 November 2012 diff hist +3,435 N Configure new RHEL-5.5 VM on IBM cloud Created page with "=Configuring new RHEL-5.5 VM on IBM cloud= ==Converting private key to ppk file using puttygen== #Download puttygen application from Internet #Run puttygen and use 'Load' op..."
- 02:50, 10 November 2012 diff hist +10,315 N Configuring laptop after Cent-OS re-installation Created page with "=Configure laptop after Cent-OS re-installation= This page is intended to describe settings to be done, files to be copied, packages to be installed via yum or source after O..."
- 02:48, 10 November 2012 diff hist +126 N New machine configuration Created page with "=New machine configuration= *Configuring laptop after Cent-OS re-installation *Configure new RHEL-5.5 VM on IBM cloud"
- 02:47, 10 November 2012 diff hist +30 m Main Page
- 02:43, 10 November 2012 diff hist +1,745 N Basic clamav configuration Created page with "=Basic clamav configuration= ==Configuring and updating clamav== # Update system with latest clamav and clamav-db packages # Open file '<tt>/etc/freshclam.conf</tt>' ## Com..."
- 02:43, 10 November 2012 diff hist +55 N Clamav configuration Created page with "=Clamav configuration= *Basic clamav configuration"
- 02:42, 10 November 2012 diff hist +26 m Security tools
- 02:40, 10 November 2012 diff hist +7,960 N Using Tripwire Created page with "=Using Tripwire= Tripwire has lot of modes which include *Database initialization mode *Test mode *Check mode (report mode or interactive update mode) *Database update mode *..."
- 02:40, 10 November 2012 diff hist +6,323 N Configuring basic Tripwire server Created page with "=Configuring basic Tripwire server= ==Tripwire keys== Tripwire uses two types of keys, site key and local key. Site key can be used to protect files which are common across..."
- 02:40, 10 November 2012 diff hist +84 N Tripwire configuration Created page with "=Tripwire configuration= *Configuring basic Tripwire server *Using Tripwire"
- 02:39, 10 November 2012 diff hist +28 m Security tools
- 13:12, 9 November 2012 diff hist +12,191 N Configuring basic AIDE server Created page with "=Configuring basic AIDE server= ==About AIDE== AIDE stands for Advanced Intrusion Detection Environment. It is file integrity based IDS like tripwire. AIDE supports very eas..."
- 13:12, 9 November 2012 diff hist +56 N AIDE configuration Created page with "=AIDE configuration= *Configuring basic AIDE server"
- 13:11, 9 November 2012 diff hist +24 m Security tools
- 13:10, 9 November 2012 diff hist +6,005 N Snort related tools Created page with "=Installing oinkmaster= Oinkmaster can be used to download latest snort rules from snort website automatically and install them on your system. #Download latest oinkmaster s..."
- 13:09, 9 November 2012 diff hist +1,720 N Downloading and using latest snort rules Created page with "=Downloading and using latest snort rules= #Download latest snort rules from https://www.snort.org/snort-rules/#registered Note that we cannot download subscriber release w..."
- 13:08, 9 November 2012 diff hist +15,937 N Snort payload rule options Created page with "=snort payload rule options= ==content== content option allows the user to set rules that search for specific content in the packet payload and trigger response based on that ..."
- 13:08, 9 November 2012 diff hist +4,439 N Snort general rule options Created page with "=Snort general rule options= ==msg== The msg rule option tells the logging and alerting engine the message to print along with a packet dump or to an alert. It is a simple t..."
- 13:07, 9 November 2012 diff hist +5,551 N Configuring snort rules Created page with "=Configuring very basic snort rules= Following steps can be used for configuring or testing very basic snort rules: *Create file /etc/snort/rules/local.rules using '<tt>touch..."
- 13:07, 9 November 2012 diff hist +2,771 N Snort modes Created page with "=Various snort modes= Snort can be used in three different modes: *Sniffing - <tt>-v</tt> - In this mode snort just sniffs the packets and displays relevant information on sc..."
- 13:06, 9 November 2012 diff hist +3,692 N Installing snort on CentOS Created page with "=One can use these steps to install snort on CentOS 5.5 or later= The following steps work on CentOS-5.5 with snort-2.9.0.5, libpcap-1.1.1 and daq-0.5 perfectly. # <tt>chkcon..."
- 13:05, 9 November 2012 diff hist +310 N Snort configuration Created page with "=Snort configuration= *Installing snort on CentOS *Snort modes *Configuring snort rules *Snort general rule options *Snort payload rule options *[[Snort n..."
- 13:05, 9 November 2012 diff hist +25 m Security tools
- 13:04, 9 November 2012 diff hist +2,591 N Basic disk quota configuration Created page with "=Basic disk quota configuration= To enable user quota on some filesystem follow these steps: # Add option '<tt>usrquota</tt>' in '<tt>/etc/fstab</tt>' of the partition on whi..."
- 13:04, 9 November 2012 diff hist +5 m Configuring disk quota
- 13:03, 9 November 2012 diff hist +56 N Configuring disk quota Created page with "=Configuring disk quota= *Basic quota configuration"
- 13:03, 9 November 2012 diff hist +55 N Filesystem configuration Created page with "=Filesystem configuration= *Configuring disk quota"
- 13:02, 9 November 2012 diff hist +30 m Main Page
- 13:02, 9 November 2012 diff hist +2,868 N Apache SELinux configuration Created page with "=apache SELinux configuration= ==Apache SELinux contexts== Apache process runs with SELinux context '<tt>unconfined_u:system_r:httpd_t:s0</tt>'. Files used by apache can h..."
- 13:01, 9 November 2012 diff hist +477 N SELinux contexts for various purposes Created page with "=SELinux contexts for various purposes= List of SELinux contexts for various purposes are listed here. We can use chcon to change context of some non-default location, if we ..."
- 13:01, 9 November 2012 diff hist +4,497 N SELinux configuration basics Created page with "=SELinux Configuration Basics= In Fedora 12 SELinux comes enabled by default and using it we can improve the security of system. When we use SELinux all files, users and proc..."
- 13:01, 9 November 2012 diff hist +135 N SELinux configuration Created page with "=SELinux configuration= *SELinux configuration basics *SELinux contexts for various purposes *apache SELinux configuration"
- 13:00, 9 November 2012 diff hist +27 m Main Page
- 13:00, 9 November 2012 diff hist +1,176 N Configuring parents for devices in nagios Created page with "=Configuring parents for devices in nagios= In nagios we can configure parents of hosts, so that if parent is down the childrens which depend on it are not checked. This is u..."
- 12:58, 9 November 2012 diff hist +4,836 N Configuring nrpe based internal service checks Created page with "=Configuring nrpe based internal service checks= We can use nrpe to monitor status of processes, hard-disk usage, cpu usage etc. on host. Since this things cannot be checked ..."
- 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
- 09:50, 8 November 2012 diff hist +372 N Mediawiki configuration Created page with "=mediawiki configuration= *Configuring new mediawiki *Blocking registration on mediawiki *Changing logo displayed by mediawiki *[[Enabling and using file uploads]..."
- 09:49, 8 November 2012 diff hist +29 m Main Page
- 09:49, 8 November 2012 diff hist +980 N Removing banned IP from denyhosts Created page with "=Removing banned IP from denyhosts= To remove banned IP from denyhosts follow these steps: Check whether IP is present in "/etc/hosts.deny" or not. If IP is not present in t..."
- 09:48, 8 November 2012 diff hist +1,297 N Configuring new denyhosts server from source Created page with "=Configuring new denyhosts server from source= # Download latest source code for denyhosts from Internet. # Extract file using something like '<tt>tar xzf DenyHosts-2.6.tar.g..."
- 09:48, 8 November 2012 diff hist +12 m Denyhosts configuration
- 09:48, 8 November 2012 diff hist +103 N Denyhosts configuration Created page with "=Denyhosts configuration= *Configuring new denyhosts server *Removing banned IP from denyhosts"
- 09:47, 8 November 2012 diff hist +29 m Main Page
- 09:46, 8 November 2012 diff hist +1,017 N Troubleshooting zimbra issues Created page with "=Troubleshooting zimbra issues= ==ldap fails to start== Zimbra ldap may fail to start if domain to IP address mapping is incorrect. Ensure that if primary domain in example...."
- 09:46, 8 November 2012 diff hist +4,442 N Basic zimbra configuration Created page with "=Zimbra= ==Installation== #Zimbra setup can be downloaded from http://www.zimbra.com/downloads/os-downloads.html #Verify md5sum and then extract download archive #<tt>servic..."
- 09:46, 8 November 2012 diff hist +97 N Zimbra server configuration Created page with "=Zimbra server configuration= *Basic zimbra configuration *Troubleshooting zimbra issues"
- 09:45, 8 November 2012 diff hist +33 m Main Page
- 09:44, 8 November 2012 diff hist +2,997 N SNMP server configuration for Linux hosts Created page with "=SNMP server configuration for Linux hosts= Steps: #Ensure that packages '<tt>net-snmp</tt>' and '<tt>net-snmp-utils</tt>' are installed. #Start snmpd service and enable it o..."
- 09:44, 8 November 2012 diff hist +75 N SNMP server configuration Created page with "=SNMP server configuration= *SNMP server configuration for Linux hosts"
- 09:44, 8 November 2012 diff hist +31 m Main Page
- 09:43, 8 November 2012 diff hist +801 N Cache peer configuration for squid Created page with "=Cache peer configuration for squid= ==Configuring cache peer for some specific domains== We can configure parent proxy for few specific domains. This can be useful if paren..."
- 09:42, 8 November 2012 diff hist +732 N Squid ACL notes Created page with "=Squid ACL notes= ==Blocking domains== We can use following lines to block domains youtube.com, youtube.co.uk, etc. from 10.2.48.0/24 IP range: <pre> acl youtube_facebook_s..."
- 09:41, 8 November 2012 diff hist +1,142 N Using encrypted channels to communicate with squid proxy server Created page with "=Using encrypted channels to communicate with squid proxy server= We can use <pre> https_port 8081 cert=/etc/squid/squid.pem </pre> in '<tt>squid.conf</tt>' to allow clients ..."
- 09:41, 8 November 2012 diff hist +1,602 N Configuring proxy authentication for squid Created page with "=Configuring proxy authentication for squid= ==Enabling proxy authentication using custom plugin== We can configure a program for basic authentication using lines like: <pre..."
- 09:40, 8 November 2012 diff hist +3,332 N Configuring squid cache Created page with "=Configuring squid cache= ==Configurable parameters related to squid cache== ===Configuring structure of squid_cache directory and amount of data stored=== We can configure..."
- 09:40, 8 November 2012 diff hist +1,643 N Configuring squid cache manager Created page with "=Configuring squid cache manager= ==Configure web interface of squid cache manager== Squid comes with cache manager CGI application which can be used to see cache statistics..."
- 09:39, 8 November 2012 diff hist +279 N Squid proxy server configuration Created page with "=squid proxy server configuration= *Configuring squid cache manager *Configuring squid cache *Configuring proxy authentication for squid *[[Using encrypted channe..."
- 09:39, 8 November 2012 diff hist +38 m Main Page
- 10:30, 7 November 2012 diff hist +153 N Generating new ssh host keys for openSSH server Created page with "=Generating new SSH host keys for openSSH server= To generate new SSH host keys use command: <pre> ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key </pre>"
- 10:30, 7 November 2012 diff hist +1,198 N Improving openSSH server performance Created page with "=Improving SSH server performance= There are various ways of improving SSH server performance. For example on local LAN disabling all types of DNS checks both on server and o..."
- 10:29, 7 November 2012 diff hist +675 N Disabling reverse DNS lookup for openSSH Created page with "=Disabling reverse DNS lookup for openSSH= Sometimes SSH to servers takes considerable time. This can be due to delay problems with DNS servers. If we are on local LAN and th..."
- 10:29, 7 November 2012 diff hist +1,117 N Passphrase for ssh-keys Created page with "=Passphrase for ssh-keys= When our public key, private key etc. can be used to access some sensitive information that it makes sense to protect our keys with some passphrase...."
- 10:28, 7 November 2012 diff hist +844 N Sharing multiple ssh connections Created page with "=Sharing multiple ssh connections= It is possible that once ssh connection is established with the machine, the same gets used for all additional ssh, scp, rsync etc. connect..."
- 10:28, 7 November 2012 diff hist +2,854 N Chrooting sftp users to home directory with openSSH Created page with "=Chrooting sftp users to home directory with openSSH= In shared hosting environment it might be desired that users can only do sftp and cannot execute shell commands. Also it..."
- 10:27, 7 November 2012 diff hist +577 N Configuring idle timeout for openSSH Created page with "=Configuring idle timeout for openSSH= We can configure idle timeout for ssh so that if there is no activity for given period, the user is automatically logged out. To config..."
- 10:27, 7 November 2012 diff hist +2 m OpenSSH server configuration
- 10:26, 7 November 2012 diff hist +336 N OpenSSH server configuration Created page with "=OpenSSH server configuration= *Configuring idle timeout for shell *Chrooting sftp users to home directory with openSSH *Sharing multiple ssh connections *[[Passp..."
- 10:25, 7 November 2012 diff hist +34 m Main Page
- 10:24, 7 November 2012 diff hist +904 N Configuring basic tftp server Created page with "=Configuring basic tftp server= To create a tftp server use: # <tt>yum install tftp tftp-server</tt> # Edit '<tt>/etc/xinetd.d/tftp</tt>', change disable to no # Start xinetd..."
- 10:24, 7 November 2012 diff hist +63 N Tftp server configuration Created page with "=tftp server configuration= *Configuring basic tftp server"
- 10:23, 7 November 2012 diff hist +31 m Main Page
- 10:22, 7 November 2012 diff hist +12,669 N Basic samba server configuration Created page with "=Basic samba server configuration= ==On Windows XP== # Either disable windows firewall or Create exception for file and printer sharing in windows firewall. # Disable all vi..."
- 10:22, 7 November 2012 diff hist +67 N Samba server configuration Created page with "=Samba server configuration= *Basic samba server configuration"
- 10:22, 7 November 2012 diff hist +32 m Main Page
- 10:21, 7 November 2012 diff hist +4,649 N Configuring basic pxeboot server Created page with "=Configuring basic pxeboot server= To configure a basic pxeboot server we can use following steps: #Install packages '<tt>dhcp</tt>', '<tt>tftp-server</tt>' and '<tt>syslinux..."
- 10:20, 7 November 2012 diff hist +69 N Pxeboot server configuration Created page with "=pxeboot server configuration= *Configuring basic pxeboot server"
- 10:20, 7 November 2012 diff hist +34 m Main Page
- 10:18, 7 November 2012 diff hist +1,372 N Configuring LDAP based authentication for apache Created page with "=Configuring LDAP based authentication for apache= To configure LDAP based authentication for apache use: #Install mod_authz_ldap package using '<tt>yum -y install mod_authz_..."
- 10:17, 7 November 2012 diff hist +669 N Host resolution using openLDAP Created page with "=Host resolution using ldap= To use ldap for host resolution use following steps: #Verify that '<tt>nis</tt>' schema is included in slapd configuratiodn #Create an ou for hos..."
- 10:17, 7 November 2012 diff hist +6,507 N Configuring authentication with openLDAP server Created page with "=Configuring authentication with openLDAP server= ==LDAP server configuration== ===User accounts=== First user accounts or groups should be created on ldap server. A sample ..."
- 10:16, 7 November 2012 diff hist +2,750 N Configuring openLDAP replica server Created page with "=Configuring openLDAP replica server= ==Primary server configuration== ===Enable syncronization module=== To configure replica server on primay node add following global c..."
- 10:16, 7 November 2012 diff hist +624 N Database wide operations such as backup or restore for openLDAP Created page with "=Database wide operations such as backup or restore for openLDAP= ==Backing up ldap database== To backup ldap database use: <pre> slapcat -l <backup_file> -f /etc/openldap/s..."
- 10:15, 7 November 2012 diff hist +1,397 N Converting old slapd.conf file to cn=config format Created page with "=Converting old slapd.conf file to cn=config format= To convert slapd.conf file to new format start slapd once using '<tt>-F</tt>' option with an empty directory such as: <pr..."
- 10:15, 7 November 2012 diff hist +2,340 N OpenLDAP client configuration Created page with "=ldap client configuration= ==Configuring thunderbird to use LDAP address book== We can use following values to create LDAP address book in thunderbird that uses IIIT ldap s..."
- 10:14, 7 November 2012 diff hist +5,690 N Securing openLDAP SASL authentication Created page with "=Securing openLDAP SASL authentication= ==Managing password stored in DIT== To modify or set ldap passwords using slapd.conf (rootpw) or ldapmodify/ldapadd (userPassword) on..."
- 10:13, 7 November 2012 diff hist +7,435 N Configuring TLS or SSL security for openLDAP server Created page with "=Configuring TLS or SSL security for openLDAP server= ==Certificate generation== ''All certificate generation related steps can also be done using '<tt>easy-rsa</tt>' script..."