User contributions for Saurabh
From Notes_Wiki
- 06:41, 10 November 2012 diff hist +3,303 N Using openVZ Created page with "=Using openVZ= ==Downloading OS templates== OpenVZ OS templates can be downloaded from http://download.openvz.org/template/precreated/ After downloading templates should b..."
- 06:41, 10 November 2012 diff hist +1,293 N Using openVZ live CD Created page with "=Using openVZ live CD= We can use openVZ live CD to create few test containers using: #Boot using openVZ live CD #Choose normal boot option from boot menu #Use setup command ..."
- 06:41, 10 November 2012 diff hist +161 N OpenvZ Created page with "=openVZ= *Using openVZ live CD *Using openVZ *Installing openVZ on Cent OS 5.5 *Resource management using openVZ *Miscellaneous openVZ notes"
- 06:40, 10 November 2012 diff hist +504 N Qemu networking Created page with "=Redirect host port to guest port using qemu= We can use '<tt>-redir tcp:<host_port>::<guest_port></tt>' option with qemu so that when connection is established t..."
- 06:40, 10 November 2012 diff hist +56 N Qemu Created page with "=qemu= *Redirect host port to guest port using qemu"
- 06:39, 10 November 2012 diff hist +659 N Troubleshooting KVM VM networking Created page with "=Troubleshooting KVM VM networking= If the VM also creates a virbr0 network within same range as the VMs eth0 virtual IP then network of VM stops working after while and just..."
- 06:39, 10 November 2012 diff hist +996 N Installing KVM on CentOS 5.5 Created page with "=Installing KVM on CentOS 5.5= KVM can be installed on CentOS 5.5 using following steps: #Check for CPU flags 'vmx' or 'svm' based on whether processor is intel or amd. #Use ..."
- 06:39, 10 November 2012 diff hist +79 N KVM Created page with "=KVM= *Installing KVM on CentOS 5.5 *Troubleshooting KVM VM networking"
- 06:38, 10 November 2012 diff hist +4,970 N Basic libvirt usage Created page with "=Basic libvirt usage= 'libvirt' provides common consistent interface among various back-end virtualization platforms. Hence if we use 'libvirt' then same commands/functions w..."
- 06:38, 10 November 2012 diff hist +35 N Libvirt Created page with "=libvirt= *Basic libvirt usage"
- 06:37, 10 November 2012 diff hist +2,358 N Xen troubleshooting Created page with "=Xen troubleshooting= ==Delayed starting of xend service on PC start-up== During normal PC boot service xend may take very long time to start or completely fail to start. T..."
- 06:37, 10 November 2012 diff hist +1,754 N Migrating Xen Hardware based Virtual Machines (Hvm) Created page with "=Migrating Xen Hardware based Virtual machines= We can perform live migration of VM from one physical host to another using Xen provided: *Both hosts have exact same absolute..."
- 06:36, 10 November 2012 diff hist +2,066 N Networking of Xen VMs Created page with "=Networking of Xen VMS= Detailed information on networking of Xen VMs is available at lab on http://www.sbarjatiya.com/website/courses/2010/monsoon/system_and_resource_virtua..."
- 06:36, 10 November 2012 diff hist +245 N Creating Xen paravirtualized guests Created page with "=Creating Xen paravirtualized guests= Steps on creating Xen paravirtualized guests are mentioned in lab at http://www.sbarjatiya.com/website/courses/2010/monsoon/system_and_r..."
- 06:35, 10 November 2012 diff hist +10,600 N Managing Xen Hardware based Virtual Machines (HVM) Created page with "=Managing Xen Hardware based Virtual Machine= '''A more updated lab is hosted at http://www.sbarjatiya.com/website/courses/2010/monsoon/system_and_resource_virtualization/la..."
- 06:35, 10 November 2012 diff hist +5,901 N Creating Xen Hardware based Virtual Machines (HVM) Created page with "=Creating Xen Hardware based Virtual Machines= '''A more updated lab is available at http://www.sbarjatiya.com/website/courses/2010/monsoon/system_and_resource_virtualization..."
- 06:34, 10 November 2012 diff hist +268 N Xen Created page with "=Xen= *Creating Xen Hardware based Virtual Machines (HVM) *Managing Xen Hardware based Virtual Machines (HVM) *Creating Xen paravirtualized guests *[[Networking o..."
- 06:34, 10 November 2012 diff hist +400 N VMWare workstation Created page with "=VMWare Workstation= Labs on "Introduction to VMWare" and "Advanced VMWare Workstation" are available at http://www.sbarjatiya.com/website/courses/2010/monsoon/system_and_res..."
- 06:33, 10 November 2012 diff hist +33 N VMWare Created page with "=VMWare= *VMWare workstation"
- 06:33, 10 November 2012 diff hist +97 N Virtualization tools Created page with "=Virtualization tools= *VMWare *Xen *libvirt *KVM *qemu *openvZ *lxc"
- 06:33, 10 November 2012 diff hist +26 m Main Page
- 06:28, 10 November 2012 diff hist +102 m Host resolution using openLDAP
- 06:24, 10 November 2012 diff hist +32 m Configuring laptop after Cent-OS re-installation
- 06:15, 10 November 2012 diff hist +1,281 N Installing yaws by source Created page with "=Installing yaws by source= We can install latest version of yaws using source downloaded from http://yaws.hyber.org/ When installing yaws using source, it is possible that ..."
- 06:14, 10 November 2012 diff hist +31 m Erlang
- 06:14, 10 November 2012 diff hist 0 m Installing Erlang by source
- 06:14, 10 November 2012 diff hist +693 N Installing Erlang by source Created page with "=Installing Erlang on CentOS= We can install Erlang on CentOS using '<tt>yum install erlang</tt>' when all popular repositories are configured. However if we want latest vers..."
- 06:14, 10 November 2012 diff hist +42 N Erlang Created page with "=Erlang= *Installing Erlang by source"
- 06:07, 10 November 2012 diff hist +4 m Expect
- 06:07, 10 November 2012 diff hist +5,520 N Expect Created page with "=Using expect= We can use expect to supply input to programs when simple redirection is not sufficient. The important expect commands are: # spawn # expect # send # interact ..."
- 06:04, 10 November 2012 diff hist +30 N Shell scripting Created page with "=Shell scripting= *expect"
- 06:04, 10 November 2012 diff hist +614 N Syntax highlighting for Scheme in vim and emacs Created page with "=Syntax highlighting for Scheme in vim and emacs= It's been observed that both vim and emacs do not, by default, recognize files with the .rkt extension as scheme source code..."
- 06:04, 10 November 2012 diff hist +40 m Scheme
- 06:03, 10 November 2012 diff hist +230 N DrRacket installation from source Created page with "=DrRacket Installation from source= To install DrRacket on CentOS 5.6 use: # Download and extract drracket source code # Go to <tt>./src</tt> # <tt>./configure --prefix=/usr/..."
- 06:03, 10 November 2012 diff hist +12 m DrRacket
- 06:02, 10 November 2012 diff hist +38 N DrRacket Created page with "=DrRacket= *DrRacket installation"
- 06:02, 10 November 2012 diff hist +36 N Scheme Created page with "=Scheme= *DrRacket *Editors"
- 06:02, 10 November 2012 diff hist −14 m Printf format specifiers in C
- 06:01, 10 November 2012 diff hist +4,336 N Printf format specifiers in C Created page with "=Printf format specifiers in C= ==The size specification== {| class="wikitable" border="1" cellspacing="5" cellpadding="10" |- | l || d,i,o,u,x,X || The letter l with this..."
- 06:00, 10 November 2012 diff hist +19,389 N Using ncurses library with C Created page with "=Steps for using ncurses library in C program= # #include <ncurses.h> # Compile using -lncurses # Call initscr(). It allocates memory for present window which is called stdsc..."
- 05:58, 10 November 2012 diff hist +934 N Large file support with C Created page with "=Large file support with C= By default on 32-bit operating systems fprintf, fwrite etc. use integer for maintaining location of next read/write operation in file. Hence max 2..."
- 05:58, 10 November 2012 diff hist +876 N Working around seg-faults while using syslog Created page with "=Working around seg-faults while using syslog= When we use <pre> openlog("run_commands_on_remote_server:", LOG_PID | LOG_NOWAIT | LOG_NDELAY, LOG_USER); </pre> to configure..."
- 05:57, 10 November 2012 diff hist +80 N Using syslog library with C Created page with "=Using syslog library with C= *Working around seg-faults while using syslog"
- 05:57, 10 November 2012 diff hist 0 m C
- 05:57, 10 November 2012 diff hist +137 N C Created page with "=C= *Using wyslog library with C *Large file support with C *Using ncurses library with C *printf format specifiers in C"
- 05:56, 10 November 2012 diff hist +3,690 N PHP Error reporting Created page with "=PHP error reporting= PHP error reporting configuration can be done in many places: *php.ini *httpd.conf *.htaccess (if AllowOverride is enabled for VirtualHost) *script file..."
- 05:56, 10 November 2012 diff hist +31 N PHP Created page with "=PHP= *PHP Error reporting"
- 05:55, 10 November 2012 diff hist +60 m Main Page
- 05:53, 10 November 2012 diff hist +2,515 N Miscellaneous notes on octave Created page with "=Miscellaneous notes on octave= ==Creating shell scripts with octave== To create shell scripts with octave you can use the normal 'hash bang' operator on top of script to sp..."
- 05:52, 10 November 2012 diff hist +767 N Octave constants Created page with "=Octave constantts= {| class="wikitable" border="1" cellspacing="5" cellpadding="10" |- | realmax || Maximum double value that can be represented in octave in double format..."
- 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