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 ..."