<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-50829296064695022</atom:id><lastBuildDate>Thu, 16 Feb 2012 10:21:08 +0000</lastBuildDate><category>Veritas Cluster Server</category><category>Unix</category><category>High-Availability</category><category>HP-UX</category><category>Script Thinggy</category><category>AIX</category><category>Linux</category><category>Clustering</category><title>----&lt;|)imshahmemyselfandi(|&gt;----</title><description>To follow the path: Look to the master,
Follow the master, Walk with the master,
See through the master, Become the master.</description><link>http://shahpunyerblog.blogspot.com/</link><managingEditor>noreply@blogger.com (imshahmemyselfandi)</managingEditor><generator>Blogger</generator><openSearch:totalResults>31</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Imshahmemyselfandi" /><feedburner:info uri="imshahmemyselfandi" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item><guid isPermaLink="false">tag:blogger.com,1999:blog-50829296064695022.post-6550513437029831682</guid><pubDate>Mon, 19 Jul 2010 05:13:00 +0000</pubDate><atom:updated>2010-07-19T13:39:45.034+08:00</atom:updated><title>How to clear pending/stuck print job in AIX</title><description>## In this scenario the print queue name/printer name is AV169. This is for SAP printing. Check whether the print queue name/printer name is exist or not and it is pingable or not. If everything is fine, then proceed with the 3 steps below&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1) root@sap03_R3P / # &lt;span style="color: rgb(51, 51, 255);"&gt;disable AV169&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;** This command will disable the printer for a while&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2) root@sap03_R3P / # &lt;span style="color: rgb(51, 51, 255);"&gt;qcan -x 23 -P AV169&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;** Look for the first print queue ID that is listed. In this case the first print queue ID is 23&lt;br /&gt;&lt;br /&gt;root@pxipvsap03_R3P / # &lt;span style="color: rgb(51, 51, 255);"&gt;lpstat -oAV169&lt;/span&gt;&lt;br /&gt;Queue   Dev   Status    Job Files              User         PP %   Blks  Cp Rnk&lt;br /&gt;------- ----- --------- --- ------------------ ---------- ---- -- ----- --- ---&lt;br /&gt;AV169   hp@AV RUNNING    23 000IJXSj.R3P       r3padm        0 100    16   1   1&lt;br /&gt;             QUEUED    191 000J5NyL.R3P       r3padm               107   1   2&lt;br /&gt;             QUEUED    332 000JUXwn.R3P       r3padm                21   1   3&lt;br /&gt;&lt;br /&gt;** Enter the command above to remove that print queue. After that, enter command : lpstat -oAV169 | more . If that print queue is still exist repeat the above command until that print queue is remove and disappear from the list. Then, enter again command lpstat -oAV169 | more for confirmation.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3) root@sap03_R3P / # &lt;span style="color: rgb(51, 51, 255);"&gt;enable AV169&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;** To enable again the printer, type the above command.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Follow the below steps for how to :)&lt;br /&gt;&lt;br /&gt;$ /usr/sbin/ping AV169&lt;br /&gt;PING AV169.domain1.local: (10.xx.xx.xxx): 56 data bytes&lt;br /&gt;64 bytes from 10.xx.xx.xxx: icmp_seq=0 ttl=58 time=2 ms&lt;br /&gt;64 bytes from 10.xx.xx.xxx: icmp_seq=1 ttl=58 time=2 ms&lt;br /&gt;64 bytes from 10.xx.xx.xxx: icmp_seq=2 ttl=58 time=2 ms&lt;br /&gt;&lt;br /&gt;----AV169.domain1.local PING Statistics----&lt;br /&gt;3 packets transmitted, 3 packets received, 0% packet loss&lt;br /&gt;round-trip min/avg/max = 2/2/2 ms&lt;br /&gt;&lt;br /&gt;$ nslookup AV169&lt;br /&gt;Server:  pxdces01.domain1.local&lt;br /&gt;Address:  10.xx.xx.xxx&lt;br /&gt;&lt;br /&gt;Name:    AV169.domain1.local&lt;br /&gt;Address:  10.xx.xx.xxx&lt;br /&gt;&lt;br /&gt;$ grep -i AV169 /etc/qconfig&lt;br /&gt;AV169:&lt;br /&gt;      device = hp@AV169&lt;br /&gt;hp@AV169:&lt;br /&gt;      file = /var/spool/lpd/pio/@local/dev/hp@AV169#hpJetDirect#9100&lt;br /&gt;      backend = /usr/lib/lpd/pio/etc/piojetd AV169 9100&lt;br /&gt;&lt;br /&gt;$ lpstat -oAV169&lt;br /&gt;Queue   Dev   Status    Job Files              User         PP %   Blks  Cp Rnk&lt;br /&gt;------- ----- --------- --- ------------------ ---------- ---- -- ----- --- ---&lt;br /&gt;AV169   hp@AV RUNNING    23 000IJXSj.R3P       r3padm        0 100    16   1   1&lt;br /&gt;            QUEUED    191 000J5NyL.R3P       r3padm               107   1   2&lt;br /&gt;            QUEUED    332 000JUXwn.R3P       r3padm                21   1   3&lt;br /&gt;            QUEUED    341 000JbHe5.R3P       r3padm                11   1   4&lt;br /&gt;            QUEUED    439 000Lo5Td.R3P       r3padm                14   1   5&lt;br /&gt;            QUEUED    444 000LuxhR.R3P       r3padm                 9   1   6&lt;br /&gt;            QUEUED    451 000M1QLh.R3P       r3padm                11   1   7&lt;br /&gt;            QUEUED    619 000O4KQ5.R3P       r3padm                45   1   8&lt;br /&gt;            QUEUED    623 000O5QcD.R3P       r3padm                52   1   9&lt;br /&gt;            QUEUED    626 000O6FlJ.R3P       r3padm               227   1  10&lt;br /&gt;            QUEUED    936 000P5qiX.R3P       r3padm                15   1  11&lt;br /&gt;            QUEUED     17 000PNitd.R3P       r3padm                 9   1  12&lt;br /&gt;            QUEUED    139 000PPvHt.R3P       r3padm               358   1  13&lt;br /&gt;            QUEUED    203 000PttcP.R3P       r3padm                11   1  14&lt;br /&gt;            QUEUED    205 000PurI1.R3P       r3padm                40   1  15&lt;br /&gt;            QUEUED    206 000PuilV.R3P       r3padm               146   1  16&lt;br /&gt;            QUEUED    596 000QwNaT.R3P       r3padm                81   1  17&lt;br /&gt;            QUEUED     74 000S8lJh.R3P       r3padm                70   1  18&lt;br /&gt;            QUEUED     76 000S92Mj.R3P       r3padm                12   2  19&lt;br /&gt;            QUEUED     77 000S9AtF.R3P       r3padm                27   3  20&lt;br /&gt;            QUEUED     80 000S9izJ.R3P       r3padm                39   2  21&lt;br /&gt;            QUEUED    106 000SCCQb.R3P       r3padm                39   2  22&lt;br /&gt;            QUEUED    198 000SPfpB.R3P       r3padm                40   2  23&lt;br /&gt;            QUEUED    366 000Snb4z.R3P       r3padm               108   1  24&lt;br /&gt;            QUEUED    371 000SoYkb.R3P       r3padm                90   1  25&lt;br /&gt;            QUEUED    590 000TLYcT.R3P       r3padm                14   1  26&lt;br /&gt;            QUEUED    598 000TMeob.R3P       r3padm                38   1  27&lt;br /&gt;            QUEUED    698 000TbEPJ.R3P       r3padm                 8   1  28&lt;br /&gt;            QUEUED    731 000TfuEr.R3P       r3padm                 8   1  29&lt;br /&gt;            QUEUED    767 000Tkzdx.R3P       r3padm                 8   1  30&lt;br /&gt;            QUEUED     11 000UMWor.R3P       r3padm                17   1  31&lt;br /&gt;            QUEUED     68 000UV3Kr.R3P       r3padm                17   1  32&lt;br /&gt;            QUEUED    813 000WGUnh.R3P       r3padm                11   1  33&lt;br /&gt;            QUEUED    815 000WGuNF.R3P       r3padm                11   1  34&lt;br /&gt;            QUEUED    827 000WIhBx.R3P       r3padm               342   1  35&lt;br /&gt;            QUEUED    862 000WNe4X.R3P       r3padm               276   1  36&lt;br /&gt;            QUEUED    907 000WU6in.R3P       r3padm                16   1  37&lt;br /&gt;            QUEUED    171 000X7yoT.R3P       r3padm                14   1  38&lt;br /&gt;            QUEUED    288 000XPiT3.R3P       r3padm                14   1  39&lt;br /&gt;            QUEUED    359 000XbGWP.R3P       r3padm                14   1  40&lt;br /&gt;&lt;br /&gt;$ lpstat -pAV169 | wc -l&lt;br /&gt;    42&lt;br /&gt;&lt;br /&gt;root@sap03_R3P / # disable AV169&lt;br /&gt;&lt;br /&gt;root@sap03_R3P / # qcan -x 23 -P AV169&lt;br /&gt;&lt;br /&gt;root@sap03_R3P / # lpstat -oAV169 | more&lt;br /&gt;Queue   Dev   Status    Job Files              User         PP %   Blks  Cp Rnk&lt;br /&gt;------- ----- --------- --- ------------------ ---------- ---- -- ----- --- ---&lt;br /&gt;AV169   hp@AV DOWN  &lt;br /&gt;            QUEUED     23 000IJXSj.R3P       r3padm                16   1   1&lt;br /&gt;            QUEUED    191 000J5NyL.R3P       r3padm               107   1   2&lt;br /&gt;&lt;br /&gt;root@sap03_R3P / # qcan -x 23 -P AV169&lt;br /&gt;&lt;br /&gt;root@sap03_R3P / # lpstat -oAV169 | more&lt;br /&gt;Queue   Dev   Status    Job Files              User         PP %   Blks  Cp Rnk&lt;br /&gt;------- ----- --------- --- ------------------ ---------- ---- -- ----- --- ---&lt;br /&gt;AV169   hp@AV DOWN  &lt;br /&gt;            QUEUED    191 000J5NyL.R3P       r3padm               107   1   1&lt;br /&gt;            QUEUED    332 000JUXwn.R3P       r3padm                21   1   2&lt;br /&gt;&lt;br /&gt;root@sap03_R3P / # enable AV169&lt;br /&gt;&lt;br /&gt;root@sap03_R3P / # lpstat -pAV169 | wc -l&lt;br /&gt;    41&lt;br /&gt;root@sap03_R3P / # lpstat -pAV169 | wc -l&lt;br /&gt;    38&lt;br /&gt;root@sap03_R3P / # lpstat -pAV169 | wc -l&lt;br /&gt;    36&lt;br /&gt;root@sap03_R3P / # lpstat -pAV169 | wc -l&lt;br /&gt;    34&lt;br /&gt;root@sap03_R3P / # lpstat -pAV169 | wc -l&lt;br /&gt;    32&lt;br /&gt;root@sap03_R3P / # lpstat -pAV169 | wc -l&lt;br /&gt;    30&lt;br /&gt;root@sap03_R3P / # lpstat -pAV169 | wc -l&lt;br /&gt;    25&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/50829296064695022-6550513437029831682?l=shahpunyerblog.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Imshahmemyselfandi/~4/YLQrNkgY6FE" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/Imshahmemyselfandi/~3/YLQrNkgY6FE/how-to-clear-pendingstuck-print-job-in.html</link><author>noreply@blogger.com (imshahmemyselfandi)</author><thr:total>0</thr:total><feedburner:origLink>http://shahpunyerblog.blogspot.com/2010/07/how-to-clear-pendingstuck-print-job-in.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-50829296064695022.post-870838265789608019</guid><pubDate>Sun, 06 Jun 2010 16:11:00 +0000</pubDate><atom:updated>2010-06-07T00:12:38.537+08:00</atom:updated><title>MSC Malaysia Open Source Conference 2010</title><description>MSC Malaysia Open Source Conference                          &lt;p&gt;&lt;strong style="color: rgb(102, 102, 102);"&gt;INVITATION TO PARTICIPATE IN MSC MALAYSIA OPEN SOURCE CONFERENCE 2010&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Date: 29 June - 1 July, 2010&lt;br /&gt;Venue: Berjaya Times Square&lt;/p&gt; &lt;p&gt;Come join us at the MSC Malaysia Open Source Conference 2010! You'll be pleasantly surprised...&lt;/p&gt; &lt;p&gt;&lt;strong style="color: rgb(170, 170, 170);"&gt;Who should attend?&lt;/strong&gt;&lt;/p&gt; &lt;ul&gt;&lt;li style="margin: 3px 0pt;"&gt;Business executives from local and foreign companies&lt;/li&gt;&lt;li style="margin: 3px 0pt;"&gt;Open Source developers, communities, inventors, evangelist, researchers, strategist&lt;/li&gt;&lt;li style="margin: 3px 0pt;"&gt;Government officers&lt;/li&gt;&lt;li style="margin: 3px 0pt;"&gt;Students, general public&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;strong style="color: rgb(170, 170, 170);"&gt;Why you should attend?&lt;/strong&gt;&lt;/p&gt; &lt;ol&gt;&lt;li style="margin: 5px 0pt;"&gt;Provide exposure and knowledge on the importance of Open Source in enhancing competitiveness by giving freedom of choice in software usage with lower total cost of ownership, hence benefiting businesses and society at large. Over 30 session tracks are made available.&lt;/li&gt;&lt;li style="margin: 5px 0pt;"&gt;Share amongst the open source community on new directions and latest innovations by the subject matter experts, thought leaders and industry gurus.&lt;/li&gt;&lt;li style="margin: 5px 0pt;"&gt;Provide a platform for conference participants to actively interact, share and exchange views, ideas, and tools on the latest trends and issues of Open Source.&lt;/li&gt;&lt;li style="margin: 5px 0pt;"&gt;Networking, learning and having great fun!&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 153, 153); font-weight: bold;"&gt;Click &lt;a href="http://conf.oss.my/"&gt;here&lt;/a&gt; for more details!&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/50829296064695022-870838265789608019?l=shahpunyerblog.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Imshahmemyselfandi/~4/qp9T5ukBj6w" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/Imshahmemyselfandi/~3/qp9T5ukBj6w/msc-malaysia-open-source-conference.html</link><author>noreply@blogger.com (imshahmemyselfandi)</author><thr:total>0</thr:total><feedburner:origLink>http://shahpunyerblog.blogspot.com/2010/06/msc-malaysia-open-source-conference.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-50829296064695022.post-4433258653898360231</guid><pubDate>Fri, 30 Apr 2010 23:53:00 +0000</pubDate><atom:updated>2010-05-01T08:05:19.100+08:00</atom:updated><title>HP-UX : Managing Disc Basic</title><description>&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;To check available disk space and file system, type bdf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;[hpa50-12]/ &gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;bdf&lt;/span&gt;&lt;br /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;br /&gt;/dev/vg00/lvol3     204800   70848  132960   35% /&lt;br /&gt;/dev/vg00/lvol1     295024   26616  238904   10% /stand&lt;br /&gt;/dev/vg00/lvol8    1560576  273496 1277096   18% /var&lt;br /&gt;/dev/vg00/lvol7     909312  858128   50848   94% /usr&lt;br /&gt;/dev/vg00/lvol4     204800    2800  200496    1% /tmp&lt;br /&gt;/dev/vg00/lvol6     929792  695864  232144   75% /opt&lt;br /&gt;/dev/vg00/lvol5      20480    2320   18024   11% /home&lt;br /&gt;&lt;br /&gt;** The bdf command displays the amount of free disk space available&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;To check physical volume of disk, type ioscan -funC disk&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;[hpa50-12]/ &gt;i&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;oscan -funC disk&lt;/span&gt;&lt;br /&gt;Class     I  H/W Path      Driver S/W State   H/W Type     Description&lt;br /&gt;======================================================================&lt;br /&gt;disk      0  0/0/1/1.15.0  sdisk CLAIMED     DEVICE       HP&lt;br /&gt;&lt;br /&gt;18.2GST318406LC&lt;br /&gt;                         /dev/dsk/c1t15d0   /dev/rdsk/c1t15d0&lt;br /&gt;disk      1  0/0/2/1.15.0  sdisk CLAIMED     DEVICE       HP&lt;br /&gt;&lt;br /&gt;18.2GMAN3184MC&lt;br /&gt;                         /dev/dsk/c3t15d0   /dev/rdsk/c3t15d0&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;** Ioscan scans system hardware, usable I/O system devices, or kernel I/O system data structures as appropriate, and lists the results.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;To check further information of physical volume type, pvdisplay&lt;/span&gt; &lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;/Physical/volumes/path&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;[hpa50-12]/ &gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;pvdisplay /dev/dsk/c1t15d0&lt;/span&gt;&lt;br /&gt;--- Physical volumes ---&lt;br /&gt;PV Name                     /dev/dsk/c1t15d0&lt;br /&gt;VG Name                     /dev/vg00&lt;br /&gt;PV Status                   available              &lt;br /&gt;Allocatable                 yes        &lt;br /&gt;VGDA                        2 &lt;br /&gt;Cur LV                      8    &lt;br /&gt;PE Size (Mbytes)            4             &lt;br /&gt;Total PE                    4340  &lt;br /&gt;Free PE                     3074  &lt;br /&gt;Allocated PE                1266      &lt;br /&gt;Stale PE                    0     &lt;br /&gt;IO Timeout (Seconds)        default           &lt;br /&gt;Autoswitch                  On      &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;** pvdisplay - display information about physical volumes within LVM volume group&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;To check Volume Group (VG), look at the output of the bdf command and see at the Filesystem field, /dev/vg00 &lt;-- vg00 is the Volume Group (VG).  Then type command, vgdisplay &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;volumegr0up  [hpa50-12]/ &gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;vgdisplay vg00&lt;/span&gt;&lt;br /&gt;--- Volume groups ---&lt;br /&gt;VG Name                     /dev/vg00&lt;br /&gt;VG Write Access             read/write   &lt;br /&gt;VG Status                   available               &lt;br /&gt;Max LV                      255  &lt;br /&gt;Cur LV                      8    &lt;br /&gt;Open LV                     8    &lt;br /&gt;Max PV                      16   &lt;br /&gt;Cur PV                      1    &lt;br /&gt;Act PV                      1    &lt;br /&gt;Max PE per PV               4350       &lt;br /&gt;VGDA                        2 &lt;br /&gt;PE Size (Mbytes)            4             &lt;br /&gt;Total PE                    4340  &lt;br /&gt;Alloc PE                    1266  &lt;br /&gt;Free PE                     3074  &lt;br /&gt;Total PVG                   0      &lt;br /&gt;Total Spare PVs             0            &lt;br /&gt;Total Spare PVs in use      0 &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;To scan the existing volume group, type vgscan&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;[hpa50-12]/ &gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;vgscan&lt;/span&gt;&lt;br /&gt;vgscan: The physical volume "/dev/dsk/c1t15d0" is already recorded in the&lt;br /&gt;&lt;br /&gt;"/etc/lvmtab" file.&lt;br /&gt;Physical Volume "/dev/dsk/c3t15d0" contains no LVM information&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;** vgdisplay - display information about LVM volume groups&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;To check Logical Volume, look at the output of the bdf command and see at the Filesystem field, /dev/vg00/lvol3, /dev/vg00/lvol1 and /dev/vg00/lvol8. lvol3, lvol1 and lvol8 are the logical volume. To getthe information of logical volume type, lvdisplay /dev/vg00/logicalVolume&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;=========&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;Example1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;=========&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;[hpa50-12]/ &gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;lvdisplay /dev/vg00/lvol3&lt;/span&gt;&lt;br /&gt;--- Logical volumes ---&lt;br /&gt;LV Name                     /dev/vg00/lvol3&lt;br /&gt;VG Name                     /dev/vg00&lt;br /&gt;LV Permission               read/write &lt;br /&gt;LV Status                   available/syncd         &lt;br /&gt;Mirror copies               0          &lt;br /&gt;Consistency Recovery        MWC               &lt;br /&gt;Schedule                    parallel   &lt;br /&gt;LV Size (Mbytes)            200           &lt;br /&gt;Current LE                  50      &lt;br /&gt;Allocated PE                50        &lt;br /&gt;Stripes                     0     &lt;br /&gt;Stripe Size (Kbytes)        0                 &lt;br /&gt;Bad block                   off        &lt;br /&gt;Allocation                  strict/contiguous       &lt;br /&gt;IO Timeout (Seconds)        default           &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;=========&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;Example2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;=========&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;[hpa50-12]/ &gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;lvdisplay /dev/vg00/lvol1&lt;/span&gt;&lt;br /&gt;--- Logical volumes ---&lt;br /&gt;LV Name                     /dev/vg00/lvol1&lt;br /&gt;VG Name                     /dev/vg00&lt;br /&gt;LV Permission               read/write &lt;br /&gt;LV Status                   available/syncd         &lt;br /&gt;Mirror copies               0          &lt;br /&gt;Consistency Recovery        MWC               &lt;br /&gt;Schedule                    parallel   &lt;br /&gt;LV Size (Mbytes)            300           &lt;br /&gt;Current LE                  75      &lt;br /&gt;Allocated PE                75        &lt;br /&gt;Stripes                     0     &lt;br /&gt;Stripe Size (Kbytes)        0                 &lt;br /&gt;Bad block                   off        &lt;br /&gt;Allocation                  strict/contiguous       &lt;br /&gt;IO Timeout (Seconds)        default           &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;=========&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;Example3&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;=========&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;[hpa50-12]/ &gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;lvdisplay /dev/vg00/lvol8&lt;/span&gt;&lt;br /&gt;--- Logical volumes ---&lt;br /&gt;LV Name                     /dev/vg00/lvol8&lt;br /&gt;VG Name                     /dev/vg00&lt;br /&gt;LV Permission               read/write &lt;br /&gt;LV Status                   available/syncd         &lt;br /&gt;Mirror copies               0          &lt;br /&gt;Consistency Recovery        MWC               &lt;br /&gt;Schedule                    parallel   &lt;br /&gt;LV Size (Mbytes)            1524          &lt;br /&gt;Current LE                  381     &lt;br /&gt;Allocated PE                381       &lt;br /&gt;Stripes                     0     &lt;br /&gt;Stripe Size (Kbytes)        0                 &lt;br /&gt;Bad block                   on         &lt;br /&gt;Allocation                  strict                  &lt;br /&gt;IO Timeout (Seconds)        default&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;[hpa50-12]/ &gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;ioscan -kfC ext_bus&lt;/span&gt;&lt;br /&gt;Class     I  H/W Path  Driver S/W State   H/W Type     Description&lt;br /&gt;=================================================================&lt;br /&gt;ext_bus   0  0/0/1/0   c720 CLAIMED     INTERFACE    SCSI C896 Ultra Wide&lt;br /&gt;&lt;br /&gt;LVD&lt;br /&gt;ext_bus   1  0/0/1/1   c720 CLAIMED     INTERFACE    SCSI C896 Ultra Wide&lt;br /&gt;&lt;br /&gt;Single-Ended&lt;br /&gt;ext_bus   2  0/0/2/0   c720 CLAIMED     INTERFACE    SCSI C87x Fast Wide&lt;br /&gt;&lt;br /&gt;Single-Ended&lt;br /&gt;ext_bus   3  0/0/2/1   c720 CLAIMED     INTERFACE    SCSI C87x Ultra Wide&lt;br /&gt;&lt;br /&gt;Single-Ended&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;To get information of what disk and filesystem that currently mount type, mount&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;[hpa50-12]/ &gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;mount&lt;/span&gt;&lt;br /&gt;/ on /dev/vg00/lvol3 log on Fri Apr 30 17:28:38 2010&lt;br /&gt;/stand on /dev/vg00/lvol1 defaults on Fri Apr 30 17:28:38 2010&lt;br /&gt;/var on /dev/vg00/lvol8 delaylog,nodatainlog on Fri Apr 30 17:28:42 2010&lt;br /&gt;/usr on /dev/vg00/lvol7 delaylog,nodatainlog on Fri Apr 30 17:28:42 2010&lt;br /&gt;/tmp on /dev/vg00/lvol4 delaylog,nodatainlog on Fri Apr 30 17:28:42 2010&lt;br /&gt;/opt on /dev/vg00/lvol6 delaylog,nodatainlog on Fri Apr 30 17:28:42 2010&lt;br /&gt;/home on /dev/vg00/lvol5 delaylog,nodatainlog on Fri Apr 30 17:28:43 2010&lt;br /&gt;&lt;br /&gt;[hpa50-12]/ &gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;bdf&lt;/span&gt;&lt;br /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;br /&gt;/dev/vg00/lvol3     204800   70848  132960   35% /&lt;br /&gt;/dev/vg00/lvol1     295024   26616  238904   10% /stand&lt;br /&gt;/dev/vg00/lvol8    1560576  273496 1277096   18% /var&lt;br /&gt;/dev/vg00/lvol7     909312  858128   50848   94% /usr&lt;br /&gt;/dev/vg00/lvol4     204800    2800  200496    1% /tmp&lt;br /&gt;/dev/vg00/lvol6     929792  695864  232144   75% /opt&lt;br /&gt;/dev/vg00/lvol5      20480    2320   18024   11% /home&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/50829296064695022-4433258653898360231?l=shahpunyerblog.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Imshahmemyselfandi/~4/oDoJ5dwnya4" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/Imshahmemyselfandi/~3/oDoJ5dwnya4/hp-ux-managing-disc-basic.html</link><author>noreply@blogger.com (imshahmemyselfandi)</author><thr:total>0</thr:total><feedburner:origLink>http://shahpunyerblog.blogspot.com/2010/05/hp-ux-managing-disc-basic.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-50829296064695022.post-4262355818740336248</guid><pubDate>Sun, 18 Apr 2010 07:18:00 +0000</pubDate><atom:updated>2010-04-18T15:23:59.224+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Script Thinggy</category><category domain="http://www.blogger.com/atom/ns#">Linux</category><title>Use Variables with Scripts</title><description>&lt;span style="font-weight: bold;"&gt;Using an editor or the cat command, write a script that uses a variable. Note that this script uses the bash shell on LINUX, but you can also use the ksh shell with UNIX. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1) Set a value for the variable first using typeset then check it using set. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;[root@vmpc_rh804 root]# &lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;typeset first=you&lt;/span&gt;&lt;br /&gt;[root@vmpc_rh804 root]# &lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;set | more &lt;/span&gt;&lt;br /&gt;BASH=/bin/bash&lt;br /&gt;BASH_ENV=/root/.bashrc&lt;br /&gt;BASH_VERSINFO=([0]="2" [1]="05b" [2]="0" [3]="1" [4]="release" [5]="i686-pc-linu&lt;br /&gt;x-gnu")&lt;br /&gt;BASH_VERSION='2.05b.0(1)-release'&lt;br /&gt;COLORS=/etc/DIR_COLORS&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;first=you&lt;br /&gt;hi=hello&lt;br /&gt;langfile=/root/.i18n&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;2) Write a short Welcome script that uses a variable. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;[root@vmpc_rh804 root]# &lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;cat &gt; Welcome.bash&lt;/span&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;#&lt;br /&gt;first=Student&lt;br /&gt;echo "Welcome to Linux $first"&lt;br /&gt;Ctrl/D&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3) Execute your script using the shell interpreter.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;$ bash Welcome.bash &lt;/span&gt;&lt;br /&gt;Welcome to Linux Student&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/50829296064695022-4262355818740336248?l=shahpunyerblog.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Imshahmemyselfandi/~4/jgUa0iSzzV4" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/Imshahmemyselfandi/~3/jgUa0iSzzV4/use-variables-with-scripts.html</link><author>noreply@blogger.com (imshahmemyselfandi)</author><thr:total>0</thr:total><feedburner:origLink>http://shahpunyerblog.blogspot.com/2010/04/use-variables-with-scripts.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-50829296064695022.post-5880516661966667639</guid><pubDate>Sun, 18 Apr 2010 06:42:00 +0000</pubDate><atom:updated>2010-04-18T15:23:59.225+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Script Thinggy</category><category domain="http://www.blogger.com/atom/ns#">Linux</category><title>Invoke a Script</title><description>Use various methods to invoke a script, and determine when it runs in your shell, and when a subshell is created.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1) Using an editor or the cat command, write a korn or bash script that:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;          * Executes the ps command.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;          * Echos the value of the shell variable hi. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;[root@vmpc_rh804 root]# &lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;cat &gt; do-ps.bash&lt;/span&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;# This script displays active processes&lt;br /&gt;#&lt;br /&gt;ps&lt;br /&gt;echo $hi&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2) Set the value of hi to hello  in your current command line shell. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;[root@vmpc_rh804 root]# &lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;hi=hello&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3) Execute your script using the shell interpreter.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;[root@vmpc_rh804 root]# &lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;bash do-ps.bash&lt;/span&gt;&lt;br /&gt;  PID TTY          TIME CMD&lt;br /&gt; 1311 pts/4    00:00:00 bash&lt;br /&gt; 1358 pts/4    00:00:00 bash&lt;br /&gt; 1365 pts/4    00:00:00 ps&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(153, 51, 153);"&gt;** Note that it doesn't recognize the  hi  variable. This is because the variable is local to the shell in which it was defined. When this script is executed, a new shell is started that is outside your local shell. **&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;4) Add execute privilege to the script file and run it as a command from the current directory. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;[root@vmpc_rh804 root]# &lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;chmod +x do-ps.bash&lt;/span&gt;&lt;br /&gt;[root@vmpc_rh804 root]# &lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;./do-ps.bash&lt;/span&gt;&lt;br /&gt;  PID TTY          TIME CMD&lt;br /&gt; 1311 pts/4    00:00:00 bash&lt;br /&gt; 1367 pts/4    00:00:00 do-ps.bash&lt;br /&gt; 1374 pts/4    00:00:00 ps&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;5) Use the built-in source command to execute the commands in the script file.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;[root@vmpc_rh804 root]# &lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;source do-ps.bash&lt;/span&gt;&lt;br /&gt;  PID TTY          TIME CMD&lt;br /&gt; 1311 pts/4    00:00:00 bash&lt;br /&gt; 1375 pts/4    00:00:00 ps&lt;br /&gt;hello&lt;br /&gt;[root@vmpc_rh804 root]#&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(153, 51, 153);"&gt;** Note that it is able to recognize the  hi  variable. This is because the  source  command runs this script in the local shell. **&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/50829296064695022-5880516661966667639?l=shahpunyerblog.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Imshahmemyselfandi/~4/y7qesbo1skQ" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/Imshahmemyselfandi/~3/y7qesbo1skQ/invoke-script.html</link><author>noreply@blogger.com (imshahmemyselfandi)</author><thr:total>0</thr:total><feedburner:origLink>http://shahpunyerblog.blogspot.com/2010/04/invoke-script.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-50829296064695022.post-7541123551400797846</guid><pubDate>Sun, 18 Apr 2010 05:26:00 +0000</pubDate><atom:updated>2010-04-18T15:23:59.226+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Script Thinggy</category><category domain="http://www.blogger.com/atom/ns#">Linux</category><title>How to write a simple shell script in Linux</title><description>Below are the simple steps to write a simple shell script in Linux machine. Before this I don't have any experience to write a script. Thanks to HP's Virtual Lab. Its really make my day ;-)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;===========&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;Exercise 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;===========&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1) Find what shells are available on your system.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;[root@vmpc_rh804 root]# more /etc/shells&lt;br /&gt;/bin/sh&lt;br /&gt;/bin/bash&lt;br /&gt;/sbin/nologin&lt;br /&gt;/bin/bash2&lt;br /&gt;/bin/ash&lt;br /&gt;/bin/bsh&lt;br /&gt;/bin/tcsh&lt;br /&gt;/bin/csh&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2) Using an editor or the cat command, write a korn or bash script that:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  * Comments what the script will do.&lt;br /&gt;  * Shows your current directory.&lt;br /&gt;  * Shows who is currently logged on.&lt;br /&gt;  * Prints the current date and time.&lt;br /&gt;&lt;br /&gt;[root@vmpc_rh804 root]#&lt;span style="font-weight: bold;"&gt; &lt;span style="color: rgb(255, 0, 0);"&gt;cat &gt; myscript&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;#! /bin/bash&lt;br /&gt;#&lt;br /&gt;# This script shows current directory&lt;br /&gt;# then shows who is on the system&lt;br /&gt;# then prints the date and time&lt;br /&gt;#&lt;br /&gt;pwd&lt;br /&gt;who&lt;br /&gt;date&lt;br /&gt;Ctrl/D&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3) Run the script by calling up the shell interpreter.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;[root@vmpc_rh804 root]# &lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;bash myscript&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;/root&lt;/span&gt;&lt;br /&gt;root     :0           Apr 11 06:25      &lt;br /&gt;root     pts/0        Apr 11 06:26      &lt;br /&gt;root     pts/1        Apr 11 06:26      &lt;br /&gt;root     pts/2        Apr 11 06:26      &lt;br /&gt;root     pts/3        Apr 11 06:26      &lt;br /&gt;root     pts/5        Apr 11 06:27      &lt;br /&gt;root     pts/4        Mar 30 00:25 (16.158.13.22)&lt;br /&gt;Tue Mar 30 00:55:01 EST 2010&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;4) &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;Show how the script cannot be run as a command unless        the file has execute privileges. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;[root@vmpc_rh804 root]# &lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;./myscript&lt;/span&gt;&lt;br /&gt;-bash: ./myscript: Permission denied&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;5) Add execute privilege to the script file and try running it again.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;[root@vmpc_rh804 root]# &lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;chmod +x myscript&lt;/span&gt;&lt;br /&gt;[root@vmpc_rh804 root]# &lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;./myscript&lt;/span&gt;&lt;br /&gt;/root&lt;br /&gt;root     :0           Apr 11 06:25      &lt;br /&gt;root     pts/0        Apr 11 06:26      &lt;br /&gt;root     pts/1        Apr 11 06:26      &lt;br /&gt;root     pts/2        Apr 11 06:26      &lt;br /&gt;root     pts/3        Apr 11 06:26      &lt;br /&gt;root     pts/5        Apr 11 06:27      &lt;br /&gt;root     pts/4        Mar 30 00:25 (16.158.13.22)&lt;br /&gt;Tue Mar 30 01:04:14 EST 2010&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;============&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;Exercise 2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;============&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1) [root@vmpc_rh804 root]# &lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;more /etc/shells&lt;/span&gt;&lt;br /&gt;/bin/sh&lt;br /&gt;/bin/bash&lt;br /&gt;/sbin/nologin&lt;br /&gt;/bin/bash2&lt;br /&gt;/bin/ash&lt;br /&gt;/bin/bsh&lt;br /&gt;/bin/tcsh&lt;br /&gt;/bin/csh&lt;br /&gt;&lt;br /&gt;[root@vmpc_rh804 root]# &lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;cat &gt; myscript1&lt;/span&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;#&lt;br /&gt;#&lt;br /&gt;ifconfig eth0&lt;br /&gt;netstat -i&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2) [root@vmpc_rh804 root]# &lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;bash myscript1&lt;/span&gt;&lt;br /&gt;eth0      Link encap:Ethernet  HWaddr 00:50:56:03:04:40&lt;br /&gt;        inet addr:172.16.0.40  Bcast:172.16.0.255  Mask:255.255.255.0&lt;br /&gt;        UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;        RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;        TX packets:4 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;        collisions:0 txqueuelen:100&lt;br /&gt;        RX bytes:0 (0.0 b)  TX bytes:168 (168.0 b)&lt;br /&gt;        Interrupt:10 Base address:0x10a0&lt;br /&gt;&lt;br /&gt;Kernel Interface table&lt;br /&gt;Iface     MTU Met   RX-OK RX-ERR RX-DRP RX-OVR   TX-OK TX-ERR TX-DRP TX-OVR Flg&lt;br /&gt;eth0       1500   0       0      0      0      0       4      0      0      0 BMRU&lt;br /&gt;eth1       1500   0    1335      0      0      0    1351      0      0      0 BMRU&lt;br /&gt;lo        16436   0      98      0      0      0      98      0      0      0 LRU&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3) [root@vmpc_rh804 root]# &lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;./myscript1&lt;/span&gt;&lt;br /&gt;-bash: ./myscript1: Permission denied&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4) [root@vmpc_rh804 root]# &lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;chmod +x myscript1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;5) [root@vmpc_rh804 root]# &lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;./myscript1&lt;/span&gt;&lt;br /&gt;eth0      Link encap:Ethernet  HWaddr 00:50:56:03:04:40&lt;br /&gt;        inet addr:172.16.0.40  Bcast:172.16.0.255  Mask:255.255.255.0&lt;br /&gt;        UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;        RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;        TX packets:4 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;        collisions:0 txqueuelen:100&lt;br /&gt;        RX bytes:0 (0.0 b)  TX bytes:168 (168.0 b)&lt;br /&gt;        Interrupt:10 Base address:0x10a0&lt;br /&gt;&lt;br /&gt;Kernel Interface table&lt;br /&gt;Iface     MTU Met   RX-OK RX-ERR RX-DRP RX-OVR   TX-OK TX-ERR TX-DRP TX-OVR Flg&lt;br /&gt;eth0       1500   0       0      0      0      0       4      0      0      0 BMRU&lt;br /&gt;eth1       1500   0    1397      0      0      0    1395      0      0      0 BMRU&lt;br /&gt;lo        16436   0      98      0      0      0      98      0      0      0 LRU&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/50829296064695022-7541123551400797846?l=shahpunyerblog.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Imshahmemyselfandi/~4/DKIXD-FqPfs" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/Imshahmemyselfandi/~3/DKIXD-FqPfs/how-to-write-simple-shell-script-in.html</link><author>noreply@blogger.com (imshahmemyselfandi)</author><thr:total>0</thr:total><feedburner:origLink>http://shahpunyerblog.blogspot.com/2010/04/how-to-write-simple-shell-script-in.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-50829296064695022.post-1484889807247739389</guid><pubDate>Tue, 13 Apr 2010 20:53:00 +0000</pubDate><atom:updated>2010-04-14T05:24:06.988+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">AIX</category><category domain="http://www.blogger.com/atom/ns#">Unix</category><title>Basic AIX command must know</title><description>&lt;a href="http://www.ibm.com/developerworks/aix/library/au-dutta_cmds.html"&gt;This post is with reference to IBM's tutorial&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;==========&lt;br /&gt;Hardware&lt;br /&gt;==========&lt;br /&gt;&lt;br /&gt;____________________________________________________&lt;br /&gt;How do I get a detailed configuration of my system?&lt;br /&gt;____________________________________________________&lt;br /&gt;&lt;br /&gt;Type the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;lscfg, prtconf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;$ lscfg&lt;/span&gt;&lt;br /&gt;INSTALLED RESOURCE LIST&lt;br /&gt;&lt;br /&gt;The following resources are installed on the machine.&lt;br /&gt;+/- = Added or deleted from Resource List.&lt;br /&gt;*   = Diagnostic support not available.&lt;br /&gt;&lt;br /&gt;Model Architecture: chrp&lt;br /&gt;Model Implementation: Multiple Processor, PCI bus&lt;br /&gt;&lt;br /&gt;+ sys0                                            System Object&lt;br /&gt;+ sysplanar0                                      System Planar&lt;br /&gt;* vio0                                            Virtual I/O Bus&lt;br /&gt;* ent1             U9117.MMA.06F18E3-V11-C5-T1    Virtual I/O Ethernet Adapter (l-lan)&lt;br /&gt;* ent0             U9117.MMA.06F18E3-V11-C2-T1    Virtual I/O Ethernet Adapter (l-lan)&lt;br /&gt;* vsa0             U9117.MMA.06F18E3-V11-C0       LPAR Virtual Serial Adapter&lt;br /&gt;* vty0             U9117.MMA.06F18E3-V11-C0-L0    Asynchronous Terminal&lt;br /&gt;* pci2             U789D.001.DQD34TR-P1           PCI Bus&lt;br /&gt;* pci6             U789D.001.DQD34TR-P1           PCI Bus&lt;br /&gt;+ sissas1          U789D.001.DQD34TR-P1-T3        PCI-X266 Planar 3Gb SAS Adapter&lt;br /&gt;* sas1             U789D.001.DQD34TR-P1-T3        Controller SAS Protocol&lt;br /&gt;+ hdisk1           U789D.001.DQD34TR-P3-D1        SAS Disk Drive (300000 MB)&lt;br /&gt;+ ses3             U789D.001.DQD34TR-P3-Y2        SAS Enclosure Services Device&lt;br /&gt;+ ses4             U789D.001.DQD34TR-P3-Y1        SAS Enclosure Services Device&lt;br /&gt;* sata1            U789D.001.DQD34TR-P1-T3        Controller SATA Protocol&lt;br /&gt;* pci7             U789D.001.DQD34TR-P1           PCI Bus&lt;br /&gt;+ usbhc2           U789D.001.DQD34TR-P1           USB Host Controller (33103500)&lt;br /&gt;+ usbhc3           U789D.001.DQD34TR-P1           USB Host Controller (33103500)&lt;br /&gt;+ usbhc5           U789D.001.DQD34TR-P1           USB Enhanced Host Controller (3310e000)&lt;br /&gt;* pci0             U789D.001.DQD37KN-P1           PCI Bus&lt;br /&gt;* pci4             U789D.001.DQD37KN-P1           PCI Bus&lt;br /&gt;+ sissas0          U789D.001.DQD37KN-P1-T3        PCI-X266 Planar 3Gb SAS Adapter&lt;br /&gt;* sas0             U789D.001.DQD37KN-P1-T3        Controller SAS Protocol&lt;br /&gt;+ ses0             U789D.001.DQD37KN-P4-Y1        SAS Enclosure Services Device&lt;br /&gt;+ hdisk0           U789D.001.DQD37KN-P3-D1        SAS Disk Drive (300000 MB)&lt;br /&gt;+ ses1             U789D.001.DQD37KN-P3-Y2        SAS Enclosure Services Device&lt;br /&gt;+ ses2             U789D.001.DQD37KN-P3-Y1        SAS Enclosure Services Device&lt;br /&gt;* sata0            U789D.001.DQD37KN-P1-T3        Controller SATA Protocol&lt;br /&gt;+ cd0              U789D.001.DQD37KN-P4-D1        SATA DVD-RAM Drive&lt;br /&gt;* pci5             U789D.001.DQD37KN-P1           PCI Bus&lt;br /&gt;+ usbhc0           U789D.001.DQD37KN-P1           USB Host Controller (33103500)&lt;br /&gt;+ usbhc1           U789D.001.DQD37KN-P1           USB Host Controller (33103500)&lt;br /&gt;+ usbhc4           U789D.001.DQD37KN-P1           USB Enhanced Host Controller (3310e000)&lt;br /&gt;* lhea1            U789D.001.DQD34LP-P1           Logical Host Ethernet Adapter (l-hea)&lt;br /&gt;+ ent3             U789D.001.DQD34LP-P1-C10-T4    Logical Host Ethernet Port (lp-hea)&lt;br /&gt;* lhea0            U789D.001.DQD34TR-P1           Logical Host Ethernet Adapter (l-hea)&lt;br /&gt;+ ent2             U789D.001.DQD34TR-P1-C10-T4    Logical Host Ethernet Port (lp-hea)&lt;br /&gt;+ L2cache0                                        L2 Cache&lt;br /&gt;+ mem0                                            Memory&lt;br /&gt;+ proc0                                           Processor&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;$ prtconf&lt;/span&gt;&lt;br /&gt;System Model: IBM,9117-MMA&lt;br /&gt;Machine Serial Number: 06F18E3&lt;br /&gt;Processor Type: PowerPC_POWER6&lt;br /&gt;Processor Implementation Mode: POWER 6&lt;br /&gt;Processor Version: PV_6_Compat&lt;br /&gt;Number Of Processors: 1&lt;br /&gt;Processor Clock Speed: 4704 MHz&lt;br /&gt;CPU Type: 64-bit&lt;br /&gt;Kernel Type: 64-bit&lt;br /&gt;LPAR Info: 11 myserver&lt;br /&gt;Memory Size: 1024 MB&lt;br /&gt;Good Memory Size: 1024 MB&lt;br /&gt;Platform Firmware level: EM340_075&lt;br /&gt;Firmware Version: IBM,EM340_075&lt;br /&gt;Console Login: enable&lt;br /&gt;Auto Restart: true&lt;br /&gt;Full Core: false&lt;br /&gt;&lt;br /&gt;Network Information&lt;br /&gt;  Host Name: host&lt;br /&gt;  IP Address: 192.168.1.1&lt;br /&gt;  Sub Netmask: 255.255.255.0&lt;br /&gt;  Gateway: 192.168.1.2&lt;br /&gt;  Name Server: 192.168.1.3&lt;br /&gt;  Domain Name: host.local&lt;br /&gt;&lt;br /&gt;Paging Space Information&lt;br /&gt;  Total Paging Space: 2048MB&lt;br /&gt;  Percent Used: 18%&lt;br /&gt;&lt;br /&gt;Volume Groups Information&lt;br /&gt;==============================================================================&lt;br /&gt;rootvg:&lt;br /&gt;PV_NAME           PV STATE          TOTAL PPs   FREE PPs    FREE DISTRIBUTION&lt;br /&gt;hdisk0            active            558         275         71..00..00..92..112&lt;br /&gt;hdisk1            active            558         275         71..00..00..92..112&lt;br /&gt;==============================================================================&lt;br /&gt;&lt;br /&gt;INSTALLED RESOURCE LIST&lt;br /&gt;&lt;br /&gt;The following resources are installed on the machine.&lt;br /&gt;+/- = Added or deleted from Resource List.&lt;br /&gt;*   = Diagnostic support not available.&lt;br /&gt;&lt;br /&gt;Model Architecture: chrp&lt;br /&gt;Model Implementation: Multiple Processor, PCI bus&lt;br /&gt;&lt;br /&gt;+ sys0                                            System Object&lt;br /&gt;+ sysplanar0                                      System Planar&lt;br /&gt;* vio0                                            Virtual I/O Bus&lt;br /&gt;* ent1             U9117.MMA.06F18E3-V11-C5-T1    Virtual I/O Ethernet Adapter (l-lan)&lt;br /&gt;* ent0             U9117.MMA.06F18E3-V11-C2-T1    Virtual I/O Ethernet Adapter (l-lan)&lt;br /&gt;* vsa0             U9117.MMA.06F18E3-V11-C0       LPAR Virtual Serial Adapter&lt;br /&gt;* vty0             U9117.MMA.06F18E3-V11-C0-L0    Asynchronous Terminal&lt;br /&gt;* pci2             U789D.001.DQD34TR-P1           PCI Bus&lt;br /&gt;* pci6             U789D.001.DQD34TR-P1           PCI Bus&lt;br /&gt;+ sissas1          U789D.001.DQD34TR-P1-T3        PCI-X266 Planar 3Gb SAS Adapter&lt;br /&gt;* sas1             U789D.001.DQD34TR-P1-T3        Controller SAS Protocol&lt;br /&gt;+ hdisk1           U789D.001.DQD34TR-P3-D1        SAS Disk Drive (300000 MB)&lt;br /&gt;+ ses3             U789D.001.DQD34TR-P3-Y2        SAS Enclosure Services Device&lt;br /&gt;+ ses4             U789D.001.DQD34TR-P3-Y1        SAS Enclosure Services Device&lt;br /&gt;* sata1            U789D.001.DQD34TR-P1-T3        Controller SATA Protocol&lt;br /&gt;* pci7             U789D.001.DQD34TR-P1           PCI Bus&lt;br /&gt;+ usbhc2           U789D.001.DQD34TR-P1           USB Host Controller (33103500)&lt;br /&gt;+ usbhc3           U789D.001.DQD34TR-P1           USB Host Controller (33103500)&lt;br /&gt;+ usbhc5           U789D.001.DQD34TR-P1           USB Enhanced Host Controller (3310e000)&lt;br /&gt;* pci0             U789D.001.DQD37KN-P1           PCI Bus&lt;br /&gt;* pci4             U789D.001.DQD37KN-P1           PCI Bus&lt;br /&gt;+ sissas0          U789D.001.DQD37KN-P1-T3        PCI-X266 Planar 3Gb SAS Adapter&lt;br /&gt;* sas0             U789D.001.DQD37KN-P1-T3        Controller SAS Protocol&lt;br /&gt;+ ses0             U789D.001.DQD37KN-P4-Y1        SAS Enclosure Services Device&lt;br /&gt;+ hdisk0           U789D.001.DQD37KN-P3-D1        SAS Disk Drive (300000 MB)&lt;br /&gt;+ ses1             U789D.001.DQD37KN-P3-Y2        SAS Enclosure Services Device&lt;br /&gt;+ ses2             U789D.001.DQD37KN-P3-Y1        SAS Enclosure Services Device&lt;br /&gt;* sata0            U789D.001.DQD37KN-P1-T3        Controller SATA Protocol&lt;br /&gt;+ cd0              U789D.001.DQD37KN-P4-D1        SATA DVD-RAM Drive&lt;br /&gt;* pci5             U789D.001.DQD37KN-P1           PCI Bus&lt;br /&gt;+ usbhc0           U789D.001.DQD37KN-P1           USB Host Controller (33103500)&lt;br /&gt;+ usbhc1           U789D.001.DQD37KN-P1           USB Host Controller (33103500)&lt;br /&gt;+ usbhc4           U789D.001.DQD37KN-P1           USB Enhanced Host Controller (3310e000)&lt;br /&gt;* lhea1            U789D.001.DQD34LP-P1           Logical Host Ethernet Adapter (l-hea)&lt;br /&gt;+ ent3             U789D.001.DQD34LP-P1-C10-T4    Logical Host Ethernet Port (lp-hea)&lt;br /&gt;* lhea0            U789D.001.DQD34TR-P1           Logical Host Ethernet Adapter (l-hea)&lt;br /&gt;+ ent2             U789D.001.DQD34TR-P1-C10-T4    Logical Host Ethernet Port (lp-hea)&lt;br /&gt;+ L2cache0                                        L2 Cache&lt;br /&gt;+ mem0                                            Memory&lt;br /&gt;+ proc0                                           Processor&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;_____________________________________________________________________________________________&lt;br /&gt;Displays platform-specific device information. The flag is applicable to AIX 4.2.1 or later.&lt;br /&gt;_____________________________________________________________________________________________&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;lscfg -p&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;$ lscfg -p&lt;/span&gt;&lt;br /&gt;INSTALLED RESOURCE LIST&lt;br /&gt;&lt;br /&gt;The following resources are installed on the machine.&lt;br /&gt;&lt;br /&gt;Model Architecture: chrp&lt;br /&gt;Model Implementation: Multiple Processor, PCI bus&lt;br /&gt;&lt;br /&gt;sys0                                            System Object&lt;br /&gt;sysplanar0                                      System Planar&lt;br /&gt;vio0                                            Virtual I/O Bus&lt;br /&gt;ent1             U9117.MMA.06F18E3-V11-C5-T1    Virtual I/O Ethernet Adapter (l-lan)&lt;br /&gt;ent0             U9117.MMA.06F18E3-V11-C2-T1    Virtual I/O Ethernet Adapter (l-lan)&lt;br /&gt;vsa0             U9117.MMA.06F18E3-V11-C0       LPAR Virtual Serial Adapter&lt;br /&gt;vty0             U9117.MMA.06F18E3-V11-C0-L0    Asynchronous Terminal&lt;br /&gt;pci2             U789D.001.DQD34TR-P1           PCI Bus&lt;br /&gt;pci6             U789D.001.DQD34TR-P1           PCI Bus&lt;br /&gt;sissas1          U789D.001.DQD34TR-P1-T3        PCI-X266 Planar 3Gb SAS Adapter&lt;br /&gt;sas1             U789D.001.DQD34TR-P1-T3        Controller SAS Protocol&lt;br /&gt;hdisk1           U789D.001.DQD34TR-P3-D1        SAS Disk Drive (300000 MB)&lt;br /&gt;ses3             U789D.001.DQD34TR-P3-Y2        SAS Enclosure Services Device&lt;br /&gt;ses4             U789D.001.DQD34TR-P3-Y1        SAS Enclosure Services Device&lt;br /&gt;sata1            U789D.001.DQD34TR-P1-T3        Controller SATA Protocol&lt;br /&gt;pci7             U789D.001.DQD34TR-P1           PCI Bus&lt;br /&gt;usbhc2           U789D.001.DQD34TR-P1           USB Host Controller (33103500)&lt;br /&gt;usbhc3           U789D.001.DQD34TR-P1           USB Host Controller (33103500)&lt;br /&gt;usbhc5           U789D.001.DQD34TR-P1           USB Enhanced Host Controller (3310e000)&lt;br /&gt;pci0             U789D.001.DQD37KN-P1           PCI Bus&lt;br /&gt;pci4             U789D.001.DQD37KN-P1           PCI Bus&lt;br /&gt;sissas0          U789D.001.DQD37KN-P1-T3        PCI-X266 Planar 3Gb SAS Adapter&lt;br /&gt;sas0             U789D.001.DQD37KN-P1-T3        Controller SAS Protocol&lt;br /&gt;ses0             U789D.001.DQD37KN-P4-Y1        SAS Enclosure Services Device&lt;br /&gt;hdisk0           U789D.001.DQD37KN-P3-D1        SAS Disk Drive (300000 MB)&lt;br /&gt;ses1             U789D.001.DQD37KN-P3-Y2        SAS Enclosure Services Device&lt;br /&gt;ses2             U789D.001.DQD37KN-P3-Y1        SAS Enclosure Services Device&lt;br /&gt;sata0            U789D.001.DQD37KN-P1-T3        Controller SATA Protocol&lt;br /&gt;cd0              U789D.001.DQD37KN-P4-D1        SATA DVD-RAM Drive&lt;br /&gt;pci5             U789D.001.DQD37KN-P1           PCI Bus&lt;br /&gt;usbhc0           U789D.001.DQD37KN-P1           USB Host Controller (33103500)&lt;br /&gt;usbhc1           U789D.001.DQD37KN-P1           USB Host Controller (33103500)&lt;br /&gt;usbhc4           U789D.001.DQD37KN-P1           USB Enhanced Host Controller (3310e000)&lt;br /&gt;lhea1            U789D.001.DQD34LP-P1           Logical Host Ethernet Adapter (l-hea)&lt;br /&gt;ent3             U789D.001.DQD34LP-P1-C10-T4    Logical Host Ethernet Port (lp-hea)&lt;br /&gt;lhea0            U789D.001.DQD34TR-P1           Logical Host Ethernet Adapter (l-hea)&lt;br /&gt;ent2             U789D.001.DQD34TR-P1-C10-T4    Logical Host Ethernet Port (lp-hea)&lt;br /&gt;L2cache0                                        L2 Cache&lt;br /&gt;mem0                                            Memory&lt;br /&gt;proc0                                           Processor&lt;br /&gt;&lt;br /&gt;PLATFORM SPECIFIC&lt;br /&gt;&lt;br /&gt;Name:  IBM,9117-MMA&lt;br /&gt;Model:  IBM,9117-MMA&lt;br /&gt;Node:  /&lt;br /&gt;Device Type:  chrp&lt;br /&gt;&lt;br /&gt;Name:  openprom&lt;br /&gt;Model:  IBM,EM340_075&lt;br /&gt;Node:  openprom&lt;br /&gt;&lt;br /&gt;Name:  interrupt-controller&lt;br /&gt;Model:  IBM, Logical PowerPC-PIC, 00&lt;br /&gt;Node:  interrupt-controller@0&lt;br /&gt;Device Type:  PowerPC-External-Interrupt-Presentation&lt;br /&gt;&lt;br /&gt;Name:  interrupt-controller&lt;br /&gt;Model:  IBM,Logical PHB&lt;br /&gt;Node:  interrupt-controller@800000025000200&lt;br /&gt;Device Type:  PowerPC-LSI-Source&lt;br /&gt;Physical Location: U789D.001.DQD37KN-P1&lt;br /&gt;&lt;br /&gt;Name:  interrupt-controller&lt;br /&gt;Model:  IBM,Logical PHB&lt;br /&gt;Node:  interrupt-controller@800000025000220&lt;br /&gt;Device Type:  PowerPC-LSI-Source&lt;br /&gt;Physical Location: U789D.001.DQD34TR-P1&lt;br /&gt;&lt;br /&gt;Name:  lhea&lt;br /&gt;Node:  lhea@23c00b08&lt;br /&gt;Physical Location: U789D.001.DQD34TR-P1&lt;br /&gt;&lt;br /&gt;Name:  lhea&lt;br /&gt;Node:  lhea@23c00b10&lt;br /&gt;Physical Location: U789D.001.DQD34LP-P1&lt;br /&gt;&lt;br /&gt;Name:  pci&lt;br /&gt;Model:  IBM,Logical_PHB&lt;br /&gt;Node:  pci@800000020000200&lt;br /&gt;Physical Location: U789D.001.DQD37KN-P1&lt;br /&gt;&lt;br /&gt;Name:  pci&lt;br /&gt;Model:  IBM,Logical_PHB&lt;br /&gt;Node:  pci@800000020000220&lt;br /&gt;Physical Location: U789D.001.DQD34TR-P1&lt;br /&gt;&lt;br /&gt;Name:  vty&lt;br /&gt;Node:  vty@30000000&lt;br /&gt;Device Type:  serial&lt;br /&gt;Physical Location: U9117.MMA.06F18E3-V11-C0&lt;br /&gt;&lt;br /&gt;Name:  l-lan&lt;br /&gt;Node:  l-lan@30000002&lt;br /&gt;Device Type:  network&lt;br /&gt;Physical Location: U9117.MMA.06F18E3-V11-C2-T1&lt;br /&gt;&lt;br /&gt;Name:  l-lan&lt;br /&gt;Node:  l-lan@30000005&lt;br /&gt;Device Type:  network&lt;br /&gt;Physical Location: U9117.MMA.06F18E3-V11-C5-T1&lt;br /&gt;&lt;br /&gt;Name:  ethernet&lt;br /&gt;Node:  ethernet@23e00008&lt;br /&gt;Device Type:  network&lt;br /&gt;Physical Location: U789D.001.DQD34TR-P1-C10-T4&lt;br /&gt;&lt;br /&gt;Name:  ethernet&lt;br /&gt;Node:  ethernet@23e00010&lt;br /&gt;Device Type:  network&lt;br /&gt;Physical Location: U789D.001.DQD34LP-P1-C10-T4&lt;br /&gt;&lt;br /&gt;Name:  pci&lt;br /&gt;Node:  pci@2&lt;br /&gt;Physical Location: U789D.001.DQD37KN-P1&lt;br /&gt;&lt;br /&gt;Name:  pci&lt;br /&gt;Node:  pci@2,4&lt;br /&gt;Physical Location: U789D.001.DQD37KN-P1&lt;br /&gt;&lt;br /&gt;Name:  pci&lt;br /&gt;Node:  pci@2&lt;br /&gt;Physical Location: U789D.001.DQD34TR-P1&lt;br /&gt;&lt;br /&gt;Name:  pci&lt;br /&gt;Node:  pci@2,4&lt;br /&gt;Physical Location: U789D.001.DQD34TR-P1&lt;br /&gt;&lt;br /&gt;Name:  pci1014,02BD&lt;br /&gt;Node:  pci1014,02BD@1&lt;br /&gt;Physical Location: U789D.001.DQD37KN-P1-T3&lt;br /&gt;&lt;br /&gt;Name:  usb&lt;br /&gt;Node:  usb@1&lt;br /&gt;Physical Location: U789D.001.DQD37KN-P1&lt;br /&gt;&lt;br /&gt;Name:  usb&lt;br /&gt;Node:  usb@1,1&lt;br /&gt;Physical Location: U789D.001.DQD37KN-P1&lt;br /&gt;&lt;br /&gt;Name:  usb&lt;br /&gt;Node:  usb@1,2&lt;br /&gt;Physical Location: U789D.001.DQD37KN-P1&lt;br /&gt;&lt;br /&gt;Name:  pci1014,02BD&lt;br /&gt;Node:  pci1014,02BD@1&lt;br /&gt;Physical Location: U789D.001.DQD34TR-P1-T3&lt;br /&gt;&lt;br /&gt;Name:  usb&lt;br /&gt;Node:  usb@1&lt;br /&gt;Physical Location: U789D.001.DQD34TR-P1&lt;br /&gt;&lt;br /&gt;Name:  usb&lt;br /&gt;Node:  usb@1,1&lt;br /&gt;Physical Location: U789D.001.DQD34TR-P1&lt;br /&gt;&lt;br /&gt;Name:  usb&lt;br /&gt;Node:  usb@1,2&lt;br /&gt;Physical Location: U789D.001.DQD34TR-P1&lt;br /&gt;&lt;br /&gt;Name:  hub&lt;br /&gt;Node:  hub@1&lt;br /&gt;Physical Location: U789D.001.DQD37KN-P1-T1&lt;br /&gt;&lt;br /&gt;Name:  hub&lt;br /&gt;Node:  hub@1&lt;br /&gt;Physical Location: U789D.001.DQD37KN-P1-T2&lt;br /&gt;&lt;br /&gt;Name:  hub&lt;br /&gt;Node:  hub@1&lt;br /&gt;Physical Location: U789D.001.DQD37KN-P1&lt;br /&gt;&lt;br /&gt;Name:  hub&lt;br /&gt;Node:  hub@1&lt;br /&gt;Physical Location: U789D.001.DQD34TR-P1-T1&lt;br /&gt;&lt;br /&gt;Name:  hub&lt;br /&gt;Node:  hub@1&lt;br /&gt;Physical Location: U789D.001.DQD34TR-P1-T2&lt;br /&gt;&lt;br /&gt;Name:  hub&lt;br /&gt;Node:  hub@1&lt;br /&gt;Physical Location: U789D.001.DQD34TR-P1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;____________________________________________________________________________________&lt;br /&gt;Displays the VPD (Vital Product Database) found in the customized VPD object class.&lt;br /&gt;____________________________________________________________________________________&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;lscfg -v&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;$ lscfg -v&lt;/span&gt;&lt;br /&gt;INSTALLED RESOURCE LIST WITH VPD&lt;br /&gt;&lt;br /&gt;The following resources are installed on your machine.&lt;br /&gt;&lt;br /&gt;Model Architecture: chrp&lt;br /&gt;Model Implementation: Multiple Processor, PCI bus&lt;br /&gt;&lt;br /&gt;sys0                                            System Object&lt;br /&gt;sysplanar0                                      System Planar&lt;br /&gt;vio0                                            Virtual I/O Bus&lt;br /&gt;ent1             U9117.MMA.06F18E3-V11-C5-T1    Virtual I/O Ethernet Adapter (l-lan)&lt;br /&gt;&lt;br /&gt;  Network Address.............466DAA4CB305&lt;br /&gt;  Displayable Message.........Virtual I/O Ethernet Adapter (l-lan)&lt;br /&gt;  Hardware Location Code......U9117.MMA.06F18E3-V11-C5-T1&lt;br /&gt;&lt;br /&gt;ent0             U9117.MMA.06F18E3-V11-C2-T1    Virtual I/O Ethernet Adapter (l-lan)&lt;br /&gt;&lt;br /&gt;  Network Address.............466DAA4CB302&lt;br /&gt;  Displayable Message.........Virtual I/O Ethernet Adapter (l-lan)&lt;br /&gt;  Hardware Location Code......U9117.MMA.06F18E3-V11-C2-T1&lt;br /&gt;&lt;br /&gt;vsa0             U9117.MMA.06F18E3-V11-C0       LPAR Virtual Serial Adapter&lt;br /&gt;&lt;br /&gt;  Hardware Location Code......U9117.MMA.06F18E3-V11-C0&lt;br /&gt;&lt;br /&gt;vty0             U9117.MMA.06F18E3-V11-C0-L0    Asynchronous Terminal&lt;br /&gt;pci2             U789D.001.DQD34TR-P1           PCI Bus&lt;br /&gt;&lt;br /&gt;  Hardware Location Code......U789D.001.DQD34TR-P1&lt;br /&gt;&lt;br /&gt;pci6             U789D.001.DQD34TR-P1           PCI Bus&lt;br /&gt;&lt;br /&gt;  Hardware Location Code......U789D.001.DQD34TR-P1&lt;br /&gt;&lt;br /&gt;sissas1          U789D.001.DQD34TR-P1-T3        PCI-X266 Planar 3Gb SAS Adapter&lt;br /&gt;&lt;br /&gt;  ROM Level.(alterable).......02200070&lt;br /&gt;  Customer Card ID Number.....572C&lt;br /&gt;  Hardware Location Code......U789D.001.DQD34TR-P1-T3&lt;br /&gt;&lt;br /&gt;sas1             U789D.001.DQD34TR-P1-T3        Controller SAS Protocol&lt;br /&gt;hdisk1           U789D.001.DQD34TR-P3-D1        SAS Disk Drive (300000 MB)&lt;br /&gt;&lt;br /&gt;  Manufacturer................IBM&lt;br /&gt;  Machine Type and Model......HUS153030VLS300&lt;br /&gt;  FRU Number..................10N7234&lt;br /&gt;  ROS Level and ID............41343234&lt;br /&gt;  Serial Number...............ABCD73EF&lt;br /&gt;  EC Level....................H17923Y&lt;br /&gt;  Part Number.................42R5648&lt;br /&gt;  Device Specific.(Z0)........000005329F001002&lt;br /&gt;  Device Specific.(Z1)........VBIPA424&lt;br /&gt;  Device Specific.(Z2)........0068&lt;br /&gt;  Device Specific.(Z3)........08263&lt;br /&gt;  Device Specific.(Z4)........&lt;br /&gt;  Device Specific.(Z5)........22&lt;br /&gt;  Device Specific.(Z6)........H17923Y&lt;br /&gt;  Hardware Location Code......U789D.001.DQD34TR-P3-D1&lt;br /&gt;&lt;br /&gt;ses3             U789D.001.DQD34TR-P3-Y2        SAS Enclosure Services Device&lt;br /&gt;&lt;br /&gt;  ROM Level.(alterable).......0021&lt;br /&gt;  Hardware Location Code......U789D.001.DQD34TR-P3-Y2&lt;br /&gt;&lt;br /&gt;ses4             U789D.001.DQD34TR-P3-Y1        SAS Enclosure Services Device&lt;br /&gt;&lt;br /&gt;  ROM Level.(alterable).......0021&lt;br /&gt;  Hardware Location Code......U789D.001.DQD34TR-P3-Y1&lt;br /&gt;&lt;br /&gt;sata1            U789D.001.DQD34TR-P1-T3        Controller SATA Protocol&lt;br /&gt;pci7             U789D.001.DQD34TR-P1           PCI Bus&lt;br /&gt;&lt;br /&gt;  Hardware Location Code......U789D.001.DQD34TR-P1&lt;br /&gt;&lt;br /&gt;usbhc2           U789D.001.DQD34TR-P1           USB Host Controller (33103500)&lt;br /&gt;&lt;br /&gt;  Hardware Location Code......U789D.001.DQD34TR-P1&lt;br /&gt;&lt;br /&gt;usbhc3           U789D.001.DQD34TR-P1           USB Host Controller (33103500)&lt;br /&gt;&lt;br /&gt;  Hardware Location Code......U789D.001.DQD34TR-P1&lt;br /&gt;&lt;br /&gt;usbhc5           U789D.001.DQD34TR-P1           USB Enhanced Host Controller (3310e000)&lt;br /&gt;&lt;br /&gt;  Hardware Location Code......U789D.001.DQD34TR-P1&lt;br /&gt;&lt;br /&gt;pci0             U789D.001.DQD37KN-P1           PCI Bus&lt;br /&gt;&lt;br /&gt;  Hardware Location Code......U789D.001.DQD37KN-P1&lt;br /&gt;&lt;br /&gt;pci4             U789D.001.DQD37KN-P1           PCI Bus&lt;br /&gt;&lt;br /&gt;  Hardware Location Code......U789D.001.DQD37KN-P1&lt;br /&gt;&lt;br /&gt;sissas0          U789D.001.DQD37KN-P1-T3        PCI-X266 Planar 3Gb SAS Adapter&lt;br /&gt;&lt;br /&gt;  ROM Level.(alterable).......02200070&lt;br /&gt;  Customer Card ID Number.....572C&lt;br /&gt;  Hardware Location Code......U789D.001.DQD37KN-P1-T3&lt;br /&gt;&lt;br /&gt;sas0             U789D.001.DQD37KN-P1-T3        Controller SAS Protocol&lt;br /&gt;ses0             U789D.001.DQD37KN-P4-Y1        SAS Enclosure Services Device&lt;br /&gt;&lt;br /&gt;  ROM Level.(alterable).......  06&lt;br /&gt;  Hardware Location Code......U789D.001.DQD37KN-P4-Y1&lt;br /&gt;&lt;br /&gt;hdisk0           U789D.001.DQD37KN-P3-D1        SAS Disk Drive (300000 MB)&lt;br /&gt;&lt;br /&gt;  Manufacturer................IBM&lt;br /&gt;  Machine Type and Model......HUS153030VLS300&lt;br /&gt;  FRU Number..................10N7234&lt;br /&gt;  ROS Level and ID............41343234&lt;br /&gt;  Serial Number...............ABCDEFGH&lt;br /&gt;  EC Level....................H17923Y&lt;br /&gt;  Part Number.................42R5648&lt;br /&gt;  Device Specific.(Z0)........000005329F003002&lt;br /&gt;  Device Specific.(Z1)........VBIPA424&lt;br /&gt;  Device Specific.(Z2)........0068&lt;br /&gt;  Device Specific.(Z3)........08263&lt;br /&gt;  Device Specific.(Z4)........&lt;br /&gt;  Device Specific.(Z5)........22&lt;br /&gt;  Device Specific.(Z6)........H17923Y&lt;br /&gt;  Hardware Location Code......U789D.001.DQD37KN-P3-D1&lt;br /&gt;&lt;br /&gt;ses1             U789D.001.DQD37KN-P3-Y2        SAS Enclosure Services Device&lt;br /&gt;&lt;br /&gt;  ROM Level.(alterable).......0021&lt;br /&gt;  Hardware Location Code......U789D.001.DQD37KN-P3-Y2&lt;br /&gt;&lt;br /&gt;ses2             U789D.001.DQD37KN-P3-Y1        SAS Enclosure Services Device&lt;br /&gt;&lt;br /&gt;  ROM Level.(alterable).......0021&lt;br /&gt;  Hardware Location Code......U789D.001.DQD37KN-P3-Y1&lt;br /&gt;&lt;br /&gt;sata0            U789D.001.DQD37KN-P1-T3        Controller SATA Protocol&lt;br /&gt;cd0              U789D.001.DQD37KN-P4-D1        SATA DVD-RAM Drive&lt;br /&gt;&lt;br /&gt;  Manufacturer................IBM&lt;br /&gt;  Machine Type and Model......RMBO00205B1&lt;br /&gt;  ROS Level and ID............RA33&lt;br /&gt;  Device Specific.(Z0)........058002028F000030&lt;br /&gt;  Part Number.................42R7969&lt;br /&gt;  EC Level....................H89633&lt;br /&gt;  FRU Number..................42R7970&lt;br /&gt;  Hardware Location Code......U789D.001.DQD37KN-P4-D1&lt;br /&gt;&lt;br /&gt;pci5             U789D.001.DQD37KN-P1           PCI Bus&lt;br /&gt;&lt;br /&gt;  Hardware Location Code......U789D.001.DQD37KN-P1&lt;br /&gt;&lt;br /&gt;usbhc0           U789D.001.DQD37KN-P1           USB Host Controller (33103500)&lt;br /&gt;&lt;br /&gt;  Hardware Location Code......U789D.001.DQD37KN-P1&lt;br /&gt;&lt;br /&gt;usbhc1           U789D.001.DQD37KN-P1           USB Host Controller (33103500)&lt;br /&gt;&lt;br /&gt;  Hardware Location Code......U789D.001.DQD37KN-P1&lt;br /&gt;&lt;br /&gt;usbhc4           U789D.001.DQD37KN-P1           USB Enhanced Host Controller (3310e000)&lt;br /&gt;&lt;br /&gt;  Hardware Location Code......U789D.001.DQD37KN-P1&lt;br /&gt;&lt;br /&gt;lhea1            U789D.001.DQD34LP-P1           Logical Host Ethernet Adapter (l-hea)&lt;br /&gt;&lt;br /&gt;  Hardware Location Code......U789D.001.DQD34LP-P1&lt;br /&gt;&lt;br /&gt;ent3             U789D.001.DQD34LP-P1-C10-T4    Logical Host Ethernet Port (lp-hea)&lt;br /&gt;&lt;br /&gt;IBM Host Ethernet Adapter:&lt;br /&gt;  Network Address.............00215E32BBC0&lt;br /&gt;&lt;br /&gt;lhea0            U789D.001.DQD34TR-P1           Logical Host Ethernet Adapter (l-hea)&lt;br /&gt;&lt;br /&gt;  Hardware Location Code......U789D.001.DQD34TR-P1&lt;br /&gt;&lt;br /&gt;ent2             U789D.001.DQD34TR-P1-C10-T4    Logical Host Ethernet Port (lp-hea)&lt;br /&gt;&lt;br /&gt;IBM Host Ethernet Adapter:&lt;br /&gt;  Network Address.............00215E32BF40&lt;br /&gt;&lt;br /&gt;L2cache0                                        L2 Cache&lt;br /&gt;mem0                                            Memory&lt;br /&gt;proc0                                           Processor&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;_____________________________________________________________________________________&lt;br /&gt;How do I find out the chip type, system name, node name, model number, and so forth?&lt;br /&gt;_____________________________________________________________________________________&lt;br /&gt;&lt;br /&gt;The uname command provides details about your system.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Displays the system name, nodename, version, machine ID.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;### uname -a contains command -s, -n ,-r, -v -m ###&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;$ uname -a&lt;/span&gt;&lt;br /&gt;AIX myserver 1 6 00CF18E34C00&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Displays the chip type of the system. For example, PowerPC.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;$ uname -p&lt;/span&gt;&lt;br /&gt;powerpc&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Displays the release number of the operating system.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;$ uname -r&lt;/span&gt;&lt;br /&gt;1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Displays the system name. For example, AIX.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;$ uname -s&lt;/span&gt;&lt;br /&gt;AIX&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Displays the name of the node.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;$ uname -n&lt;/span&gt;&lt;br /&gt;myserver&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Displays the system model name. For example, IBM, 9114-275.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;$ uname -M&lt;/span&gt;&lt;br /&gt;IBM,9117-MMA&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Displays the operating system version.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;$ uname -v&lt;/span&gt;&lt;br /&gt;6&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Displays the machine ID number of the hardware running the system.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;$ uname -m&lt;/span&gt;&lt;br /&gt;00CF12345C00&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Displays the system ID number.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;$ uname -u&lt;/span&gt;&lt;br /&gt;IBM,0123F45E6&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;==========&lt;br /&gt;About AIX&lt;br /&gt;==========&lt;br /&gt;&lt;br /&gt;_____________________________________________________________________________&lt;br /&gt;What version, release, and maintenance level of AIX is running on my system?&lt;br /&gt;_____________________________________________________________________________&lt;br /&gt;&lt;br /&gt;Type one of the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;oslevel -r, lslpp -h bos.rte&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;$ oslevel -r&lt;/span&gt;&lt;br /&gt;6100-04&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;$ lslpp -h bos.rte&lt;/span&gt;&lt;br /&gt;Fileset         Level     Action       Status       Date         Time &lt;br /&gt;----------------------------------------------------------------------------&lt;br /&gt;Path: /usr/lib/objrepos&lt;br /&gt;bos.rte&lt;br /&gt;            6.1.2.0   COMMIT       COMPLETE     02/17/09     10:49:17&lt;br /&gt;            6.1.4.0   COMMIT       COMPLETE     03/30/10     09:25:43&lt;br /&gt;&lt;br /&gt;Path: /etc/objrepos&lt;br /&gt;bos.rte&lt;br /&gt;            6.1.2.0   COMMIT       COMPLETE     02/17/09     10:49:17&lt;br /&gt;            6.1.4.0   COMMIT       COMPLETE     03/30/10     09:25:43&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;__________________________________________________&lt;br /&gt;What SP (Service Pack) is installed on my system?&lt;br /&gt;__________________________________________________&lt;br /&gt;&lt;br /&gt;To see which SP is currently installed on the system, run the oslevel -s command. Sample output for an AIX 5L Version 5.3 system, with TL4, and SP2 installed&lt;br /&gt;&lt;br /&gt;would be:&lt;br /&gt;&lt;br /&gt;oslevel â€“s&lt;br /&gt;5300-04-02&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;$ oslevel -s&lt;/span&gt;&lt;br /&gt;6100-04-03-1009&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;_________________________________________&lt;br /&gt;How many processors does my system have?&lt;br /&gt;_________________________________________&lt;br /&gt;&lt;br /&gt;To display the number of processors on your system, type:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;lscfg | grep proc&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;$ lscfg | grep proc&lt;/span&gt;&lt;br /&gt;+ proc0                                           Processor&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;____________________________________________________________________&lt;br /&gt;How do I determine the amount of paging space allocated and in use?&lt;br /&gt;____________________________________________________________________&lt;br /&gt;&lt;br /&gt;Type the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;lsps -a&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;$ lsps -a&lt;/span&gt;&lt;br /&gt;Page Space      Physical Volume   Volume Group Size %Used Active  Auto  Type Chksum&lt;br /&gt;hd6             hdisk0            rootvg        2048MB    18   yes   yes    lv     0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;==================================&lt;br /&gt;Volume groups and logical volumes&lt;br /&gt;==================================&lt;br /&gt;&lt;br /&gt;___________________________________________________________&lt;br /&gt;To display the number of hard disks on your system, type:&lt;br /&gt;___________________________________________________________&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;lspv&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;$ lspv&lt;/span&gt;&lt;br /&gt;hdisk0          00cf18e34d375ab5                    rootvg          active&lt;br /&gt;hdisk1          00cf18e3b4df2ae5                    rootvg          active&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;____________________________________________________________&lt;br /&gt;How do I list information about a specific physical volume?&lt;br /&gt;____________________________________________________________&lt;br /&gt;&lt;br /&gt;To find details about hdisk1, for example, run the following command:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;lspv hdisk1      &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;$ lspv hdisk0&lt;/span&gt;&lt;br /&gt;PHYSICAL VOLUME:    hdisk0                   VOLUME GROUP:     rootvg&lt;br /&gt;PV IDENTIFIER:      00cf18e34d375ab5 VG IDENTIFIER     00cf18e300004c000000011f817ad65a&lt;br /&gt;PV STATE:           active                              &lt;br /&gt;STALE PARTITIONS:   0                        ALLOCATABLE:      yes&lt;br /&gt;PP SIZE:            512 megabyte(s)          LOGICAL VOLUMES:  15&lt;br /&gt;TOTAL PPs:          558 (285696 megabytes)   VG DESCRIPTORS:   2&lt;br /&gt;FREE PPs:           275 (140800 megabytes)   HOT SPARE:        no&lt;br /&gt;USED PPs:           283 (144896 megabytes)   MAX REQUEST:      1 megabyte&lt;br /&gt;FREE DISTRIBUTION:  71..00..00..92..112                 &lt;br /&gt;USED DISTRIBUTION:  41..112..111..19..00                &lt;br /&gt;MIRROR POOL:        None&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;_____________________________________&lt;br /&gt;How do I display all logical volumes&lt;br /&gt;_____________________________________&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;$ lsvg&lt;/span&gt;&lt;br /&gt;rootvg&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;____________________________________________________________________________________________&lt;br /&gt;How do I display all logical volumes that are part of a volume group (for example, rootvg)?&lt;br /&gt;____________________________________________________________________________________________&lt;br /&gt;&lt;br /&gt;You can display all logical volumes that are part of rootvg by typing the following command:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;lsvg -l rootvg&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;$ lsvg -l rootvg&lt;/span&gt;&lt;br /&gt;rootvg:&lt;br /&gt;LV NAME             TYPE       LPs     PPs     PVs  LV STATE      MOUNT POINT&lt;br /&gt;hd5                 boot       1       2       2    closed/syncd  N/A&lt;br /&gt;hd6                 paging     4       8       2    open/syncd    N/A&lt;br /&gt;hd8                 jfs2log    1       2       2    open/syncd    N/A&lt;br /&gt;hd4                 jfs2       1       2       2    open/syncd    /&lt;br /&gt;hd2                 jfs2       7       14      2    open/syncd    /usr&lt;br /&gt;hd9var              jfs2       2       4       2    open/syncd    /var&lt;br /&gt;hd3                 jfs2       20      40      2    open/syncd    /tmp&lt;br /&gt;hd1                 jfs2       1       2       2    open/syncd    /home&lt;br /&gt;hd10opt             jfs2       2       4       2    open/syncd    /opt&lt;br /&gt;hd11admin           jfs2       1       2       2    open/syncd    /admin&lt;br /&gt;livedump            jfs2       1       2       2    open/syncd    /var/adm/ras/livedump&lt;br /&gt;fslv00              jfs2       40      80      2    open/syncd    /export/nim&lt;br /&gt;fslv01              jfs2       1       2       2    open/syncd    /tftpboot&lt;br /&gt;fslv02              jfs2       200     400     2    open/syncd    /export/nim/mksysb&lt;br /&gt;loglv00             jfslog     1       2       2    closed/syncd  N/A&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;_________________________________________________&lt;br /&gt;To show all the characteristics of rootvg, type:&lt;br /&gt;_________________________________________________&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;lsvg rootvg&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;$ lsvg rootvg&lt;/span&gt;&lt;br /&gt;VOLUME GROUP:       rootvg                   VG IDENTIFIER:  00cf18e300004c000000011f817ad65a&lt;br /&gt;VG STATE:           active                   PP SIZE:        512 megabyte(s)&lt;br /&gt;VG PERMISSION:      read/write               TOTAL PPs:      1116 (571392 megabytes)&lt;br /&gt;MAX LVs:            256                      FREE PPs:       550 (281600 megabytes)&lt;br /&gt;LVs:                15                       USED PPs:       566 (289792 megabytes)&lt;br /&gt;OPEN LVs:           13                       QUORUM:         1 (Disabled)&lt;br /&gt;TOTAL PVs:          2                        VG DESCRIPTORS: 3&lt;br /&gt;STALE PVs:          0                        STALE PPs:      0&lt;br /&gt;ACTIVE PVs:         2                        AUTO ON:        yes&lt;br /&gt;MAX PPs per VG:     32512                              &lt;br /&gt;MAX PPs per PV:     1016                     MAX PVs:        32&lt;br /&gt;LTG size (Dynamic): 1024 kilobyte(s)         AUTO SYNC:      no&lt;br /&gt;HOT SPARE:          no                       BB POLICY:      relocatable&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;____________________________________&lt;br /&gt;To show disks used by rootvg, type:&lt;br /&gt;____________________________________&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;lsvg -p rootvg&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;$ lsvg -p rootvg&lt;br /&gt;rootvg:&lt;br /&gt;PV_NAME           PV STATE          TOTAL PPs   FREE PPs    FREE DISTRIBUTION&lt;br /&gt;hdisk0            active            558         275         71..00..00..92..112&lt;br /&gt;hdisk1            active            558         275         71..00..00..92..112&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;_________________________________________________&lt;br /&gt;How do I list information about logical volumes?&lt;br /&gt;_________________________________________________&lt;br /&gt;&lt;br /&gt;Run the following command to display information about the logical volume hd5:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;lslv hd5&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;$ lslv hd5&lt;/span&gt;&lt;br /&gt;LOGICAL VOLUME:     hd5                    VOLUME GROUP:   rootvg&lt;br /&gt;LV IDENTIFIER:      00cf18e300004c000000011f817ad65a.1 PERMISSION:     read/write&lt;br /&gt;VG STATE:           active/complete        LV STATE:       closed/syncd&lt;br /&gt;TYPE:               boot                   WRITE VERIFY:   off&lt;br /&gt;MAX LPs:            512                    PP SIZE:        512 megabyte(s)&lt;br /&gt;COPIES:             2                      SCHED POLICY:   parallel&lt;br /&gt;LPs:                1                      PPs:            2&lt;br /&gt;STALE PPs:          0                      BB POLICY:      non-relocatable&lt;br /&gt;INTER-POLICY:       minimum                RELOCATABLE:    no&lt;br /&gt;INTRA-POLICY:       edge                   UPPER BOUND:    32&lt;br /&gt;MOUNT POINT:        N/A                    LABEL:          primary_bootlv&lt;br /&gt;MIRROR WRITE CONSISTENCY: on/ACTIVE                       &lt;br /&gt;EACH LP COPY ON A SEPARATE PV ?: yes                             &lt;br /&gt;Serialize IO ?:     NO&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;_______________________________________&lt;br /&gt;How do I display mounted file systems?&lt;br /&gt;_______________________________________&lt;br /&gt;&lt;br /&gt;Type the following command to display information about all currently mounted file systems:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;mount&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;$ mount&lt;/span&gt;&lt;br /&gt;node       mounted        mounted over    vfs       date        options&lt;br /&gt;-------- ---------------  ---------------  ------ ------------ ---------------&lt;br /&gt;   /dev/hd4         /                jfs2   Mar 30 09:54 rw,log=/dev/hd8&lt;br /&gt;   /dev/hd2         /usr             jfs2   Mar 30 09:54 rw,log=/dev/hd8&lt;br /&gt;   /dev/hd9var      /var             jfs2   Mar 30 09:54 rw,log=/dev/hd8&lt;br /&gt;   /dev/hd3         /tmp             jfs2   Mar 30 09:55 rw,log=/dev/hd8&lt;br /&gt;   /dev/hd1         /home            jfs2   Mar 30 09:55 rw,log=/dev/hd8&lt;br /&gt;   /dev/hd11admin   /admin           jfs2   Mar 30 09:55 rw,log=/dev/hd8&lt;br /&gt;   /proc            /proc            procfs Mar 30 09:55 rw       &lt;br /&gt;   /dev/hd10opt     /opt             jfs2   Mar 30 09:55 rw,log=/dev/hd8&lt;br /&gt;   /dev/livedump    /var/adm/ras/livedump jfs2   Mar 30 09:55 rw,log=/dev/hd8&lt;br /&gt;   /dev/fslv00      /export/nim      jfs2   Mar 30 09:55 rw,log=/dev/hd8&lt;br /&gt;   /dev/fslv01      /tftpboot        jfs2   Mar 30 09:55 rw,log=/dev/hd8&lt;br /&gt;   /dev/fslv02      /export/nim/mksysb jfs2   Mar 30 09:55 rw,log=/dev/hd8 &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;____________________________________________________________&lt;br /&gt;How do I get partition-specific information and statistics?&lt;br /&gt;____________________________________________________________&lt;br /&gt;&lt;br /&gt;The lparstat command provides a report of partition information and utilization statistics. This command also provides a display of Hypervisor information.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;$ lparstat&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;System configuration: type=Shared mode=Uncapped smt=On lcpu=2 mem=1024MB psize=8 ent=0.10&lt;br /&gt;&lt;br /&gt;%user  %sys  %wait  %idle physc %entc  lbusy  vcsw phint&lt;br /&gt;----- ----- ------ ------ ----- ----- ------ ----- -----&lt;br /&gt;1.5   0.7    2.0   95.7  0.00   2.4    2.7 438900296 6281425&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;=========&lt;br /&gt;Network&lt;br /&gt;=========&lt;br /&gt;&lt;br /&gt;___________________________________________&lt;br /&gt;How do I get the IP address of my machine?&lt;br /&gt;___________________________________________&lt;br /&gt;&lt;br /&gt;Type one of the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;ifconfig -a&lt;/span&gt;, &lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;host&lt;/span&gt; &lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;Fully_Qualified_Host_Name&lt;/span&gt; (eg; host myserver)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;$ host myserver&lt;/span&gt;&lt;br /&gt;myserver is 192.168.1.1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;_______________________________________________________&lt;br /&gt;How do I identify the network interfaces on my server?&lt;br /&gt;_______________________________________________________&lt;br /&gt;&lt;br /&gt;Either of the following two commands will display the network interfaces:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;lsdev -Cc if, ifconfig -a&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;$ lsdev -Cc if&lt;/span&gt;&lt;br /&gt;en0 Available  Standard Ethernet Network Interface&lt;br /&gt;en1 Available  Standard Ethernet Network Interface&lt;br /&gt;en2 Defined    Standard Ethernet Network Interface&lt;br /&gt;en3 Defined    Standard Ethernet Network Interface&lt;br /&gt;en4 Available  Standard Ethernet Network Interface&lt;br /&gt;et0 Defined    IEEE 802.3 Ethernet Network Interface&lt;br /&gt;et1 Defined    IEEE 802.3 Ethernet Network Interface&lt;br /&gt;et2 Defined    IEEE 802.3 Ethernet Network Interface&lt;br /&gt;et3 Defined    IEEE 802.3 Ethernet Network Interface&lt;br /&gt;et4 Defined    IEEE 802.3 Ethernet Network Interface&lt;br /&gt;lo0 Available  Loopback Network Interface&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;____________________________________________________________________________________________&lt;br /&gt;To get information about one specific network interface, for example, en0, run the command:&lt;br /&gt;____________________________________________________________________________________________&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;ifconfig en0&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/50829296064695022-1484889807247739389?l=shahpunyerblog.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Imshahmemyselfandi/~4/dRATc_tFX20" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/Imshahmemyselfandi/~3/dRATc_tFX20/basic-aix-command.html</link><author>noreply@blogger.com (imshahmemyselfandi)</author><thr:total>0</thr:total><feedburner:origLink>http://shahpunyerblog.blogspot.com/2010/04/basic-aix-command.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-50829296064695022.post-4277545667498704442</guid><pubDate>Tue, 06 Apr 2010 19:58:00 +0000</pubDate><atom:updated>2010-04-14T05:16:41.724+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Unix</category><category domain="http://www.blogger.com/atom/ns#">HP-UX</category><title>How to get runlevel information in HP-UX</title><description>[hpa50-16]/ &gt;who -r&lt;br /&gt;  .       run-level 3  Apr  9 06:23    3    0    S&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/50829296064695022-4277545667498704442?l=shahpunyerblog.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Imshahmemyselfandi/~4/LJU0QgAWIN4" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/Imshahmemyselfandi/~3/LJU0QgAWIN4/how-to-get-runlevel-information-in-hp.html</link><author>noreply@blogger.com (imshahmemyselfandi)</author><thr:total>0</thr:total><feedburner:origLink>http://shahpunyerblog.blogspot.com/2010/04/how-to-get-runlevel-information-in-hp.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-50829296064695022.post-6485454651616652191</guid><pubDate>Tue, 06 Apr 2010 19:24:00 +0000</pubDate><atom:updated>2010-04-14T05:16:41.725+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Unix</category><category domain="http://www.blogger.com/atom/ns#">HP-UX</category><title>How to check software information in HP-UX</title><description>To check software information in HP-UX is simple. Just type &lt;span style="color: rgb(255, 0, 0);"&gt;swlist &lt;/span&gt;or &lt;span style="color: rgb(255, 0, 0);"&gt;/usr/sbin/swlist &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;[hpa50-16]/ &gt;swlist&lt;br /&gt;# Initializing...&lt;br /&gt;# Contacting target "hpa50-16"...&lt;br /&gt;#&lt;br /&gt;# Target:  hpa50-16:/&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;#&lt;br /&gt;# Bundle(s):&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt; B8342AA               B.11.11.05     Netscape Communicator 4.75&lt;br /&gt; BUNDLE11i             B.11.11.0102.2 Required Patch Bundle for HP-UX 11i, February 2001&lt;br /&gt; Base-VXVM             B.03.20.1      Base VERITAS Volume Manager 3.2 for HP-UX&lt;br /&gt; CDE-English           B.11.11        English CDE Environment&lt;br /&gt; FDDI-00               B.11.11.02     PCI FDDI;Supptd HW=A3739A/A3739B;SW=J3626AA&lt;br /&gt; FibrChanl-00          B.11.11.09     PCI/HSC FibreChannel;Supptd HW=A6684A,A6685A,A5158A,A6795A&lt;br /&gt; GOLDAPPS11i           B.11.11.0112.6 Gold Applications Patches for HP-UX 11i, December 2001&lt;br /&gt; GOLDBASE11i           B.11.11.0112.6 Gold Base Patches for HP-UX 11i, December 2001&lt;br /&gt; GigEther-00           B.11.11.14     PCI/HSC GigEther;Supptd HW=A4926A/A4929A/A4924A/A4925A;SW=J1642AA&lt;br /&gt; GigEther-01           B.11.11.02     PCI/PCI-X GigEther;Supptd HW=A6794A&lt;br /&gt; HPUX11i-OE-Ent        B.11.11.0203   HP-UX Enterprise Operating Environment Component&lt;br /&gt; HPUXBase64            B.11.11        HP-UX 64-bit Base OS&lt;br /&gt; HPUXBaseAux           B.11.11.0203   HP-UX Base OS Auxiliary&lt;br /&gt; HWEnable11i           B.11.11.0203.5 Hardware Enablement Patches for HP-UX 11i, March 2002&lt;br /&gt; OnlineDiag            B.11.11.06.09  HPUX 11.11 Support Tools Bundle, Mar 2002&lt;br /&gt; RAID-00               B.11.11.01     PCI RAID; Supptd HW=A5856A&lt;br /&gt; TermIO-00             B.11.11.05     PCI MUX; Supptd HW=A6748A/A6749A/J3592A/J35923A; SW=J3596A&lt;br /&gt; b_SOPHOS              2.12           (SOPHOS) Sophos Anti-Virus&lt;br /&gt; perl                  B.5.6.1.C      Perl Programming Language&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/50829296064695022-6485454651616652191?l=shahpunyerblog.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Imshahmemyselfandi/~4/Ee8_9wCeQ2o" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/Imshahmemyselfandi/~3/Ee8_9wCeQ2o/how-to-check-software-information-in-hp.html</link><author>noreply@blogger.com (imshahmemyselfandi)</author><thr:total>0</thr:total><feedburner:origLink>http://shahpunyerblog.blogspot.com/2010/04/how-to-check-software-information-in-hp.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-50829296064695022.post-6158434931357098675</guid><pubDate>Tue, 06 Apr 2010 19:20:00 +0000</pubDate><atom:updated>2010-04-14T05:16:41.725+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Unix</category><category domain="http://www.blogger.com/atom/ns#">HP-UX</category><title>How to check Ignite version in HP-UX</title><description>Command below can be used to find what is the version of Ignite installed in our server&lt;br /&gt;&lt;br /&gt;shah@nxxx07:(shah)&gt; more /opt/ignite/Version&lt;br /&gt;C.7.1.93&lt;br /&gt;&lt;br /&gt;C.7.1.93 is the version of installed Ignite :-)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/50829296064695022-6158434931357098675?l=shahpunyerblog.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Imshahmemyselfandi/~4/EePy-chfK_4" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/Imshahmemyselfandi/~3/EePy-chfK_4/how-to-check-ignite-version-in-hp-ux.html</link><author>noreply@blogger.com (imshahmemyselfandi)</author><thr:total>0</thr:total><feedburner:origLink>http://shahpunyerblog.blogspot.com/2010/04/how-to-check-ignite-version-in-hp-ux.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-50829296064695022.post-3544381942408389948</guid><pubDate>Mon, 19 Oct 2009 07:41:00 +0000</pubDate><atom:updated>2010-04-18T15:27:07.615+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">AIX</category><category domain="http://www.blogger.com/atom/ns#">Unix</category><category domain="http://www.blogger.com/atom/ns#">HP-UX</category><title>Unix Tutorial For Dummies Like Me :-)</title><description>&lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; text-indent: -0.25in;"&gt;&lt;strong&gt;&lt;span style="color: rgb(51, 51, 51);font-family:Verdana;font-size:11pt;"  &gt;CPU /  Memory&lt;/span&gt;&lt;/strong&gt;&lt;span style="color: rgb(51, 51, 51);font-family:Verdana;font-size:11pt;"  &gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; text-indent: -0.25in;"&gt;&lt;span style="color: rgb(51, 51, 51);font-family:Verdana;" &gt;&lt;/span&gt; &lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; text-indent: -0.25in;"&gt;&lt;span style="color: rgb(51, 51, 51);font-family:Verdana;font-size:9pt;"  &gt;1.       HPUX&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; text-indent: -0.25in;"&gt;&lt;span style="color: rgb(51, 51, 51);font-family:Verdana;font-size:9pt;"  &gt;2.       AIX&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; text-indent: -0.25in;"&gt;&lt;span style="color: rgb(51, 51, 51);font-family:Verdana;font-size:9pt;"  &gt;3.       Solaris&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; text-indent: -0.25in;"&gt;&lt;span style="color: rgb(51, 51, 51);font-family:Verdana;font-size:9pt;"  &gt;4.       Linux&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="margin: 0in 0in 0pt 0.25in; text-indent: -0.25in;"&gt;&lt;span style="color: rgb(51, 51, 51);font-family:Verdana;font-size:9pt;"  &gt;5.       Tru64&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;HPUX&lt;br /&gt;&lt;br /&gt;How to check CPU/Memory usage&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# glance OR top OR vmstat OR iostat OR sar&lt;br /&gt;&lt;br /&gt;## to check CPU/Memory utilisation&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;·         Find large processes which currently filled up the CPU/Memory usage.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;AIX&lt;br /&gt;&lt;br /&gt;How to check CPU/Memory usage:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# sar OR vmstat OR iostat OR topas  ## to check CPU/Memory utilisation&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;·         Find large processes which currently filled up the CPU/Memory usage.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SOLARIS&lt;br /&gt;&lt;br /&gt;How to check CPU/Memory usage:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# sar OR vmstat OR iostat        ## to check CPU/Memory utilisation&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;·         Find large processes which currently filled up the CPU/Memory usage.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;LINUX&lt;br /&gt;&lt;br /&gt;How to check CPU/Memory usage:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# sar OR vmstat OR iostat OR top  ## to check CPU/Memory utilisation&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;·         Find large processes which currently filled up the CPU/Memory usage.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;TRU64&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How to check CPU/Memory usage:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# vmstat OR iostat OR top           ## to check CPU/Memory utilisation&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;·         Find large processes which currently filled up the CPU/Memory usage.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;HPUX&lt;br /&gt;&lt;br /&gt;How to check disk space: (using /var as example)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# bdf  /var &lt;enter&gt;                    ## to check disk utilisation for /var filesystem&lt;br /&gt;&lt;br /&gt;# find /var -xdev -type f -size +5000000c -exec ls -l {} \; | sort -nk 5  &lt;enter&gt;   ## to find larger files in /var&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;AIX, SOLARIS, LINUX, TRU64&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How to check disk space:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# df -k  /var &lt;enter&gt;                    ## to check disk utilisation for /var filesystem&lt;br /&gt;&lt;br /&gt;# find /var -xdev -type f -size +5000000c -exec ls -l {} \; | sort -nk 5  &lt;enter&gt;   ## to find larger files in /var&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;HPUX/AIX/SOLARIS/LINUX/TRU64&lt;br /&gt;&lt;br /&gt;Pre-checking before reboot&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Capture the system details&lt;br /&gt;&lt;br /&gt;# bdf &gt; /tmp/bdf.txt               ## For HPUX&lt;br /&gt;&lt;br /&gt;OR&lt;br /&gt;&lt;br /&gt;# df –k &gt; /tmp/df.txt              ## For other OS&lt;br /&gt;&lt;br /&gt;# netstat –in &gt; /tmp/netstat.in.txt&lt;br /&gt;&lt;br /&gt;# netstat –rn &gt; /tmp/netstat.rn.txt&lt;br /&gt;&lt;br /&gt;# lanscan &gt; /tmp/lanscan.txt       ## For HPUX&lt;br /&gt;&lt;br /&gt;# ioscan –fn &gt; /tmp/ioscan.txt     ## For HPUX&lt;br /&gt;&lt;br /&gt;# ps –ef | grep –i sap     ## Double confirm no SAP running&lt;br /&gt;&lt;br /&gt;# ps –ef | grep –I oracle  ## Double confirm no Database running&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How to reboot server&lt;br /&gt;&lt;br /&gt;# shutdown [-option] [ +Time [ Message ] ]   ## man shutdown to find more the option&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Account Creation&lt;br /&gt;&lt;br /&gt;# finger &lt;id&gt;&lt;br /&gt;&lt;br /&gt;OR&lt;br /&gt;&lt;br /&gt;# grep –i &lt;&gt; /etc/passwd&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;HPUX/AIX/SOLARIS/LINUX/TRU64&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# useradd –c &lt;description&gt; -g &lt;groupid&gt; -m –d &lt;home&gt; -s &lt;shell&gt; id    &lt;br /&gt;&lt;br /&gt;## man useradd for more the option  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;AIX&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# mkuser ## man mkuser for more the option&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Account Mod&lt;br /&gt;&lt;br /&gt;Do initial checking on the account&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# finger &lt;id&gt;&lt;br /&gt;&lt;br /&gt;OR&lt;br /&gt;&lt;br /&gt;# grep –i &lt;&gt; /etc/passwd&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;HPUX/SOLARIS/LINUX/TRU64&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# usermod    ## man usermod for more the option&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;AIX&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# chuser     ## man chuser for more the option  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Account Deletion&lt;br /&gt;&lt;br /&gt;Do initial checking on the account&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# finger &lt;id&gt;&lt;br /&gt;&lt;br /&gt;OR&lt;br /&gt;&lt;br /&gt;# grep –i &lt;&gt; /etc/passwd&lt;br /&gt;&lt;br /&gt;HPUX/SOLARIS/LINUX/TRU64&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# userdel –r &lt;id&gt;   ## man userdel for more the option&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;AIX&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# rmuser            ## man rmuser for more the option  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Generic Process to add printer&lt;br /&gt;&lt;br /&gt;1)      Confirm details provided (such as printer queue name, IP address and model).&lt;br /&gt;&lt;br /&gt;2)      Perform initial checking:-&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# ping &lt;ip&gt;   ## Ping new printer IP address&lt;br /&gt;&lt;br /&gt;# lpstat –o&lt;queue&gt;  ## Verify if printer queue used up&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Issue following command to create print queue.&lt;br /&gt;&lt;br /&gt;# hppi or sam   ## HP UX&lt;br /&gt;&lt;br /&gt;# smitty      ## IBM&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Generic Process to modify printer:&lt;br /&gt;&lt;br /&gt;1)      Confirm details provided (such as printer queue name, IP address and model).&lt;br /&gt;&lt;br /&gt;2)      Perform initial checking:-&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;HPUX&lt;br /&gt;&lt;br /&gt;# ping &lt;ip&gt;   ## Ping new and old printer IP address&lt;br /&gt;&lt;br /&gt;# lpstat –o&lt;queue&gt;  ## Verify printer queue&lt;br /&gt;&lt;br /&gt;# grep –i model /etc/lp/interface  ## Check printer model&lt;br /&gt;&lt;br /&gt;# grep –i periph /etc/lp/interface ## Check printer IP&lt;br /&gt;&lt;br /&gt;# grep –i &lt;queue&gt; /etc/hosts  ## Check printer IP&lt;br /&gt;&lt;br /&gt;IBM&lt;br /&gt;&lt;br /&gt;# Smitty&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Issue following command to modify printer queue IP or model.  Printer modify can be do anytime.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;HPUX&lt;br /&gt;&lt;br /&gt;# vi /etc/lp/interface   ## Change network printer IP only&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;**To modify printer model, remove old print queue and recreate with new model.&lt;br /&gt;&lt;br /&gt;**If print queue are remote printer, remove old print queue and recreate with new IP or model.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;IBM&lt;br /&gt;&lt;br /&gt;                    **Remove old print queue and recreate with new IP or model&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Generic Process to delete printer:&lt;br /&gt;&lt;br /&gt;1)      Confirm details provided (such as printer queue name, IP address and model).&lt;br /&gt;&lt;br /&gt;2)      Perform initial checking:-&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;HPUX/IBM/SUN SOLARIS/Linus/Tru64&lt;br /&gt;&lt;br /&gt;# ping &lt;ip&gt;   ## Ping new and old printer IP address&lt;br /&gt;&lt;br /&gt;# lpstat –o&lt;queue&gt;  ## Verify printer queue&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Issue following command to delete printer queue IP or model.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;HPUX&lt;br /&gt;&lt;br /&gt;# hppi or sam &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;IBM&lt;br /&gt;&lt;br /&gt;# smitty&lt;/queue&gt;&lt;/ip&gt;&lt;/queue&gt;&lt;/queue&gt;&lt;/ip&gt;&lt;/queue&gt;&lt;/ip&gt;&lt;/id&gt;&lt;/id&gt;&lt;/id&gt;&lt;/shell&gt;&lt;/home&gt;&lt;/groupid&gt;&lt;/description&gt;&lt;/id&gt;&lt;/enter&gt;&lt;/enter&gt;&lt;/enter&gt;&lt;/enter&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/50829296064695022-3544381942408389948?l=shahpunyerblog.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Imshahmemyselfandi/~4/YY8wqWAtCZY" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/Imshahmemyselfandi/~3/YY8wqWAtCZY/hpux-how-to-check-cpumemory-usage.html</link><author>noreply@blogger.com (imshahmemyselfandi)</author><thr:total>1</thr:total><feedburner:origLink>http://shahpunyerblog.blogspot.com/2009/10/hpux-how-to-check-cpumemory-usage.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-50829296064695022.post-6540680569839795343</guid><pubDate>Thu, 04 Jun 2009 03:35:00 +0000</pubDate><atom:updated>2009-06-04T12:04:27.169+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Linux</category><title>Using nmap for Linux administration and security</title><description>This articles is taken from &lt;a href="http://searchenterpriselinux.techtarget.com/tip/0,289483,sid39_gci1357571_mem1,00.html?track=NL-795&amp;amp;ad=705965&amp;amp;asrc=EM_NLN_7361127"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In this tip we are going to learn about nmap, an open source network scanner that is ideal for network troubleshooting, scanning, and auditing. The tool can be used to identify devices on the network as well as the services running on the particular devices. Additionally, advanced information such as operating systems in use, particular services (name and version), and network filters and firewalls can be identified.&lt;br /&gt;&lt;br /&gt;The identification of services with nmap is achieved through its fingerprint database that currently contains 5,000+ fingerprints. This database is supported by the community by allowing submission of known fingerprints.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Nmap as an inventory tool &lt;/span&gt;&lt;br /&gt;One of the common applications of nmap is to generate basic inventory reports. This is useful for network maps, renewal of maintenance agreements on network devices and nodes, and to identify rogue, unauthorized, or forgotten devices.&lt;br /&gt;The basic scan for an inventory makes use of a ping scan. For example, the following scan shows the host available on the 192.168.1.0/24 network. The -sP tells nmap to do a ping scan, and the -n says to not do name resolution.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-weight: bold;"&gt;nmap -sP -n 192.168.1.0/24&lt;/span&gt;&lt;br /&gt;Starting Nmap 4.76 (http://nmap.org) at 2009-05-14 10:18 CDT&lt;br /&gt;Host 192.168.1.1 appears to be up.&lt;br /&gt;MAC Address: 00:18:3A:A4:43:BA (Westell Technologies)&lt;br /&gt;Host 192.168.1.2 appears to be up.&lt;br /&gt;Host 192.168.1.3 appears to be up.&lt;br /&gt;MAC Address: 00:17:EE:01:95:19 (Motorola CHS)&lt;br /&gt;Host 192.168.1.4 appears to be up.&lt;br /&gt;MAC Address: 00:16:CB:A3:27:E4 (Apple Computer)&lt;br /&gt;Host 192.168.1.5 appears to be up.&lt;br /&gt;MAC Address: 00:1E:52:7D:84:7E (Apple)&lt;br /&gt;Nmap done: 256 IP addresses (5 hosts up) scanned in 2.17 seconds&lt;br /&gt;&lt;br /&gt;This ping scan is quite useful for building inventories quickly. It can also be the building blocks of more sophisticated scripts and programs to validate adds and changes to the network. For example, the following command reports the new host (192.168.1.5) on the network from two daily scans output to text files:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;diff monday.scan tuesday.scan | grep "&gt; Host"&lt;/span&gt;&lt;br /&gt;&gt; Host 192.168.1.5 appears to be up.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Host-specific inventory &lt;/span&gt;&lt;br /&gt;To look at a particular host to determine services running, you can use nmap. For example, let's take a closer look at the 192.168.1.5 that appears to have been turned up sometime after the Monday scan but before the Tuesday scan:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;nmap -n 192.168.1.5&lt;/span&gt;&lt;br /&gt;Starting Nmap 4.76 ( http://nmap.org ) at 2009-05-14 12:44 CDT&lt;br /&gt;Interesting ports on 192.168.1.5:&lt;br /&gt;Not shown: 984 closed ports&lt;br /&gt;PORT STATE SERVICE&lt;br /&gt;22/tcp open ssh&lt;br /&gt;88/tcp open kerberos-sec&lt;br /&gt;111/tcp open rpcbind&lt;br /&gt;139/tcp open netbios-ssn&lt;br /&gt;445/tcp open microsoft-ds&lt;br /&gt;515/tcp open printer&lt;br /&gt;548/tcp open afp&lt;br /&gt;631/tcp open ipp&lt;br /&gt;1021/tcp open unknown&lt;br /&gt;1022/tcp open unknown&lt;br /&gt;1023/tcp open netvenuechat&lt;br /&gt;2049/tcp open nfs&lt;br /&gt;3300/tcp open unknown&lt;br /&gt;5900/tcp open vnc&lt;br /&gt;20221/tcp open unknown&lt;br /&gt;20222/tcp open unknown&lt;br /&gt;MAC Address: 00:16:CB:A3:27:E4 (Apple Computer)&lt;br /&gt;Nmap done: 1 IP address (1 host up) scanned in 10.46 seconds&lt;br /&gt;It appears to be a Unix based system based upon ssh, but the identification of the MAC address makes the system most likely an Apple Mac computer. But, a closer look using nmap's service and version detection, more information can be gleaned. The -sV parameter is used for this:&lt;br /&gt;&lt;br /&gt;mb3:~ root# &lt;span style="color: rgb(51, 51, 255); font-weight: bold;"&gt;nmap -n -sV 192.168.1.5&lt;/span&gt;&lt;br /&gt;Starting Nmap 4.76 ( http://nmap.org ) at 2009-05-14 12:47 CDT&lt;br /&gt;Interesting ports on 192.168.1.5:&lt;br /&gt;Not shown: 984 closed ports&lt;br /&gt;PORT STATE SERVICE VERSION&lt;br /&gt;22/tcp open ssh OpenSSH 5.1 (protocol 1.99)&lt;br /&gt;88/tcp open kerberos-sec Mac OS X kerberos-sec&lt;br /&gt;111/tcp open rpcbind&lt;br /&gt;139/tcp open netbios-ssn Samba smbd 3.X (workgroup: WORKGROUP)&lt;br /&gt;445/tcp open netbios-ssn Samba smbd 3.X (workgroup: WORKGROUP)&lt;br /&gt;515/tcp open printer&lt;br /&gt;548/tcp open afp?&lt;br /&gt;631/tcp open ipp CUPS 1.3&lt;br /&gt;1021/tcp open rpcbind&lt;br /&gt;1022/tcp open rpcbind&lt;br /&gt;1023/tcp open rpcbind&lt;br /&gt;2049/tcp open rpcbind&lt;br /&gt;3300/tcp open unknown?&lt;br /&gt;5900/tcp open vnc VNC (protocol 3.8)&lt;br /&gt;20221/tcp open unknown?&lt;br /&gt;20222/tcp open unknown?&lt;br /&gt;1 service unrecognized despite returning data.&lt;br /&gt;If you know the service/version, please submit the following fingerprint&lt;br /&gt;at http://www.insecure.org/cgi-bin/servicefp-submit.cgi :&lt;br /&gt;SF-Port548-TCP:V=4.76%I=7%D=5/14%Time=4A0C5929%P=i386-apple-darwin9.4.0%r(&lt;br /&gt;SF:SSLSessionReq,172,"\x01\x03\0\0Q\xec\xff\xff\0\0\x01b\0\0\0\0\0\x18\0\"&lt;br /&gt;AD9&lt;br /&gt;SF:6FA5112ED039C\0\x04mini");&lt;br /&gt;MAC Address: 00:16:CB:A3:27:E4 (Apple Computer)&lt;br /&gt;Service Info: OS: Mac OS X&lt;br /&gt;Host script results:&lt;br /&gt;| Discover OS Version over NetBIOS and SMB: Unix&lt;br /&gt;|_ Discover system time over SMB: 2009-05-14 12:49:02 UTC-5&lt;br /&gt;Service detection performed. Please report any incorrect results at http://nmap.org/submit/ .&lt;br /&gt;Nmap done: 1 IP address (1 host up) scanned in 119.68 seconds&lt;br /&gt;&lt;br /&gt;Now the administrator knows that it is Mac OS X, and that it is being used for Windows file sharing using Samba, that it is most likely sharing printers via CUPS, and that the system is configured for remote management with virtual network computing (VNC).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Using nmap for security &lt;/span&gt;&lt;br /&gt;While nmap is quite useful for administrators as shown above, it is also quite powerful for security audits. For example, many companies do not allow Web servers to be run on user networks (i.e. networks where user computers and laptops are connected). nmap can easily be used to identify all the systems with Web services running on the well known ports of 80 and 443 with:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;nmap -n -p 80,443 192.168.1.0/24 | egrep "ports|open"&lt;/span&gt;&lt;br /&gt;Interesting ports on 192.168.1.1:&lt;br /&gt;80/tcp open http&lt;br /&gt;443/tcp open https&lt;br /&gt;Interesting ports on 192.168.1.2:&lt;br /&gt;Interesting ports on 192.168.1.3:&lt;br /&gt;Interesting ports on 192.168.1.4:&lt;br /&gt;Interesting ports on 192.168.1.5:&lt;br /&gt;&lt;br /&gt;Another useful feature is identifying particular versions to determine if systems are vulnerable to an announced vulnerability. For example, let's assume the Samba team has announced a security issue with a particular version of Samba, and you need to identify all your Samba versions. The following reports the Samba versions:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;nmap -n -sV -p 139 192.168.1.0/24 | egrep "ports|139"&lt;/span&gt;&lt;br /&gt;Interesting ports on 192.168.1.1:&lt;br /&gt;139/tcp closed netbios-ssn&lt;br /&gt;Interesting ports on 192.168.1.2:&lt;br /&gt;139/tcp closed netbios-ssn&lt;br /&gt;Interesting ports on 192.168.1.3:&lt;br /&gt;139/tcp filtered netbios-ssn&lt;br /&gt;Interesting ports on 192.168.1.4:&lt;br /&gt;139/tcp open netbios-ssn Samba smbd 3.2 (workgroup: HQ)&lt;br /&gt;Interesting ports on 192.168.1.5:&lt;br /&gt;139/tcp open netbios-ssn Samba smbd 2.1 (workgroup: REMOTE)&lt;br /&gt;Interesting ports on 192.168.1.15:&lt;br /&gt;139/tcp open netbios-ssn Samba smbd 3.2 (workgroup: WORKGROUP)&lt;br /&gt;&lt;br /&gt;This tip has shown how nmap can be used for network inventory scans (-sP), more thorough inventory and auditing, and security scans to identify unauthorized services as well as assist in security vulnerability assessments. nmap is a good tool to have readily available...combine it with grep or egrep and it becomes a powerful reporting tool.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/50829296064695022-6540680569839795343?l=shahpunyerblog.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Imshahmemyselfandi/~4/rU33J5R_swo" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/Imshahmemyselfandi/~3/rU33J5R_swo/using-nmap-for-linux-administration-and.html</link><author>noreply@blogger.com (imshahmemyselfandi)</author><thr:total>1</thr:total><feedburner:origLink>http://shahpunyerblog.blogspot.com/2009/06/using-nmap-for-linux-administration-and.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-50829296064695022.post-7711286848653654717</guid><pubDate>Thu, 04 Jun 2009 03:16:00 +0000</pubDate><atom:updated>2009-06-04T11:26:47.647+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Linux</category><title>How to check Ubuntu version</title><description>There are a few command to check the Ubuntu version. See below.&lt;br /&gt;&lt;br /&gt;Command : &lt;span style="color: rgb(51, 51, 255); font-weight: bold;"&gt;lsb_release -a&lt;/span&gt;&lt;br /&gt;root@ubuntu:~# &lt;span style="color: rgb(51, 51, 255); font-weight: bold;"&gt;lsb_release -a&lt;/span&gt;&lt;br /&gt;No LSB modules are available.&lt;br /&gt;Distributor ID: Ubuntu&lt;br /&gt;Description:    Ubuntu 8.10&lt;br /&gt;Release:        8.10&lt;br /&gt;Codename:       intrepid&lt;br /&gt;&lt;br /&gt;Command : &lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;cat /etc/issue&lt;/span&gt;&lt;br /&gt;root@ubuntu:~#&lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt; cat /etc/issue&lt;/span&gt;&lt;br /&gt;Ubuntu 8.10 \n \l&lt;br /&gt;&lt;br /&gt;Command : &lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;cat /etc/lsb-release&lt;/span&gt;&lt;br /&gt;root@ubuntu:~# &lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;cat /etc/lsb-release&lt;/span&gt;&lt;br /&gt;DISTRIB_ID=Ubuntu&lt;br /&gt;DISTRIB_RELEASE=8.10&lt;br /&gt;DISTRIB_CODENAME=intrepid&lt;br /&gt;DISTRIB_DESCRIPTION="Ubuntu 8.10"&lt;br /&gt;&lt;br /&gt;Command : &lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;cat /etc/apt/sources.list&lt;/span&gt;&lt;br /&gt;root@ubuntu:~# &lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;cat /etc/apt/sources.list&lt;/span&gt;&lt;br /&gt;#&lt;br /&gt;# deb cdrom:[Ubuntu-Server 8.10 _Intrepid Ibex_ - Release amd64 (20081028.1)]/ intrepid main restricted&lt;br /&gt;&lt;br /&gt;#deb cdrom:[Ubuntu-Server 8.10 _Intrepid Ibex_ - Release amd64 (20081028.1)]/ intrepid main restricted&lt;br /&gt;# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to&lt;br /&gt;# newer versions of the distribution.&lt;br /&gt;&lt;br /&gt;deb http://my.archive.ubuntu.com/ubuntu/ intrepid main restricted&lt;br /&gt;deb-src http://my.archive.ubuntu.com/ubuntu/ intrepid main restricted&lt;br /&gt;&lt;br /&gt;## Major bug fix updates produced after the final release of the&lt;br /&gt;## distribution.&lt;br /&gt;deb http://my.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted&lt;br /&gt;deb-src http://my.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted&lt;br /&gt;&lt;br /&gt;## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu&lt;br /&gt;## team. Also, please note that software in universe WILL NOT receive any&lt;br /&gt;## review or updates from the Ubuntu security team.&lt;br /&gt;deb http://my.archive.ubuntu.com/ubuntu/ intrepid universe&lt;br /&gt;deb-src http://my.archive.ubuntu.com/ubuntu/ intrepid universe&lt;br /&gt;deb http://my.archive.ubuntu.com/ubuntu/ intrepid-updates universe&lt;br /&gt;deb-src http://my.archive.ubuntu.com/ubuntu/ intrepid-updates universe&lt;br /&gt;&lt;br /&gt;## OpenNMS&lt;br /&gt;deb http://debian.opennms.org stable main&lt;br /&gt;deb-src http://debian.opennms.org stable main&lt;br /&gt;&lt;br /&gt;## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu&lt;br /&gt;## team, and may not be under a free licence. Please satisfy yourself as to&lt;br /&gt;## your rights to use the software. Also, please note that software in&lt;br /&gt;## multiverse WILL NOT receive any review or updates from the Ubuntu&lt;br /&gt;## security team.&lt;br /&gt;deb http://my.archive.ubuntu.com/ubuntu/ intrepid multiverse&lt;br /&gt;deb-src http://my.archive.ubuntu.com/ubuntu/ intrepid multiverse&lt;br /&gt;deb http://my.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse&lt;br /&gt;deb-src http://my.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse&lt;br /&gt;&lt;br /&gt;## Uncomment the following two lines to add software from the 'backports'&lt;br /&gt;## repository.&lt;br /&gt;## N.B. software from this repository may not have been tested as&lt;br /&gt;## extensively as that contained in the main release, although it includes&lt;br /&gt;## newer versions of some applications which may provide useful features.&lt;br /&gt;## Also, please note that software in backports WILL NOT receive any review&lt;br /&gt;## or updates from the Ubuntu security team.&lt;br /&gt;# deb http://my.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse&lt;br /&gt;# deb-src http://my.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse&lt;br /&gt;&lt;br /&gt;## Uncomment the following two lines to add software from Canonical's&lt;br /&gt;## 'partner' repository. This software is not part of Ubuntu, but is&lt;br /&gt;## offered by Canonical and the respective vendors as a service to Ubuntu&lt;br /&gt;## users.&lt;br /&gt;# deb http://archive.canonical.com/ubuntu intrepid partner&lt;br /&gt;# deb-src http://archive.canonical.com/ubuntu intrepid partner&lt;br /&gt;&lt;br /&gt;# Line commented out by installer because it failed to verify:&lt;br /&gt;#deb http://security.ubuntu.com/ubuntu intrepid-security main restricted&lt;br /&gt;# Line commented out by installer because it failed to verify:&lt;br /&gt;#deb-src http://security.ubuntu.com/ubuntu intrepid-security main restricted&lt;br /&gt;# Line commented out by installer because it failed to verify:&lt;br /&gt;#deb http://security.ubuntu.com/ubuntu intrepid-security universe&lt;br /&gt;# Line commented out by installer because it failed to verify:&lt;br /&gt;#deb-src http://security.ubuntu.com/ubuntu intrepid-security universe&lt;br /&gt;# Line commented out by installer because it failed to verify:&lt;br /&gt;#deb http://security.ubuntu.com/ubuntu intrepid-security multiverse&lt;br /&gt;# Line commented out by installer because it failed to verify:&lt;br /&gt;#deb-src http://security.ubuntu.com/ubuntu intrepid-security multiverse&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/50829296064695022-7711286848653654717?l=shahpunyerblog.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Imshahmemyselfandi/~4/GTp6J3Wpr7U" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/Imshahmemyselfandi/~3/GTp6J3Wpr7U/how-to-check-ubuntu-version.html</link><author>noreply@blogger.com (imshahmemyselfandi)</author><thr:total>0</thr:total><feedburner:origLink>http://shahpunyerblog.blogspot.com/2009/06/how-to-check-ubuntu-version.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-50829296064695022.post-4146015925514686301</guid><pubDate>Thu, 04 Jun 2009 02:54:00 +0000</pubDate><atom:updated>2009-06-04T11:15:42.853+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Linux</category><title>Installing nmap in Ubuntu</title><description>I want to using nmap in my Ubuntu server but I found that nmap is not installed yet.
&lt;br /&gt;root@ubuntu:~# nmap
&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0); font-weight: bold;"&gt;The program 'nmap' is currently not installed&lt;/span&gt;.  You can install it by typing:
&lt;br /&gt;
&lt;br /&gt;So, to install nmap just type the below command. It is extremely simple and easy :)
&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-weight: bold;"&gt;type this command : apt-get install nmap&lt;/span&gt;
&lt;br /&gt;-bash: nmap: command not found
&lt;br /&gt;root@ubuntu:~# &lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;apt-get install nmap&lt;/span&gt;
&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(51, 255, 51);"&gt;** nmap will be installed and the below process will be shown&lt;/span&gt;
&lt;br /&gt;Reading package lists... Done
&lt;br /&gt;Building dependency tree
&lt;br /&gt;Reading state information... Done
&lt;br /&gt;The following NEW packages will be installed:
&lt;br /&gt;  nmap
&lt;br /&gt;0 upgraded, 1 newly installed, 0 to remove and 46 not upgraded.
&lt;br /&gt;Need to get 1080kB of archives.
&lt;br /&gt;After this operation, 3789kB of additional disk space will be used.
&lt;br /&gt;Get:1 http://my.archive.ubuntu.com intrepid/main nmap 4.62-1ubuntu1 [1080kB]
&lt;br /&gt;Fetched 1080kB in 20s (52.4kB/s)
&lt;br /&gt;Selecting previously deselected package nmap.
&lt;br /&gt;(Reading database ... 53517 files and directories currently installed.)
&lt;br /&gt;Unpacking nmap (from .../nmap_4.62-1ubuntu1_amd64.deb) ...
&lt;br /&gt;Processing triggers for man-db ...
&lt;br /&gt;Setting up nmap (4.62-1ubuntu1) ...
&lt;br /&gt;
&lt;br /&gt;taddaaaaaaa...!!!! Nmap is installed..Yeaaaaa
&lt;br /&gt;root@ubuntu:~# nmap
&lt;br /&gt;Nmap 4.62 ( http://nmap.org )
&lt;br /&gt;Usage: nmap [Scan Type(s)] [Options] {target specification}
&lt;br /&gt;TARGET SPECIFICATION:
&lt;br /&gt;  Can pass hostnames, IP addresses, networks, etc.
&lt;br /&gt;  Ex: scanme.nmap.org, microsoft.com/24, 192.168.0.1; 10.0.0-255.1-254
&lt;br /&gt;  -iL &lt;inputfilename&gt;: Input from list of hosts/networks
&lt;br /&gt;  -iR &lt;num&gt;: Choose random targets
&lt;br /&gt;  --exclude &lt;host1[,host2][,host3],...&gt;: Exclude hosts/networks
&lt;br /&gt;  --excludefile &lt;exclude_file&gt;: Exclude list from file
&lt;br /&gt;HOST DISCOVERY:
&lt;br /&gt;  -sL: List Scan - simply list targets to scan
&lt;br /&gt;  -sP: Ping Scan - go no further than determining if host is online
&lt;br /&gt;  -PN: Treat all hosts as online -- skip host discovery
&lt;br /&gt;  -PS/PA/PU [portlist]: TCP SYN/ACK or UDP discovery to given ports
&lt;br /&gt;  -PE/PP/PM: ICMP echo, timestamp, and netmask request discovery probes
&lt;br /&gt;  -PO [protocol list]: IP Protocol Ping
&lt;br /&gt;  -n/-R: Never do DNS resolution/Always resolve [default: sometimes]
&lt;br /&gt;  --dns-servers &lt;serv1[,serv2],...&gt;: Specify custom DNS servers
&lt;br /&gt;  --system-dns: Use OS's DNS resolver
&lt;br /&gt;SCAN TECHNIQUES:
&lt;br /&gt;  -sS/sT/sA/sW/sM: TCP SYN/Connect()/ACK/Window/Maimon scans
&lt;br /&gt;  -sU: UDP Scan
&lt;br /&gt;  -sN/sF/sX: TCP Null, FIN, and Xmas scans
&lt;br /&gt;  --scanflags &lt;flags&gt;: Customize TCP scan flags
&lt;br /&gt;  -sI &lt;zombie&gt;: Idle scan
&lt;br /&gt;  -sO: IP protocol scan
&lt;br /&gt;  -b &lt;ftp&gt;: FTP bounce scan
&lt;br /&gt;  --traceroute: Trace hop path to each host
&lt;br /&gt;  --reason: Display the reason a port is in a particular state
&lt;br /&gt;PORT SPECIFICATION AND SCAN ORDER:
&lt;br /&gt;  -p &lt;port&gt;: Only scan specified ports
&lt;br /&gt;    Ex: -p22; -p1-65535; -p U:53,111,137,T:21-25,80,139,8080
&lt;br /&gt;  -F: Fast mode - Scan fewer ports than the default scan
&lt;br /&gt;  -r: Scan ports consecutively - don't randomize
&lt;br /&gt;  --top-ports &lt;number&gt;: Scan &lt;number&gt; most common ports
&lt;br /&gt;  --port-ratio &lt;ratio&gt;: Scan ports more common than &lt;ratio&gt;
&lt;br /&gt;SERVICE/VERSION DETECTION:
&lt;br /&gt;  -sV: Probe open ports to determine service/version info
&lt;br /&gt;  --version-intensity &lt;level&gt;: Set from 0 (light) to 9 (try all probes)
&lt;br /&gt;  --version-light: Limit to most likely probes (intensity 2)
&lt;br /&gt;  --version-all: Try every single probe (intensity 9)
&lt;br /&gt;  --version-trace: Show detailed version scan activity (for debugging)
&lt;br /&gt;SCRIPT SCAN:
&lt;br /&gt;  -sC: equivalent to --script=safe,intrusive
&lt;br /&gt;  --script=&lt;lua&gt;: &lt;lua&gt; is a comma separated list of
&lt;br /&gt;           directories, script-files or script-categories
&lt;br /&gt;  --script-args=&lt;n1=v1,[n2=v2,...]&gt;: provide arguments to scripts
&lt;br /&gt;  --script-trace: Show all data sent and received
&lt;br /&gt;  --script-updatedb: Update the script database.
&lt;br /&gt;OS DETECTION:
&lt;br /&gt;  -O: Enable OS detection
&lt;br /&gt;  --osscan-limit: Limit OS detection to promising targets
&lt;br /&gt;  --osscan-guess: Guess OS more aggressively
&lt;br /&gt;TIMING AND PERFORMANCE:
&lt;br /&gt;  Options which take &lt;time&gt; are in milliseconds, unless you append 's'
&lt;br /&gt;  (seconds), 'm' (minutes), or 'h' (hours) to the value (e.g. 30m).
&lt;br /&gt;  -T[0-5]: Set timing template (higher is faster)
&lt;br /&gt;  --min-hostgroup/max-hostgroup &lt;size&gt;: Parallel host scan group sizes
&lt;br /&gt;  --min-parallelism/max-parallelism &lt;time&gt;: Probe parallelization
&lt;br /&gt;  --min-rtt-timeout/max-rtt-timeout/initial-rtt-timeout &lt;time&gt;: Specifies
&lt;br /&gt;      probe round trip time.
&lt;br /&gt;  --max-retries &lt;tries&gt;: Caps number of port scan probe retransmissions.
&lt;br /&gt;  --host-timeout &lt;time&gt;: Give up on target after this long
&lt;br /&gt;  --scan-delay/--max-scan-delay &lt;time&gt;: Adjust delay between probes
&lt;br /&gt;  --min-rate &lt;number&gt;: Send packets no slower than &lt;number&gt; per second
&lt;br /&gt;FIREWALL/IDS EVASION AND SPOOFING:
&lt;br /&gt;  -f; --mtu &lt;val&gt;: fragment packets (optionally w/given MTU)
&lt;br /&gt;  -D &lt;decoy1,decoy2[,me],...&gt;: Cloak a scan with decoys
&lt;br /&gt;  -S &lt;ip_address&gt;: Spoof source address
&lt;br /&gt;  -e &lt;iface&gt;: Use specified interface
&lt;br /&gt;  -g/--source-port &lt;portnum&gt;: Use given port number
&lt;br /&gt;  --data-length &lt;num&gt;: Append random data to sent packets
&lt;br /&gt;  --ip-options &lt;options&gt;: Send packets with specified ip options
&lt;br /&gt;  --ttl &lt;val&gt;: Set IP time-to-live field
&lt;br /&gt;  --spoof-mac &lt;mac&gt;: Spoof your MAC address
&lt;br /&gt;  --badsum: Send packets with a bogus TCP/UDP checksum
&lt;br /&gt;OUTPUT:
&lt;br /&gt;  -oN/-oX/-oS/-oG &lt;file&gt;: Output scan in normal, XML, s|&lt;rIpt kIddi3,
&lt;br /&gt;     and Grepable format, respectively, to the given filename.
&lt;br /&gt;  -oA &lt;basename&gt;: Output in the three major formats at once
&lt;br /&gt;  -v: Increase verbosity level (use twice or more for greater effect)
&lt;br /&gt;  -d[level]: Set or increase debugging level (Up to 9 is meaningful)
&lt;br /&gt;  --open: Only show open (or possibly open) ports
&lt;br /&gt;  --packet-trace: Show all packets sent and received
&lt;br /&gt;  --iflist: Print host interfaces and routes (for debugging)
&lt;br /&gt;  --log-errors: Log errors/warnings to the normal-format output file
&lt;br /&gt;  --append-output: Append to rather than clobber specified output files
&lt;br /&gt;  --resume &lt;filename&gt;: Resume an aborted scan
&lt;br /&gt;  --stylesheet &lt;path/url&gt;: XSL stylesheet to transform XML output to HTML
&lt;br /&gt;  --webxml: Reference stylesheet from Insecure.Org for more portable XML
&lt;br /&gt;  --no-stylesheet: Prevent associating of XSL stylesheet w/XML output
&lt;br /&gt;MISC:
&lt;br /&gt;  -6: Enable IPv6 scanning
&lt;br /&gt;  -A: Enables OS detection and Version detection, Script scanning and Traceroute
&lt;br /&gt;  --datadir &lt;dirname&gt;: Specify custom Nmap data file location
&lt;br /&gt;  --send-eth/--send-ip: Send using raw ethernet frames or IP packets
&lt;br /&gt;  --privileged: Assume that the user is fully privileged
&lt;br /&gt;  --unprivileged: Assume the user lacks raw socket privileges
&lt;br /&gt;  -V: Print version number
&lt;br /&gt;  -h: Print this help summary page.
&lt;br /&gt;EXAMPLES:
&lt;br /&gt;  nmap -v -A scanme.nmap.org
&lt;br /&gt;  nmap -v -sP 192.168.0.0/16 10.0.0.0/8
&lt;br /&gt;  nmap -v -iR 10000 -PN -p 80
&lt;br /&gt;SEE THE MAN PAGE FOR MANY MORE OPTIONS, DESCRIPTIONS, AND EXAMPLES
&lt;br /&gt;root@ubuntu:~#
&lt;br /&gt;
&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/50829296064695022-4146015925514686301?l=shahpunyerblog.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Imshahmemyselfandi/~4/DSv_VB0RCwQ" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/Imshahmemyselfandi/~3/DSv_VB0RCwQ/installing-nmap-in-ubuntu.html</link><author>noreply@blogger.com (imshahmemyselfandi)</author><thr:total>0</thr:total><feedburner:origLink>http://shahpunyerblog.blogspot.com/2009/06/installing-nmap-in-ubuntu.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-50829296064695022.post-6214769577247343336</guid><pubDate>Mon, 25 May 2009 02:32:00 +0000</pubDate><atom:updated>2009-05-25T11:26:26.618+08:00</atom:updated><title /><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.mscmalaysia.my/codenavia/portals/msc/images/img/oscon_v2/package-table.jpg"&gt;&lt;strong style="color: rgb(102, 102, 102);"&gt;INVITATION TO PARTICIPATE IN MSC MALAYSIA OPEN SOURCE CONFERENCE 2009&lt;/strong&gt;                    &lt;/a&gt;&lt;p&gt;Date: 31 May - 3 June, 2009&lt;br /&gt;  Venue: Berjaya Times Square Hotel &amp;amp; Convention Center, Kuala Lumpur.&lt;/p&gt;              &lt;p&gt;MSC Malaysia's inaugural and full-fledged Open Source Conference to incorporate a "Quadruple play" of 4 crucial stakeholders consisting of government, businesses, developers and community in envisioning open source's contribution to the IT industry and socio-economy.&lt;/p&gt;       &lt;p&gt;Positioned as International forum for sharing and exchanging ideas on technical advancements, applications, development and business cases on open source, and its positive impact in meeting challenges of the current economic climate.&lt;/p&gt;       &lt;p&gt;Organised by MSC Malaysia in cooperation with the Malaysian Administrative Modernisation and Management Planning Unit (MAMPU), the annual MSC Malaysia OSCONF is also supported by the Malaysian Open Source community. This event complements the annual Malaysian Government Open Source Software Conference (MyGOSSCON) as the premier platform for all things Open Source in Malaysia.&lt;/p&gt;       &lt;p&gt;With 3 DAYS, 3 TRACKS, 1 HACKATHON are in store for everyone who attend this conference. In addition, we have renowned speakers from prime Open Source Enterprises which are Mozilla, Google and Red Hat to name a few and also not forgeting from the developer community - Ubuntu, BSD, Fedora, PHPs, etc&lt;/p&gt;       &lt;p&gt;Come join us at the MSC Malaysia Open Source Conference 2009! You'll be pleasantly surprised...&lt;/p&gt;       &lt;strong style="color: rgb(170, 170, 170);"&gt;Who should attend?&lt;/strong&gt;              &lt;ul&gt;&lt;li style="margin: 3px 0pt;"&gt;Business executives from MSC Malaysia and Non-MSC Malaysia Status companies&lt;/li&gt;&lt;li style="margin: 3px 0pt;"&gt;Open Source developers, communities, inventors, evangelist, researchers, strategist&lt;/li&gt;&lt;li style="margin: 3px 0pt;"&gt;Government officers&lt;/li&gt;&lt;li style="margin: 3px 0pt;"&gt;Students, general public&lt;/li&gt;&lt;/ul&gt;        &lt;strong style="color: rgb(170, 170, 170);"&gt;Why you should attend?&lt;/strong&gt;              &lt;ol&gt;&lt;li style="margin: 5px 0pt;"&gt;Provide exposure and knowledge on the importance of Open Source in enhancing competitiveness by giving freedom of choice in software usage with lower total cost of ownership, hence benefiting businesses and society at large. Over 30 session tracks are made available.&lt;/li&gt;&lt;li style="margin: 5px 0pt;"&gt;Share amongst the open source community on new directions and latest innovations by the subject matter experts, thought leaders and industry gurus.&lt;/li&gt;&lt;li style="margin: 5px 0pt;"&gt;Provide a platform for conference participants to actively interact, share and exchange views, ideas, and tools on the latest trends and issues of Open Source.&lt;/li&gt;&lt;li style="margin: 5px 0pt;"&gt;Networking, learning and having great fun! Click &lt;a href="http://www.mscmalaysia.my/article/open+Source+Conference/open+Source+Conference"&gt;here&lt;/a&gt; for more details&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;h4 style="margin: 0pt; padding: 0pt; color: rgb(255, 255, 255); font-weight: lighter; font-size: 34px; line-height: 1; letter-spacing: -0.01em;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.mscmalaysia.my/codenavia/portals/msc/images/img/oscon_v2/package-table.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 428px; height: 437px;" src="http://www.mscmalaysia.my/codenavia/portals/msc/images/img/oscon_v2/package-table.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;/h4&gt;&lt;br /&gt;&lt;a href="http://www.mscmalaysia.my/article/open+Source+Conference/Registration+Form"&gt;REGISTER NOW!!!&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/50829296064695022-6214769577247343336?l=shahpunyerblog.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Imshahmemyselfandi/~4/PktctnbTJ4s" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/Imshahmemyselfandi/~3/PktctnbTJ4s/blog-post.html</link><author>noreply@blogger.com (imshahmemyselfandi)</author><thr:total>0</thr:total><feedburner:origLink>http://shahpunyerblog.blogspot.com/2009/05/blog-post.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-50829296064695022.post-4273005750172971353</guid><pubDate>Wed, 13 May 2009 03:45:00 +0000</pubDate><atom:updated>2009-05-19T11:52:51.311+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Linux</category><title>How to create a website statistic using AWSTATS</title><description>&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 12"&gt;&lt;meta name="Originator" content="Microsoft Word 12"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5Cmnatasha%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"&gt;&lt;link rel="themeData" href="file:///C:%5CDOCUME%7E1%5Cmnatasha%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"&gt;&lt;link rel="colorSchemeMapping" href="file:///C:%5CDOCUME%7E1%5Cmnatasha%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val="Cambria Math"&gt;    &lt;m:brkbin val="before"&gt;    &lt;m:brkbinsub val="--"&gt;    &lt;m:smallfrac val="off"&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val="0"&gt;    &lt;m:rmargin val="0"&gt;    &lt;m:defjc val="centerGroup"&gt;    &lt;m:wrapindent val="1440"&gt;    &lt;m:intlim val="subSup"&gt;    &lt;m:narylim val="undOvr"&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"&gt;   &lt;w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"&gt;   &lt;w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 1"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 2"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 3"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 4"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 5"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 6"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 7"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 8"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 9"&gt;   &lt;w:lsdexception locked="false" priority="35" qformat="true" name="caption"&gt;   &lt;w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"&gt;   &lt;w:lsdexception locked="false" priority="1" name="Default Paragraph Font"&gt;   &lt;w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"&gt;   &lt;w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"&gt;   &lt;w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"&gt;   &lt;w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Revision"&gt;   &lt;w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"&gt;   &lt;w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"&gt;   &lt;w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"&gt;   &lt;w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"&gt;   &lt;w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"&gt;   &lt;w:lsdexception locked="false" priority="37" name="Bibliography"&gt;   &lt;w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:Wingdings; 	panose-1:5 0 0 0 0 0 0 0 0 0; 	mso-font-charset:2; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:0 268435456 0 0 -2147483648 0;} @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:1; 	mso-generic-font-family:roman; 	mso-font-format:other; 	mso-font-pitch:variable; 	mso-font-signature:0 0 0 0 0 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073750139 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoPapDefault 	{mso-style-type:export-only; 	margin-bottom:10.0pt; 	line-height:115%;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin-top:0in; 	mso-para-margin-right:0in; 	mso-para-margin-bottom:10.0pt; 	mso-para-margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:"Times New Roman"; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b style=""&gt;&lt;span style="font-size:10;"&gt;&lt;span style="font-weight: bold;"&gt;This post is based on my experience on setup and configuring the Awstats. configuration. I'm installing it on my Ubuntu server 8.10.
&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b style=""&gt;&lt;span style="font-size:10;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;
&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b style=""&gt;&lt;span style="font-size:10;"&gt;Step 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b style=""&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;Access to AWSTATS server by using SSH protocol. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;IP address: 192.168.19.50 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;loginname: awstats &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;password: ********&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;awstats@ubuntu:~$ &lt;/span&gt;&lt;b style=""&gt;&lt;span style="color: rgb(0, 112, 192);font-size:16;" &gt;type &lt;/span&gt;&lt;/b&gt;&lt;b style=""&gt;&lt;span style="color: rgb(0, 112, 192);font-size:16;" &gt;cd /var/www/awstats/tools/ &lt;span style=""&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;b style=""&gt;&lt;span style="color: rgb(0, 112, 192);font-size:10;" &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b style=""&gt;&lt;span style="color: rgb(0, 112, 192);font-size:10;" &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b style=""&gt;&lt;span style="color: rgb(0, 112, 192);font-size:10;" &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b style=""&gt;&lt;span style="font-size:10;"&gt;
&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b style=""&gt;&lt;span style="font-size:10;"&gt;Step 2 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;awstats@ubuntu:/var/www/awstats/tools$ &lt;/span&gt;&lt;b style=""&gt;&lt;span style="color: rgb(0, 112, 192);font-size:16;" &gt;type &lt;/span&gt;&lt;/b&gt;&lt;b style=""&gt;&lt;span style="color: rgb(0, 112, 192);font-size:16;" &gt;ls &lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="color: rgb(0, 176, 80);font-size:10;" &gt;awstats_buildstaticpages.pl&lt;span style=""&gt;  &lt;/span&gt;awstats_updateall.pl&lt;span style=""&gt;  &lt;/span&gt;maillogconvert.pl&lt;span style=""&gt;   &lt;/span&gt;xslt&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="color: rgb(0, 176, 80);font-size:10;" &gt;awstats_configure.pl&lt;span style=""&gt;         &lt;/span&gt;httpd_conf&lt;span style=""&gt;            &lt;/span&gt;urlaliasbuilder.pl&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="color: rgb(0, 176, 80);font-size:10;" &gt;awstats_exportlib.pl&lt;span style=""&gt;         &lt;/span&gt;logresolvemerge.pl&lt;span style=""&gt;    &lt;/span&gt;webmin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="color: rgb(0, 176, 80);font-size:10;" &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="color: rgb(0, 176, 80);font-size:10;" &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b style=""&gt;&lt;span style="font-size:10;"&gt;
&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b style=""&gt;&lt;span style="font-size:10;"&gt;Step 3 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;awstats@ubuntu:/var/www/awstats/tools$ &lt;/span&gt;&lt;b style=""&gt;&lt;span style="color: rgb(0, 112, 192);font-size:16;" &gt;sudo ./awstats_configure.pl&lt;/span&gt;&lt;/b&gt;&lt;span style="color: rgb(0, 112, 192);font-size:10;" &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;[sudo] password for awstats:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;----- AWStats awstats_configure 1.0 (build 1.8) (c) Laurent Destailleur -----&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;This tool will help you to configure AWStats to analyze statistics for&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;one web server. You can try to use it to let it do all that is possible&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;in AWStats setup, however following the step by step manual setup&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;documentation (docs/index.html) is often a better idea. Above all if:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;- You are not an administrator user,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;- You want to analyze downloaded log files without web server,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;- You want to analyze mail or ftp log files instead of web log files,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;- You need to analyze load balanced servers log files,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;- You want to 'understand' all possible ways to use AWStats...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;Read the AWStats documentation (docs/index.html).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;-----&gt; Running OS detected: Linux, BSD or Unix&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;Warning: AWStats standard directory on Linux OS is '/usr/local/awstats'.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;If you want to use standard directory, you should first move all content&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;of AWStats distribution from current directory:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;/var/www/awstats&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;to standard directory:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;/usr/local/awstats&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;And then, run configure.pl from this location.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;Do you want to continue setup from this NON standard directory [yN] ? &lt;/span&gt;&lt;b style=""&gt;&lt;span style="color: rgb(0, 112, 192);font-size:16;" &gt;press &lt;/span&gt;&lt;/b&gt;&lt;b style=""&gt;&lt;span style="color: rgb(0, 112, 192);font-size:16;" &gt;y&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;-----&gt; Check for web server install&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;Enter full config file path of your Web server.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;Example: /etc/httpd/httpd.conf&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;Example: /usr/local/apache2/conf/httpd.conf&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;Example: c:\Program files\apache group\apache\conf\httpd.conf&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;Config file path ('none' to skip web server setup):&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&gt; &lt;/span&gt;&lt;b style=""&gt;&lt;span style="color: rgb(0, 112, 192);font-size:16;" &gt;type&lt;/span&gt;&lt;/b&gt;&lt;b style=""&gt;&lt;span style="color: rgb(0, 112, 192);font-size:16;" &gt; /etc/apache2/apache2.conf&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;-----&gt; Check and complete web server config file '/etc/apache2/apache2.conf'&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&lt;span style=""&gt;  &lt;/span&gt;All AWStats directives are already present.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;-----&gt; Update model config file '/var/www/awstats/wwwroot/cgi-bin/awstats.model.conf'&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&lt;span style=""&gt;  &lt;/span&gt;File awstats.model.conf updated.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;-----&gt; Need to create a new config file ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;Do you want me to build a new AWStats config/profile&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;file (required if first install) [y/N] ? &lt;/span&gt;&lt;b style=""&gt;&lt;span style="color: rgb(0, 112, 192);font-size:16;" &gt;press &lt;/span&gt;&lt;/b&gt;&lt;b style=""&gt;&lt;span style="color: rgb(0, 112, 192);font-size:16;" &gt;y&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;-----&gt; Define config file name to create&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;What is the name of your web site or profile analysis ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;Example: www.mysite.com&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;Example: demo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;Your web site, virtual server or profile name:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&gt; &lt;/span&gt;&lt;b style=""&gt;&lt;span style="color: rgb(0, 112, 192);font-size:16;" &gt;type the name of website or profile &lt;/span&gt;&lt;/b&gt;&lt;b style=""&gt;&lt;span style="color: rgb(0, 112, 192);font-size:16;" &gt;eg; lbjt,insken,bankrakyat etc..&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;-----&gt; Define config file path&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;In which directory do you plan to store your config file(s) ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;Default: /etc/awstats&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;Directory path to store config file(s) (Enter for default):&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;/span&gt;&lt;b style=""&gt;&lt;span style="color: rgb(0, 112, 192);font-size:16;" &gt;Just press Enter here&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;-----&gt; Create config file '/etc/awstats/awstats.lbjt.conf'&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&lt;span style=""&gt; &lt;/span&gt;Config file /etc/awstats/awstats.lbjt.conf created.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;-----&gt; Add update process inside a scheduler&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;Sorry, configure.pl does not support automatic add to cron yet.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;You can do it manually by adding the following command to your cron:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;/var/www/awstats/wwwroot/cgi-bin/awstats.pl -update -config=lbjt&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;Or if you have several config files and prefer having only one command:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;/var/www/awstats/tools/awstats_updateall.pl now&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;Press ENTER to continue... &lt;/span&gt;&lt;b style=""&gt;&lt;span style="color: rgb(0, 112, 192);font-size:16;" &gt;Just press Enter here&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;A SIMPLE config file has been created: /etc/awstats/awstats.lbjt.conf&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;You should have a look inside to check and change manually main parameters.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;You can then manually update your statistics for 'lbjt' with command:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&gt; perl awstats.pl -update -config=lbjt&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;You can also read your statistics for 'lbjt' with URL:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&gt; http://localhost/awstats/awstats.pl?config=lbjt&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;Press ENTER to finish... &lt;/span&gt;&lt;b style=""&gt;&lt;span style="color: rgb(0, 112, 192);font-size:16;" &gt;Just press Enter here&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b style=""&gt;&lt;span style="font-size:10;"&gt;
&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b style=""&gt;&lt;span style="font-size:10;"&gt;Step 4&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;awstats@ubuntu:/var/www/awstats/tools$ &lt;/span&gt;&lt;b style=""&gt;&lt;span style="color: rgb(0, 112, 192);font-size:16;" &gt;type&lt;/span&gt;&lt;/b&gt;&lt;b style=""&gt;&lt;span style="color: rgb(0, 112, 192);font-size:16;" &gt; sudo pico /etc/awstats/awstats.lbjt.conf &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b style=""&gt;&lt;span style="font-size:10;"&gt;** &lt;u&gt;&lt;span style="background: yellow none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;To find the value&lt;/span&gt;&lt;/u&gt; that need to be edited as represent by the red colour below, &lt;u&gt;&lt;span style="background: yellow none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;simply press the “Page Down” button&lt;/span&gt;&lt;/u&gt; on the keyboard **&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="color: rgb(0, 176, 80);font-size:10;" &gt;# If there are several log files from load balancing servers :&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="color: rgb(0, 176, 80);font-size:10;" &gt;# Example: "/pathtotools/logresolvemerge.pl *.log |"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="color: rgb(0, 176, 80);font-size:10;" &gt;#&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b style=""&gt;&lt;span style=";font-size:10;color:red;"  &gt;LogFile="/var/log/apache2/lbjt.skali.my-access_log"&lt;/span&gt;&lt;/b&gt;&lt;b style=""&gt;&lt;span style="color: rgb(112, 48, 160);font-size:10;" &gt; change to this from default “/var/log/httpd/mylog.log” &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="color: rgb(0, 176, 80);font-size:10;" &gt;# LogFormat = 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="color: rgb(0, 176, 80);font-size:10;" &gt;# LogFormat = "%host %other %logname %time1 %methodurl %code %bytesd %refererqu$&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="color: rgb(0, 176, 80);font-size:10;" &gt;#&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="color: rgb(0, 176, 80);font-size:10;" &gt;# Example for IIS:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="color: rgb(0, 176, 80);font-size:10;" &gt;# LogFormat = 2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;#&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b style=""&gt;&lt;span style=";font-size:10;color:red;"  &gt;LogFormat=4 &lt;/span&gt;&lt;/b&gt;&lt;b style=""&gt;&lt;span style="color: rgb(112, 48, 160);font-size:10;" &gt;change to this value from default “ 1 ” &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b style=""&gt;&lt;span style=";font-size:10;color:red;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="color: rgb(0, 176, 80);font-size:10;" &gt;# If analyzing mail log, enter here the domain name of mail server.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="color: rgb(0, 176, 80);font-size:10;" &gt;# Example: "myintranetserver"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="color: rgb(0, 176, 80);font-size:10;" &gt;# Example: "www.domain.com"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="color: rgb(0, 176, 80);font-size:10;" &gt;# Example: "ftp.domain.com"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="color: rgb(0, 176, 80);font-size:10;" &gt;# Example: "domain.com"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="color: rgb(0, 176, 80);font-size:10;" &gt;#&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b style=""&gt;&lt;span style=";font-size:10;color:red;"  &gt;SiteDomain="lbjt" &lt;/span&gt;&lt;/b&gt;&lt;b style=""&gt;&lt;span style="color: rgb(112, 48, 160);font-size:10;" &gt;make sure this is value is entered&lt;/span&gt;&lt;/b&gt;&lt;b style=""&gt;&lt;span style=";font-size:10;color:red;"  &gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="color: rgb(0, 176, 80);font-size:10;" &gt;# Example: "/var/lib/awstats"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="color: rgb(0, 176, 80);font-size:10;" &gt;# Example: "../data"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="color: rgb(0, 176, 80);font-size:10;" &gt;# Example: "C:/awstats_data_dir"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="color: rgb(0, 176, 80);font-size:10;" &gt;# Default: "."&lt;span style=""&gt;          &lt;/span&gt;(means same directory as awstats.pl)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="color: rgb(0, 176, 80);font-size:10;" &gt;#&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b style=""&gt;&lt;span style=";font-size:10;color:red;"  &gt;DirData="/var/www/awstats"&lt;/span&gt;&lt;/b&gt;&lt;b style=""&gt;&lt;span style="color: rgb(112, 48, 160);font-size:10;" &gt; change to this from the default “/var/lib/awstats” &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b style=""&gt;&lt;span style=";font-size:10;color:red;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b style=""&gt;&lt;span style="font-size:10;"&gt;
&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b style=""&gt;&lt;span style="font-size:10;"&gt;Step 4 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;awstats@ubuntu:/var/www/awstats/tools$ &lt;/span&gt;&lt;b style=""&gt;&lt;span style="color: rgb(0, 112, 192);font-size:16;" &gt;type &lt;/span&gt;&lt;/b&gt;&lt;b style=""&gt;&lt;span style="color: rgb(0, 112, 192);font-size:16;" &gt;sudo /var/www/awstats/wwwroot/cgi-bin/awstats.pl config=lbjt -update&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;Create/Update database for config "/etc/awstats/awstats.lbjt.conf" by AWStats version 6.9 (build 1.925)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;From data in log file "/var/log/apache2/lbjt.skali.my-access_log"...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;Phase 1 : First bypass old records, searching new record...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;Searching new records from beginning of log file...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;Phase 2 : Now process new records (Flush history on disk after 20000 hosts)...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;Jumped lines in file: 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;Parsed lines in file: 1788&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&lt;span style=""&gt; &lt;/span&gt;Found 0 dropped records,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&lt;span style=""&gt; &lt;/span&gt;Found 0 corrupted records,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&lt;span style=""&gt; &lt;/span&gt;Found 0 old records,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&lt;span style=""&gt; &lt;/span&gt;Found 1788 new qualified records.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;awstats@ubuntu:/var/www/awstats/tools$&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;Step 5&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Open browser using Internet Explorer or Mozilla FireFox. At the URL address type the below address; &lt;/p&gt;  &lt;span style="line-height: 115%;font-family:&amp;quot;;font-size:11;"  &gt;http://192.168.19.50/awstats/awstats.pl?config=&lt;b style=""&gt;&lt;span style="color: rgb(0, 112, 192);"&gt;lbjt &lt;/span&gt;&lt;/b&gt;and the web page as below will be displayed and your awstats configuration is successful. Replace the &lt;b style=""&gt;&lt;span style="color: rgb(0, 112, 192);"&gt;lbjt &lt;/span&gt;&lt;/b&gt;name with other website profile. Let say if you are creating a profile for Bank Rakyat, then type, bankrakyat after config= (eg; config=bankrakyat) and so on for other profile.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/50829296064695022-4273005750172971353?l=shahpunyerblog.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Imshahmemyselfandi/~4/ImVfXOPvioE" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/Imshahmemyselfandi/~3/ImVfXOPvioE/how-to-create-website-statistic-using.html</link><author>noreply@blogger.com (imshahmemyselfandi)</author><thr:total>1</thr:total><feedburner:origLink>http://shahpunyerblog.blogspot.com/2009/05/how-to-create-website-statistic-using.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-50829296064695022.post-8096251472935078902</guid><pubDate>Wed, 15 Apr 2009 06:28:00 +0000</pubDate><atom:updated>2009-05-19T11:58:27.837+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Unix</category><title>PFSense: Basic Installation Tutorial for Dummies Like Me :-)</title><description>&lt;div&gt;&lt;p&gt;Taken from &lt;a href="http://www.pfsense.org/"&gt;PFSense website&lt;/a&gt; :-)&lt;/p&gt;&lt;p&gt;Welcome to the home page of the pfSense project! &lt;/p&gt;&lt;p&gt;pfSense is a free, open source customized distribution of &lt;a href="http://www.freebsd.org/"&gt;FreeBSD&lt;/a&gt; tailored for use as a firewall and router. In addition to being a powerful, flexible firewalling and routing platform, it includes a long list of related features and a package system allowing further expandability without adding bloat and potential security vulnerabilities to the base distribution. pfSense is a popular project with more than 1 million downloads since its inception, and proven in countless installations ranging from small home networks protecting a PC and an Xbox to large corporations, universities and other organizations protecting thousands of network devices.  &lt;/p&gt;&lt;p&gt;This project started in 2004 as a fork of the &lt;a href="http://m0n0.ch/wall/"&gt;m0n0wall&lt;/a&gt; project, but focused towards full PC installations rather than the embedded hardware focus of m0n0wall. pfSense also offers an embedded image for Compact Flash based installations, however it is not our primary focus. &lt;/p&gt;&lt;p&gt;Click &lt;a href="http://www.pfsense.org/index.php?option=com_content&amp;amp;task=view&amp;amp;id=40&amp;amp;Itemid=43"&gt;here&lt;/a&gt; for details &lt;/p&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This simple tutorial is based on my experience. This software is awesome with a lot of features in it. The main reason I'm installing this software is for creating a Squid proxy server. Since this software have a lot of add-on so why not I'm trying to install it. Actually, I had installed this PFSense in my SUN VirtualBox. On the moment I'm posting this post, I'm using the latest PFSense version 1.2.2. To download the software click &lt;a href="http://www.pfsense.org/mirror.php?section=downloads"&gt;here&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;Configure Console &gt; Choose "Change Video Font (Default)"&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_qKr__VddgVg/SeXKB18lcbI/AAAAAAAAAeo/I0N-rt0aZg4/s1600-h/1.1.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 178px;" src="http://4.bp.blogspot.com/_qKr__VddgVg/SeXKB18lcbI/AAAAAAAAAeo/I0N-rt0aZg4/s320/1.1.PNG" alt="" id="BLOGGER_PHOTO_ID_5324884267445350834" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: center;"&gt;Select Task &gt; Choose "Install pfSense"&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_qKr__VddgVg/SeXJxyw14pI/AAAAAAAAAeg/PwPSi8JcNPA/s1600-h/2.1.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 178px;" src="http://4.bp.blogspot.com/_qKr__VddgVg/SeXJxyw14pI/AAAAAAAAAeg/PwPSi8JcNPA/s320/2.1.PNG" alt="" id="BLOGGER_PHOTO_ID_5324883991712883346" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: center;"&gt;Select Disk &gt; Select your desired disk, default is "ad0"&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_qKr__VddgVg/SeXJx_9LTUI/AAAAAAAAAeY/UmU5iYvxzvg/s1600-h/3.1.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 178px;" src="http://2.bp.blogspot.com/_qKr__VddgVg/SeXJx_9LTUI/AAAAAAAAAeY/UmU5iYvxzvg/s320/3.1.PNG" alt="" id="BLOGGER_PHOTO_ID_5324883995254279490" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: center;"&gt;Select Geometry &gt; I didn't change anything here, just proceed with the default, "choose Use this Geometry"&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_qKr__VddgVg/SeXJxqIgKII/AAAAAAAAAeQ/749G9alGHM8/s1600-h/4.1.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 178px;" src="http://2.bp.blogspot.com/_qKr__VddgVg/SeXJxqIgKII/AAAAAAAAAeQ/749G9alGHM8/s320/4.1.PNG" alt="" id="BLOGGER_PHOTO_ID_5324883989396203650" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;ABOUT TO FORMAT! Proceed? &gt; Verified it first and then "choose Format ad0"&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_qKr__VddgVg/SeXJxaee-cI/AAAAAAAAAeA/d9MOS1yZkyQ/s1600-h/6.1.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 177px;" src="http://3.bp.blogspot.com/_qKr__VddgVg/SeXJxaee-cI/AAAAAAAAAeA/d9MOS1yZkyQ/s320/6.1.PNG" alt="" id="BLOGGER_PHOTO_ID_5324883985193433538" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: center;"&gt;Partition Disk? &gt; Read this first and choose Partition Disk if you satisfied :)&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_qKr__VddgVg/SeXJX75JX8I/AAAAAAAAAd4/MS81ycdRrWg/s1600-h/7.1.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 178px;" src="http://4.bp.blogspot.com/_qKr__VddgVg/SeXJX75JX8I/AAAAAAAAAd4/MS81ycdRrWg/s320/7.1.PNG" alt="" id="BLOGGER_PHOTO_ID_5324883547487035330" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: center;"&gt;Edit Partitions &gt; I'm using this default and choose Accept and Create&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_qKr__VddgVg/SeXJXlF7mzI/AAAAAAAAAdw/qcZ1uvlQPD8/s1600-h/8.1.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 178px;" src="http://1.bp.blogspot.com/_qKr__VddgVg/SeXJXlF7mzI/AAAAAAAAAdw/qcZ1uvlQPD8/s320/8.1.PNG" alt="" id="BLOGGER_PHOTO_ID_5324883541366643506" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: center;"&gt;Partitions Anyway? &gt; "Choose Yes, partition ad0"&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_qKr__VddgVg/SeXJXsxP7-I/AAAAAAAAAdo/0CCaX4IKAFA/s1600-h/9.1.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 178px;" src="http://1.bp.blogspot.com/_qKr__VddgVg/SeXJXsxP7-I/AAAAAAAAAdo/0CCaX4IKAFA/s320/9.1.PNG" alt="" id="BLOGGER_PHOTO_ID_5324883543427379170" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: center;"&gt;Information &gt; The disk was successfully partitioned, ahaaaa OK&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_qKr__VddgVg/SeXJVxbBglI/AAAAAAAAAdg/IF9dLRFZKCI/s1600-h/10.1.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 177px;" src="http://4.bp.blogspot.com/_qKr__VddgVg/SeXJVxbBglI/AAAAAAAAAdg/IF9dLRFZKCI/s320/10.1.PNG" alt="" id="BLOGGER_PHOTO_ID_5324883510316597842" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: center;"&gt;Select Partition &gt; Select the primary partition, I choose 1:blablabla ;)&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_qKr__VddgVg/SeXJU6yG4LI/AAAAAAAAAdY/JumubLUY9gg/s1600-h/11.1.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 177px;" src="http://1.bp.blogspot.com/_qKr__VddgVg/SeXJU6yG4LI/AAAAAAAAAdY/JumubLUY9gg/s320/11.1.PNG" alt="" id="BLOGGER_PHOTO_ID_5324883495649468594" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: center;"&gt;Are you SURE? Choose OK if you dare to format your disk&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_qKr__VddgVg/SeXI6Odw9pI/AAAAAAAAAdQ/pdqm726GnP4/s1600-h/12.1.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 178px;" src="http://4.bp.blogspot.com/_qKr__VddgVg/SeXI6Odw9pI/AAAAAAAAAdQ/pdqm726GnP4/s320/12.1.PNG" alt="" id="BLOGGER_PHOTO_ID_5324883037076387474" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: center;"&gt;Information &gt; Primary partition #1 was formatted. &lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_qKr__VddgVg/SeXI5zc6NOI/AAAAAAAAAdI/6YLCX66N05U/s1600-h/13.1.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 178px;" src="http://1.bp.blogspot.com/_qKr__VddgVg/SeXI5zc6NOI/AAAAAAAAAdI/6YLCX66N05U/s320/13.1.PNG" alt="" id="BLOGGER_PHOTO_ID_5324883029825041634" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: center;"&gt;Select Subpartitions &gt; I'm just selecting the default as below. Choose Accept and Create&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_qKr__VddgVg/SeXI5mh_EsI/AAAAAAAAAdA/6lgoMI768qE/s1600-h/14.1.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 177px;" src="http://1.bp.blogspot.com/_qKr__VddgVg/SeXI5mh_EsI/AAAAAAAAAdA/6lgoMI768qE/s320/14.1.PNG" alt="" id="BLOGGER_PHOTO_ID_5324883026356671170" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: center;"&gt;Executing Commands &lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_qKr__VddgVg/SeXI5s7lhpI/AAAAAAAAAc4/ZbKCY25jvy0/s1600-h/15.1.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 178px;" src="http://3.bp.blogspot.com/_qKr__VddgVg/SeXI5s7lhpI/AAAAAAAAAc4/ZbKCY25jvy0/s320/15.1.PNG" alt="" id="BLOGGER_PHOTO_ID_5324883028074661522" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: center;"&gt;Install Kernel &gt; Choose Uniprocessor kernel (one processor) if your system has only one processor. But, if you installed it on server maybe you should choose Symmetric multi processing blablabla&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_qKr__VddgVg/SeXI5cS4TYI/AAAAAAAAAcw/9bIiKXWXnJU/s1600-h/16.1.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 177px;" src="http://1.bp.blogspot.com/_qKr__VddgVg/SeXI5cS4TYI/AAAAAAAAAcw/9bIiKXWXnJU/s320/16.1.PNG" alt="" id="BLOGGER_PHOTO_ID_5324883023608958338" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: center;"&gt;Cancelled? What the heck? I dont know why this happen but I Retry it and it works!!! Yeaa!&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_qKr__VddgVg/SeXIeqtsCKI/AAAAAAAAAco/oAoQfN_lteU/s1600-h/17.1.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 178px;" src="http://2.bp.blogspot.com/_qKr__VddgVg/SeXIeqtsCKI/AAAAAAAAAco/oAoQfN_lteU/s320/17.1.PNG" alt="" id="BLOGGER_PHOTO_ID_5324882563623028898" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: center;"&gt;Install Bootblocks &gt; I don't want headache so, I just keep the default and choose Accept and Install Bootblocks &lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_qKr__VddgVg/SeXIecnV5ZI/AAAAAAAAAcg/P2jZte6cAAU/s1600-h/18.1.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 178px;" src="http://2.bp.blogspot.com/_qKr__VddgVg/SeXIecnV5ZI/AAAAAAAAAcg/P2jZte6cAAU/s320/18.1.PNG" alt="" id="BLOGGER_PHOTO_ID_5324882559838315922" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: center;"&gt;Information &gt; Bootblocks were successfully installed&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_qKr__VddgVg/SeXIeWnPQRI/AAAAAAAAAcY/Ixx_AJcmj9g/s1600-h/19.1.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 177px;" src="http://4.bp.blogspot.com/_qKr__VddgVg/SeXIeWnPQRI/AAAAAAAAAcY/Ixx_AJcmj9g/s320/19.1.PNG" alt="" id="BLOGGER_PHOTO_ID_5324882558227267858" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: center;"&gt;Reboot &gt; Choose Reboot&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_qKr__VddgVg/SeXIeHZamaI/AAAAAAAAAcQ/QL7ymxrg4Ns/s1600-h/20.1.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 178px;" src="http://2.bp.blogspot.com/_qKr__VddgVg/SeXIeHZamaI/AAAAAAAAAcQ/QL7ymxrg4Ns/s320/20.1.PNG" alt="" id="BLOGGER_PHOTO_ID_5324882554142759330" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: center;"&gt;Reboot, bip! bip! will hear the bip bip sound&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_qKr__VddgVg/SeXIeIVA2AI/AAAAAAAAAcI/SVvCO7cozMA/s1600-h/21.1.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 178px;" src="http://4.bp.blogspot.com/_qKr__VddgVg/SeXIeIVA2AI/AAAAAAAAAcI/SVvCO7cozMA/s320/21.1.PNG" alt="" id="BLOGGER_PHOTO_ID_5324882554392729602" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: center;"&gt;Open up the web browser FireFox or IE. Enter the default PFSense IP Address, 192.168.1.1, Username: admin and Password: pfsense to get to the page as below&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_qKr__VddgVg/SeXH2ya9LWI/AAAAAAAAAcA/K7_NmqqaFAs/s1600-h/22.1.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 147px;" src="http://4.bp.blogspot.com/_qKr__VddgVg/SeXH2ya9LWI/AAAAAAAAAcA/K7_NmqqaFAs/s320/22.1.PNG" alt="" id="BLOGGER_PHOTO_ID_5324881878497176930" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: center;"&gt;General Information &lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_qKr__VddgVg/SeXH2kamEpI/AAAAAAAAAb4/P1rl5ub8aas/s1600-h/23.1.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 193px;" src="http://4.bp.blogspot.com/_qKr__VddgVg/SeXH2kamEpI/AAAAAAAAAb4/P1rl5ub8aas/s320/23.1.PNG" alt="" id="BLOGGER_PHOTO_ID_5324881874737566354" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: center;"&gt;Time Server Information &lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_qKr__VddgVg/SeXH2tYT0NI/AAAAAAAAAbw/D9NebPihMYg/s1600-h/24.1.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 154px;" src="http://1.bp.blogspot.com/_qKr__VddgVg/SeXH2tYT0NI/AAAAAAAAAbw/D9NebPihMYg/s320/24.1.PNG" alt="" id="BLOGGER_PHOTO_ID_5324881877143900370" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: center;"&gt;Time Server Information, choose Timezone&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_qKr__VddgVg/SeXH2R1qWOI/AAAAAAAAAbo/OCkcrIqcZqs/s1600-h/25.1.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 291px;" src="http://3.bp.blogspot.com/_qKr__VddgVg/SeXH2R1qWOI/AAAAAAAAAbo/OCkcrIqcZqs/s320/25.1.PNG" alt="" id="BLOGGER_PHOTO_ID_5324881869750819042" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: center;"&gt;Configure WAN interface, I'm using DHCP at first. &lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_qKr__VddgVg/SeXH2CmhFWI/AAAAAAAAAbg/qloQ7c69HPE/s1600-h/26.1.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 280px;" src="http://1.bp.blogspot.com/_qKr__VddgVg/SeXH2CmhFWI/AAAAAAAAAbg/qloQ7c69HPE/s320/26.1.PNG" alt="" id="BLOGGER_PHOTO_ID_5324881865660765538" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: center;"&gt;Contd..&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_qKr__VddgVg/SeXG10P7OvI/AAAAAAAAAbY/Mmx4BE7qit0/s1600-h/27.1.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 281px;" src="http://2.bp.blogspot.com/_qKr__VddgVg/SeXG10P7OvI/AAAAAAAAAbY/Mmx4BE7qit0/s320/27.1.PNG" alt="" id="BLOGGER_PHOTO_ID_5324880762296285938" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: center;"&gt;Configure LAN Interface &lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_qKr__VddgVg/SeXG1y-sMsI/AAAAAAAAAbQ/tcA6yWIDzDc/s1600-h/28.1.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 154px;" src="http://3.bp.blogspot.com/_qKr__VddgVg/SeXG1y-sMsI/AAAAAAAAAbQ/tcA6yWIDzDc/s320/28.1.PNG" alt="" id="BLOGGER_PHOTO_ID_5324880761955562178" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: center;"&gt;Set Admin WebGUI Password&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_qKr__VddgVg/SeXG1qM7_mI/AAAAAAAAAbI/twaTDxGePnU/s1600-h/29.1.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 160px;" src="http://1.bp.blogspot.com/_qKr__VddgVg/SeXG1qM7_mI/AAAAAAAAAbI/twaTDxGePnU/s320/29.1.PNG" alt="" id="BLOGGER_PHOTO_ID_5324880759599398498" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: center;"&gt;Reload, click Reload button&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_qKr__VddgVg/SeXG1reuylI/AAAAAAAAAbA/eyecmCNmdlY/s1600-h/30.1.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 118px;" src="http://4.bp.blogspot.com/_qKr__VddgVg/SeXG1reuylI/AAAAAAAAAbA/eyecmCNmdlY/s320/30.1.PNG" alt="" id="BLOGGER_PHOTO_ID_5324880759942466130" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="text-align: center;"&gt;A reload is now in progress. Please wait but if unpatient click on PFSense icon :-P&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_qKr__VddgVg/SeXG1f_ECwI/AAAAAAAAAa4/Ks33z_9fngU/s1600-h/31.1.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 130px;" src="http://1.bp.blogspot.com/_qKr__VddgVg/SeXG1f_ECwI/AAAAAAAAAa4/Ks33z_9fngU/s320/31.1.PNG" alt="" id="BLOGGER_PHOTO_ID_5324880756856851202" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;System Overview page &lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_qKr__VddgVg/SeXa2bP1OqI/AAAAAAAAAew/HRRPLry4foE/s1600-h/32.1.PNG"&gt;&lt;img src="http://2.bp.blogspot.com/_qKr__VddgVg/SeXa2bP1OqI/AAAAAAAAAew/HRRPLry4foE/s320/32.1.PNG" alt="" id="BLOGGER_PHOTO_ID_5324902762997430946" style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 223px;" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/50829296064695022-8096251472935078902?l=shahpunyerblog.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Imshahmemyselfandi/~4/xzsjEYP2640" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/Imshahmemyselfandi/~3/xzsjEYP2640/blog-post_15.html</link><author>noreply@blogger.com (imshahmemyselfandi)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_qKr__VddgVg/SeXKB18lcbI/AAAAAAAAAeo/I0N-rt0aZg4/s72-c/1.1.PNG" height="72" width="72" /><thr:total>2</thr:total><feedburner:origLink>http://shahpunyerblog.blogspot.com/2009/04/blog-post_15.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-50829296064695022.post-509572884457006961</guid><pubDate>Thu, 21 Aug 2008 11:12:00 +0000</pubDate><atom:updated>2008-08-21T20:38:57.468+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Linux</category><title>Installing Firewall on Ubuntu using Lokkit</title><description>&lt;div&gt;I have searching on the Internet how to setup a my Ubuntu (8.04) machine as a firewall and I finally found a step that I need to do. &lt;a href="http://articles.techrepublic.com.com/5100-10878_11-1055096.html"&gt;Lokkit&lt;/a&gt;, yeah this is the firewall that I think suitable. What I need to do is to download it first to my Ubuntu machine, install and configure it as I need.  &lt;/div&gt;&lt;br /&gt;&lt;div&gt; &lt;/div&gt;rootubuntu@myubuntu-vbox:~$ &lt;span style="font-weight: bold; color: rgb(51, 102, 255);"&gt;sudo apt-get install lokkit&lt;/span&gt; &lt;span style="font-weight: bold;"&gt;&lt;---- type this command&lt;/span&gt;&lt;br /&gt;[sudo] password for rootubuntu: &lt;span style="font-style: italic; font-weight: bold; color: rgb(51, 102, 255);"&gt;type the root password&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;, after that the below details will be displayed during the installation. (see below)&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;Reading package lists... Done&lt;br /&gt;Building dependency tree   &lt;br /&gt;Reading state information... Done&lt;br /&gt;Suggested packages:&lt;br /&gt;ipmasq&lt;br /&gt;Recommended packages:&lt;br /&gt;gnome-lokkit&lt;br /&gt;The following NEW packages will be installed:&lt;br /&gt;lokkit&lt;br /&gt;0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.&lt;br /&gt;Need to get 128kB of archives.&lt;br /&gt;After this operation, 811kB of additional disk space will be used.&lt;br /&gt;Get:1 http://my.archive.ubuntu.com hardy/universe lokkit 0.50.22-7.1ubuntu2 [128kB]&lt;br /&gt;Fetched 128kB in 6s (20.6kB/s)                                             &lt;br /&gt;Selecting previously deselected package lokkit.&lt;br /&gt;(Reading database ... 138076 files and directories currently installed.)&lt;br /&gt;Unpacking lokkit (from .../lokkit_0.50.22-7.1ubuntu2_i386.deb) ...&lt;br /&gt;Setting up lokkit (0.50.22-7.1ubuntu2) ...&lt;br /&gt;You must use lokkit or gnome-lokkit to configure the firewall. -&lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;end of installation-&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After installation of Lokkit is finished enter below command to run Lokkit&lt;br /&gt;rootubuntu@myubuntu-vbox:~$ &lt;span style="font-weight: bold; color: rgb(51, 102, 255);"&gt;lokkit &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;---- type this command&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;ERROR - You must be root to run lokkit.&lt;/span&gt; &lt;span style="font-weight: bold;"&gt;&lt;span style="font-style: italic;"&gt;why I got this message? because I'm not run it as a root. use &lt;/span&gt;sudo &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;rootubuntu@myubuntu-vbox:~$ whoami&lt;br /&gt;rootubuntu&lt;br /&gt;rootubuntu@myubuntu-vbox:~$ &lt;span style="font-weight: bold; color: rgb(51, 102, 255);"&gt;sudo lokkit&lt;/span&gt;&lt;br /&gt;[sudo] password for rootubuntu: &lt;span style="font-style: italic; font-weight: bold; color: rgb(51, 102, 255);"&gt;type the root password&lt;/span&gt;, then the Lokkit window will be pop-up as below.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_qKr__VddgVg/SK1WJr_wxAI/AAAAAAAAAHM/dCWl8qj5IYk/s1600-h/lokkit1.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_qKr__VddgVg/SK1WJr_wxAI/AAAAAAAAAHM/dCWl8qj5IYk/s320/lokkit1.png" alt="" id="BLOGGER_PHOTO_ID_5236936666130727938" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/50829296064695022-509572884457006961?l=shahpunyerblog.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Imshahmemyselfandi/~4/XQZ1Vz2B2xg" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/Imshahmemyselfandi/~3/XQZ1Vz2B2xg/installing-firewall-on-ubuntu-804.html</link><author>noreply@blogger.com (imshahmemyselfandi)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_qKr__VddgVg/SK1WJr_wxAI/AAAAAAAAAHM/dCWl8qj5IYk/s72-c/lokkit1.png" height="72" width="72" /><thr:total>2</thr:total><feedburner:origLink>http://shahpunyerblog.blogspot.com/2008/08/installing-firewall-on-ubuntu-804.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-50829296064695022.post-925353518423310127</guid><pubDate>Tue, 08 Jul 2008 12:32:00 +0000</pubDate><atom:updated>2008-07-09T22:26:49.522+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Veritas Cluster Server</category><category domain="http://www.blogger.com/atom/ns#">Clustering</category><category domain="http://www.blogger.com/atom/ns#">Unix</category><category domain="http://www.blogger.com/atom/ns#">High-Availability</category><title>Managing Veritas Cluster Server using command line</title><description>&lt;span style="font-family: verdana;font-family:georgia;" &gt;Instead of using GUI (graphical user interface) to managing the VCS, user can also use command line too. As I am new to VCS, there is a few command that I know to monitor the status of VCS and switching the server services to another server.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To run the VCS&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: verdana;font-family:georgia;" &gt;[root@MY-BEDB01]#&lt;/span&gt;&lt;span style="font-family: verdana;"&gt;hagui&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;font-family:georgia;" &gt;&lt;br /&gt;&lt;br /&gt;To check the status of VCS&lt;br /&gt;[root@MY-BEDB01]#hastatus -sum&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To check GAB (Global Atomic Broadcast) status&lt;br /&gt;[root@MY-BEDB01]# gabconfig -a&lt;br /&gt;GAB Port Memberships&lt;br /&gt;===============================================================&lt;br /&gt;Port a gen   625e07 membership 012&lt;br /&gt;Port d gen   625e08 membership 01&lt;br /&gt;Port d gen   625e08    visible ; 2&lt;br /&gt;Port h gen   625e0a membership 012&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To check LLT (Low Latency Transport) connection&lt;br /&gt;[root@MY-BEDB01]# lltstat -vvn&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/50829296064695022-925353518423310127?l=shahpunyerblog.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Imshahmemyselfandi/~4/slV7E_ffAEg" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/Imshahmemyselfandi/~3/slV7E_ffAEg/instead-of-using-gui-graphical-user.html</link><author>noreply@blogger.com (imshahmemyselfandi)</author><thr:total>0</thr:total><feedburner:origLink>http://shahpunyerblog.blogspot.com/2008/07/instead-of-using-gui-graphical-user.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-50829296064695022.post-7714923626902205650</guid><pubDate>Tue, 08 Jul 2008 11:17:00 +0000</pubDate><atom:updated>2008-12-10T05:20:24.651+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Veritas Cluster Server</category><category domain="http://www.blogger.com/atom/ns#">Clustering</category><category domain="http://www.blogger.com/atom/ns#">Unix</category><category domain="http://www.blogger.com/atom/ns#">High-Availability</category><title>Managing Veritas Cluster Server in Unix</title><description>I was be given a task and responsibility to  handling a Veritas Cluster Server (VCS) at my site office. Honestly, I didn't know what is VCS. I have heard it name before and I really don't care what it is. After this time come, I'm doing a reseacrh to know &lt;a href="http://en.wikipedia.org/wiki/Veritas_Cluster_Server"&gt;what is VCS&lt;/a&gt;. It is about High-Availability clustering and (also known as HA). From my simple understand, VCS providing the availability of application to run without any problem as it is mirroring or duplicating what server A has to server B and this help a lot to reduce and avoid downtime. If I'm wrong, please guide me. :-) This is what i have done to managing the VCS.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1) Login to my Solaris 9 server using X-Manager Software&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_qKr__VddgVg/SHNRHLopalI/AAAAAAAAAFA/ZHwiRy-epPM/s1600-h/1.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_qKr__VddgVg/SHNRHLopalI/AAAAAAAAAFA/ZHwiRy-epPM/s320/1.PNG" alt="" id="BLOGGER_PHOTO_ID_5220605576876747346" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2) To run the VCS, type #hagui&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_qKr__VddgVg/SHNRQSq24rI/AAAAAAAAAFI/vJztYbRdmT4/s1600-h/2.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_qKr__VddgVg/SHNRQSq24rI/AAAAAAAAAFI/vJztYbRdmT4/s320/2.PNG" alt="" id="BLOGGER_PHOTO_ID_5220605733383889586" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3)  Veritas Cluster Server windows will be displayed&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_qKr__VddgVg/SHNRUdKCpVI/AAAAAAAAAFQ/qkZiWR2ohCA/s1600-h/3.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_qKr__VddgVg/SHNRUdKCpVI/AAAAAAAAAFQ/qkZiWR2ohCA/s320/3.PNG" alt="" id="BLOGGER_PHOTO_ID_5220605804918515026" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;4) Enter the username and password for VCS.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_qKr__VddgVg/SHNRexZuhBI/AAAAAAAAAFY/4pisMbQKvMw/s1600-h/4.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_qKr__VddgVg/SHNRexZuhBI/AAAAAAAAAFY/4pisMbQKvMw/s320/4.PNG" alt="" id="BLOGGER_PHOTO_ID_5220605982151705618" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;5)  VCS  is  in progress to be shown&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_qKr__VddgVg/SHNRUdKCpVI/AAAAAAAAAFQ/qkZiWR2ohCA/s1600-h/3.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_qKr__VddgVg/SHNRUdKCpVI/AAAAAAAAAFQ/qkZiWR2ohCA/s320/3.PNG" alt="" id="BLOGGER_PHOTO_ID_5220605804918515026" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;6) Successfully login into the VCS interface.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_qKr__VddgVg/SHNR7Cg-vDI/AAAAAAAAAFo/gFW39VVB-dE/s1600-h/6.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_qKr__VddgVg/SHNR7Cg-vDI/AAAAAAAAAFo/gFW39VVB-dE/s320/6.PNG" alt="" id="BLOGGER_PHOTO_ID_5220606467781868594" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;7)  Displaying the AppService that is listed in  Application Server&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_qKr__VddgVg/SHNSGq4A_qI/AAAAAAAAAFw/XSyWgkIiSL4/s1600-h/7.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_qKr__VddgVg/SHNSGq4A_qI/AAAAAAAAAFw/XSyWgkIiSL4/s320/7.PNG" alt="" id="BLOGGER_PHOTO_ID_5220606667594464930" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;8)  Displaying the OracleService that is listed in  Application Server&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_qKr__VddgVg/SHNSN-KVyFI/AAAAAAAAAF4/zauyavUe-N0/s1600-h/8.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_qKr__VddgVg/SHNSN-KVyFI/AAAAAAAAAF4/zauyavUe-N0/s320/8.PNG" alt="" id="BLOGGER_PHOTO_ID_5220606793030682706" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;9) Switching the AppService from Application server to Fail Over server. To do this, right click on the AppService &gt; click Switch To menu &gt; click on the desired Fail Over server.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_qKr__VddgVg/SHNSYeD4zBI/AAAAAAAAAGA/2oY0h2S7-8o/s1600-h/9.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_qKr__VddgVg/SHNSYeD4zBI/AAAAAAAAAGA/2oY0h2S7-8o/s320/9.PNG" alt="" id="BLOGGER_PHOTO_ID_5220606973392243730" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;10) User will be prompted to proceed switch the AppServer to the Fail Over server.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_qKr__VddgVg/SHNSiFYqMBI/AAAAAAAAAGI/RATICf3qluQ/s1600-h/10.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_qKr__VddgVg/SHNSiFYqMBI/AAAAAAAAAGI/RATICf3qluQ/s320/10.PNG" alt="" id="BLOGGER_PHOTO_ID_5220607138567172114" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;11) After AppServer is switching to the Fail Over server, VCS will show that the Application Server state is &lt;span style="font-weight: bold; color: rgb(255, 255, 0);"&gt;Partial Online. &lt;/span&gt;&lt;span style="color: rgb(255, 255, 0);"&gt; &lt;span style="color: rgb(0, 0, 0);"&gt;It is normal when the switching process is in progress.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(255, 255, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 255, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_qKr__VddgVg/SHNSngpBmHI/AAAAAAAAAGQ/6oCnjqciFtI/s1600-h/11.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_qKr__VddgVg/SHNSngpBmHI/AAAAAAAAAGQ/6oCnjqciFtI/s320/11.PNG" alt="" id="BLOGGER_PHOTO_ID_5220607231782918258" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;12) To check the status of the switching process by using a command line, type #hastatus -sum in the console and the below result will be displayed. It will show that AppService at befo01 (stands for Fail Over server) is in STARTING|PARTIAL state. It means that the AppService is in process to start running in Fail Over server.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_qKr__VddgVg/SHNSxvPDjWI/AAAAAAAAAGY/UJROXbHNAUE/s1600-h/12.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_qKr__VddgVg/SHNSxvPDjWI/AAAAAAAAAGY/UJROXbHNAUE/s320/12.PNG" alt="" id="BLOGGER_PHOTO_ID_5220607407499218274" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;13) Finally, the AppService is running at the Fail Over server. See at the &lt;span style="color: rgb(51, 51, 255); font-weight: bold;"&gt;Group Status On Member System. &lt;/span&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;befo01 is in &lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;Online&lt;/span&gt; state. Now, AppService is running at the Fail Over server.&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_qKr__VddgVg/SHNS3b9zveI/AAAAAAAAAGg/JCRLlL8r6DQ/s1600-h/13.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_qKr__VddgVg/SHNS3b9zveI/AAAAAAAAAGg/JCRLlL8r6DQ/s320/13.PNG" alt="" id="BLOGGER_PHOTO_ID_5220607505405820386" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;14) To check the status of the switching process by using a command line, type #hastatus -sum in the console and the below result will be displayed.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_qKr__VddgVg/SHNS9LdTbHI/AAAAAAAAAGo/YerYtVi3fCk/s1600-h/14.PNG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_qKr__VddgVg/SHNS9LdTbHI/AAAAAAAAAGo/YerYtVi3fCk/s320/14.PNG" alt="" id="BLOGGER_PHOTO_ID_5220607604053732466" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/50829296064695022-7714923626902205650?l=shahpunyerblog.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Imshahmemyselfandi/~4/NPkYo6INQCA" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/Imshahmemyselfandi/~3/NPkYo6INQCA/managing-veritas-cluster-server-in-unix.html</link><author>noreply@blogger.com (imshahmemyselfandi)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_qKr__VddgVg/SHNRHLopalI/AAAAAAAAAFA/ZHwiRy-epPM/s72-c/1.PNG" height="72" width="72" /><thr:total>5</thr:total><feedburner:origLink>http://shahpunyerblog.blogspot.com/2008/07/managing-veritas-cluster-server-in-unix.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-50829296064695022.post-7773943969028172315</guid><pubDate>Sun, 07 Oct 2007 02:45:00 +0000</pubDate><atom:updated>2008-07-09T22:26:20.618+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Linux</category><title>XAMPP: Error 1! Couldn't start Apache!</title><description>Oppsss, I got this error message when I tried to edit the SSL certificate in XAMPP on my application server. Honestly, it makes me panic! Know what, I can't running the Apache services. When I tried to run the command it shows an error like this&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;[root@pknp ~]# /opt/lampp/lampp start&lt;br /&gt;Starting XAMPP for Linux 1.5.3a...&lt;br /&gt;XAMPP: Starting Apache with SSL (and PHP5)...&lt;br /&gt;&lt;span&gt;&lt;span style="color:#ff0000;"&gt;XAMPP: Error 1! Couldn't start Apache!&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;XAMPP: Starting diagnose...&lt;br /&gt;XAMPP: Sorry, I've no idea what's going wrong.&lt;br /&gt;XAMPP: Please contact our forum http://www.apachefriends.org/f/&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;I'm searching on the Internet and exactly I've found it from XAMPP website. It said that I need to type the below command:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;[root@mybox ~]#tail -2 /opt/lampp/logs/error_log &lt;/strong&gt;and then it  shows what is the type of error&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;[root@pknp ~]# tail -2 /opt/lampp/logs/error_log&lt;br /&gt;[Sun Oct 07 10:11:52 2007] [error] Unable to configure RSA server private key&lt;br /&gt;[Sun Oct 07 10:11:52 2007] [error] SSL Library Error: 185073780 error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;As I expect earlier, it is caused by the SSL editing. I didn't know how this thing happen. &lt;br /&gt;Maybe there is some misconfigration or the XAMPP version compatibility. When i write this post, I'm using XAMPP for Linux 1.5.3a&lt;strong&gt; &lt;/strong&gt;while the new version is available, XAMPP Linux 1.6.3b. After a few attempt to start the Apache in XAMPP is fail, I was thinking how stupid am I not backup the original certificates files. Now the things come worst. But, I was thinking, Hey, I've got another server (database) that also using XAMPP. Why not I copy that certificate file in that server and replace it back to the original state of my application server.&lt;br /&gt;Fortunately, I still didn't make any configuration to that database server. So, I just copy the files (&lt;strong&gt;server.crt &lt;/strong&gt;and &lt;strong&gt;server.key&lt;/strong&gt;) and replace it to on my application server. &lt;br /&gt;The I tried to restart the XAMPP back and YESSS!!!! It back on track again. So, the moral is, please &lt;strong&gt;BACKUP&lt;/strong&gt; your original file first before you are going to edit it. &lt;br /&gt;If not, then it will become a nightmare for you. :-P &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/50829296064695022-7773943969028172315?l=shahpunyerblog.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Imshahmemyselfandi/~4/XeqLSTU0AQY" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/Imshahmemyselfandi/~3/XeqLSTU0AQY/xampp-error-1-couldnt-start-apache.html</link><author>noreply@blogger.com (imshahmemyselfandi)</author><thr:total>0</thr:total><feedburner:origLink>http://shahpunyerblog.blogspot.com/2007/10/xampp-error-1-couldnt-start-apache.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-50829296064695022.post-8038949113530027793</guid><pubDate>Fri, 05 Oct 2007 03:54:00 +0000</pubDate><atom:updated>2008-07-09T22:26:20.618+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Linux</category><title>Create A Self-signed SSL Certificate in XAMPP</title><description>I have added a plugins for my webmail (Squirrelmail). &lt;br /&gt;It is Secure Login plugins. &lt;br /&gt;This plugins enables a secure HTTPS/SSL-encrypted connection&lt;br /&gt;for my SquirrelMail login page. So, it can secure my email access. &lt;br /&gt;As I'm using Apache in XAMPP, the generated SSL certificate are using the default setting.&lt;br /&gt;When I view the certificate, it show's a default XAMPP Apache setting like below :&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Issued To&lt;/strong&gt;&lt;br /&gt;Common Name (CN)           localhost&lt;br /&gt;Organization (O)               Apache Friends&lt;br /&gt;Organization Unit (OU)      &lt;not&gt;&lt;br /&gt;Serial Number                   00&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Issued By&lt;br /&gt;&lt;/strong&gt;Common Name (CN)           localhost&lt;br /&gt;Organization (O)               Apache Friends&lt;br /&gt;Organization Unit (OU)     &lt;not&gt;&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;So, to create my own self-signed SSL certificate, I need to edit the certain file make a few tuning. So that, the certificate will be no longer using a default XAMPP setting.&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;1. &lt;/strong&gt;Open a terminal/console at local or do it remotely through SSH access&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2. &lt;/strong&gt;The first thing that need to do is, create a RSA Private Key by using the below command.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;[root@mybox ~]#&lt;/strong&gt;&lt;strong&gt;openssl genrsa -des3 -out server.key 1024&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Generating RSA private key, 1024 bit long modulus&lt;br /&gt;.........................................................++++++&lt;br /&gt;........++++++&lt;br /&gt;e is 65537 (0x10001)&lt;br /&gt;Enter PEM pass phrase: &lt;i&gt;enter the desired pass phrase&lt;/i&gt;&lt;br /&gt;Verifying password - Enter PEM pass phrase: &lt;i&gt;same as a above&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/i&gt;&lt;i&gt;&lt;strong&gt;3. &lt;/strong&gt;&lt;/i&gt;&lt;not&gt;&lt;not&gt;The next step is to create a Certificate Signing Request (CSR). CSR  is a message sent from an applicant to a certificate authority in order to apply for a digital identity certificate. User  will be prompt to enter an information that related to CSR certificate. To create a CSR, enter the below command.&lt;br /&gt;&lt;/not&gt;&lt;not&gt;&lt;not&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/not&gt;&lt;not&gt;&lt;not&gt;&lt;strong&gt;[root@mybox ~]#openssl req -new -key server.key -out server.csr&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/not&gt;&lt;not&gt;&lt;not&gt;Country Name (2 letter code) [GB]:&lt;/not&gt;&lt;/not&gt;&lt;strong&gt;&lt;not&gt;&lt;not&gt;&lt;i&gt;type your 2 letter country code&lt;/i&gt;&lt;/not&gt;&lt;/not&gt;&lt;/strong&gt;&lt;not&gt;&lt;not&gt;&lt;br /&gt;State or Province Name (full name) [Berkshire]:&lt;/not&gt;&lt;/not&gt;&lt;strong&gt;&lt;not&gt;&lt;not&gt;&lt;i&gt;type your state or province name&lt;/i&gt;&lt;/not&gt;&lt;/not&gt;&lt;/strong&gt;&lt;not&gt;&lt;not&gt;&lt;br /&gt;Locality Name (eg, city) [Newbury]:&lt;/not&gt;&lt;/not&gt;&lt;strong&gt;&lt;not&gt;&lt;not&gt;&lt;i&gt;type your city name&lt;/i&gt;&lt;/not&gt;&lt;/not&gt;&lt;/strong&gt;&lt;not&gt;&lt;not&gt;&lt;br /&gt;Organization Name (eg, company) [My Company Ltd]:&lt;strong&gt;&lt;i&gt;type your company name&lt;/i&gt;&lt;/strong&gt;&lt;/not&gt;&lt;/not&gt;&lt;i&gt;&lt;not&gt;&lt;not&gt;&lt;br /&gt;&lt;/not&gt;&lt;/not&gt;&lt;/i&gt;&lt;not&gt;&lt;not&gt;Organizational Unit Name (eg, section) []:&lt;strong&gt;&lt;i&gt;type your department&lt;/i&gt;&lt;/strong&gt;&lt;br /&gt;Common Name (eg, your name or your server's hostname) []:&lt;strong&gt;&lt;i&gt;type your server hostname &lt;/i&gt;&lt;/strong&gt;&lt;br /&gt;Email Address []:&lt;/not&gt;&lt;/not&gt;&lt;not&gt;&lt;not&gt;&lt;strong&gt;&lt;i&gt;type your email address&lt;/i&gt;&lt;/strong&gt;&lt;/not&gt;&lt;/not&gt;&lt;not&gt;&lt;not&gt;&lt;br /&gt;Please enter the following 'extra' attributes&lt;br /&gt;to be sent with your certificate request&lt;br /&gt;A challenge password []:&lt;/not&gt;&lt;/not&gt;&lt;not&gt;&lt;not&gt;&lt;strong&gt;&lt;i&gt;type your password&lt;/i&gt;&lt;/strong&gt;&lt;/not&gt;&lt;/not&gt;&lt;not&gt;&lt;not&gt;&lt;br /&gt;An optional company name []:&lt;/not&gt;&lt;/not&gt;&lt;not&gt;&lt;not&gt;&lt;strong&gt;&lt;i&gt;type your company name&lt;/i&gt;&lt;/strong&gt;&lt;/not&gt;&lt;/not&gt;&lt;not&gt;&lt;not&gt;&lt;strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/not&gt;&lt;/not&gt;&lt;not&gt;&lt;not&gt;&lt;strong&gt;4.&lt;/strong&gt; The next step is to remove the passphrase key. It is because if you enable the passphrase, Apache will ask for the pass-phrase each time the web server is started. It will be a problem if the server is restarted as the user always need to type the passphrase. The below command will remove the passphrase.&lt;br /&gt;&lt;br /&gt;&lt;/not&gt;&lt;/not&gt;&lt;strong&gt;&lt;not&gt;&lt;not&gt;[root@mybox ~]#&lt;/not&gt;&lt;/not&gt;&lt;not&gt;&lt;not&gt;cp server.key server.key.org&lt;/not&gt;&lt;/not&gt;&lt;/strong&gt;&lt;not&gt;&lt;not&gt;&lt;br /&gt;&lt;/not&gt;&lt;/not&gt;&lt;strong&gt;&lt;not&gt;&lt;not&gt;[root@mybox ~]&lt;/not&gt;&lt;/not&gt;&lt;/strong&gt;&lt;strong&gt;&lt;not&gt;&lt;not&gt;#&lt;/not&gt;&lt;/not&gt;&lt;not&gt;&lt;not&gt;openssl rsa -in server.key.org -out server.key&lt;br /&gt;&lt;br /&gt;&lt;/not&gt;&lt;/not&gt;&lt;/strong&gt;&lt;strong&gt;&lt;not&gt;&lt;not&gt;&lt;br /&gt;&lt;/not&gt;&lt;/not&gt;&lt;/strong&gt;&lt;not&gt;&lt;not&gt;&lt;strong&gt;5.&lt;/strong&gt; To generating a Self-Signed Certificate, enter the below command. As this certificate is not verified by Certificate Authority such as Thawte or Verisign, your browser will notice an error inform you that the signing certificate authority is unknown and not trusted. Bear in mind that this is self-signed certificate. So, you should ignore that error message.&lt;br /&gt;&lt;br /&gt;&lt;/not&gt;&lt;/not&gt;&lt;strong&gt;&lt;not&gt;&lt;not&gt;[root@mybox ~]&lt;/not&gt;&lt;/not&gt;&lt;/strong&gt;&lt;strong&gt;&lt;not&gt;&lt;not&gt;#&lt;/not&gt;&lt;/not&gt;&lt;not&gt;&lt;not&gt;openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt&lt;/not&gt;&lt;/not&gt;&lt;/strong&gt;&lt;not&gt;&lt;not&gt;&lt;br /&gt;&lt;/not&gt;&lt;/not&gt;&lt;not&gt;&lt;not&gt;&lt;i&gt;&lt;br /&gt;&lt;br /&gt;&lt;/i&gt;&lt;/not&gt;&lt;not&gt;&lt;not&gt;&lt;strong&gt;6.&lt;/strong&gt; Installing the Private Key and Certificate is simple. All you need to do is to know where are your XAMPP Apache directory. I assume that, we are using the default XAMPP directory, /opt/lampp. So, copy the two below files, &lt;strong&gt;ssl.crt&lt;/strong&gt; and &lt;strong&gt;ssl.key&lt;/strong&gt; to the XAMPP directory.&lt;br /&gt;&lt;br /&gt;&lt;/not&gt;&lt;/not&gt;&lt;strong&gt;&lt;not&gt;&lt;not&gt;[root@mybox ~]&lt;/not&gt;&lt;/not&gt;&lt;/strong&gt;&lt;strong&gt;&lt;not&gt;&lt;not&gt;#cp server.crt /opt/lampp/etc/ssl.crt&lt;br /&gt;&lt;/not&gt;&lt;/not&gt;&lt;/strong&gt;&lt;strong&gt;&lt;not&gt;&lt;not&gt;[root@mybox ~]&lt;/not&gt;&lt;/not&gt;&lt;/strong&gt;&lt;strong&gt;&lt;not&gt;&lt;not&gt;#cp server.key /opt/lampp/etc/ssl.key/server.key&lt;/not&gt;&lt;/not&gt;&lt;/strong&gt;&lt;strong&gt;&lt;not&gt;&lt;not&gt;&lt;br /&gt;&lt;/not&gt;&lt;/not&gt;&lt;/strong&gt;&lt;not&gt;&lt;not&gt;&lt;br /&gt;&lt;/not&gt;&lt;/not&gt;&lt;not&gt;&lt;not&gt;When you are being asked  to overwritten the file, just type &lt;strong&gt;yes &lt;/strong&gt;&lt;/not&gt;&lt;/not&gt;&lt;not&gt;&lt;not&gt;and hit &lt;strong&gt;E&lt;/strong&gt;&lt;strong&gt;nter.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;7. &lt;/strong&gt;&lt;/not&gt;&lt;/not&gt;&lt;not&gt;&lt;not&gt;Restart Apache and test to access your site. Check the certificate and make sure the information that you have insert is correct.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;8. &lt;/strong&gt;&lt;/not&gt;&lt;/not&gt;&lt;not&gt;&lt;not&gt;Finish! Your configuration is done. Good luck :-)&lt;/not&gt;&lt;/not&gt;&lt;not&gt;&lt;not&gt;&lt;br /&gt;&lt;/not&gt;&lt;/not&gt;&lt;not&gt;&lt;not&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/not&gt;&lt;/not&gt;&lt;not&gt;&lt;not&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/not&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/50829296064695022-8038949113530027793?l=shahpunyerblog.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Imshahmemyselfandi/~4/aDSP5TRSBQI" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/Imshahmemyselfandi/~3/aDSP5TRSBQI/create-self-signed-ssl-certificate-in.html</link><author>noreply@blogger.com (imshahmemyselfandi)</author><thr:total>6</thr:total><feedburner:origLink>http://shahpunyerblog.blogspot.com/2007/10/create-self-signed-ssl-certificate-in.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-50829296064695022.post-6076810985298152039</guid><pubDate>Mon, 17 Sep 2007 02:53:00 +0000</pubDate><atom:updated>2008-07-09T22:26:20.619+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Linux</category><title>Linux Intrusion Discovery</title><description>&lt;span style="font-weight: bold;"&gt;THIS GUIDE IS TAKEN FROM &lt;a href="http://www.sans.org"&gt;SANS INSTITUTE &lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Purpose&lt;/span&gt;&lt;br /&gt;System Administrators are often on the front lines of computer security. This guide aims to support System Administrators in finding indications of a system compromise.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;What to use this sheet for&lt;/span&gt;&lt;br /&gt;On a periodic basis (daily, weekly, or each time you&lt;br /&gt;logon to a system you manage,) run through these&lt;br /&gt;quick steps to look for anomalous behavior that&lt;br /&gt;might be caused by a computer intrusion. Each of&lt;br /&gt;these commands runs locally on a system.&lt;br /&gt;This sheet is split into these sections:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;• Unusual Processes&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;• Unusual Files&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;• Unusual Network Usage&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;• Unusual Scheduled Tasks&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;• Unusual Accounts&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;• Unusual Log Entries&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;• Additional Supporting Tools&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;• Unusual Processes&lt;br /&gt;&lt;/span&gt;Look for running processes:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;# ps –aux&lt;/span&gt;&lt;br /&gt;Get familiar with “normal” processes for the machine.&lt;br /&gt;Look for unusual processes. Focus on processes with&lt;br /&gt;root (UID 0) privileges.&lt;br /&gt;If you spot a process that is unfamiliar, investigate&lt;br /&gt;unusual processes, getting more detail using:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;# lsof –p [pid]&lt;/span&gt;&lt;br /&gt;This command shows all files and ports used by the&lt;br /&gt;running process.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;• Unusual Files&lt;/span&gt;&lt;br /&gt;Look for unusual SUID root files:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;# find / -uid 0 –perm -4000 –print&lt;/span&gt;&lt;br /&gt;Requires knowledge of normal SUID files&lt;br /&gt;Look for unusual large files (greater than 10&lt;br /&gt;MegaBytes):&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;# find / -size +10000k –print&lt;/span&gt;&lt;br /&gt;Requires knowledge of normal large files&lt;br /&gt;Look for files named with dots and spaces:&lt;br /&gt;(“...”, “.. “, “. “, and “ “)&lt;br /&gt;# find / -name “...“ –print&lt;br /&gt;# find / -name “.. “ –print&lt;br /&gt;# find / -name “. “ –print&lt;br /&gt;&lt;br /&gt;On a Linux machine with RPM installed (RedHat,&lt;br /&gt;Mandrake, etc.), run the RPM tool to verify packages&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;# rpm –Va&lt;/span&gt;&lt;br /&gt;Checks size, MD5 sum, permissions, type, owner, and&lt;br /&gt;group of each file with information from RPM&lt;br /&gt;database&lt;br /&gt;Output includes:&lt;br /&gt;S – File size differs&lt;br /&gt;M – Mode differs (permissions)&lt;br /&gt;5 – MD5 sum differs&lt;br /&gt;D – Device number mismatch&lt;br /&gt;L – readLink path mismatch&lt;br /&gt;U – user ownership differs&lt;br /&gt;G – group ownership differs&lt;br /&gt;T – modification time differs&lt;br /&gt;Pay special attention to changes associated with&lt;br /&gt;items in /sbin, /bin, /usr/sbin, and /usr/bin&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;• Unusual Network Usage&lt;/span&gt;&lt;br /&gt;Look for promiscuous mode, which might indicate a&lt;br /&gt;sniffer:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;# ip link | grep PROMISC&lt;/span&gt;&lt;br /&gt;Note that ifconfig doesn’t work reliably for detecting&lt;br /&gt;promiscuous mode on Linux kernel 2.4&lt;br /&gt;&lt;br /&gt;Look for unusual port listeners:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;# lsof –i&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;# netstat –nap&lt;/span&gt;&lt;br /&gt;Need to know which TCP and UDP ports are&lt;br /&gt;normally listening on your system and look for&lt;br /&gt;deviations from the norm&lt;br /&gt;&lt;br /&gt;Look for unusual ARP entries, mapping IP address to&lt;br /&gt;MAC addresses that aren’t correct for the LAN:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;# arp –a&lt;/span&gt;&lt;br /&gt;Requires detailed knowledge of what is supposed to&lt;br /&gt;be on the LAN&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;• Unusual Scheduled Tasks&lt;br /&gt;&lt;/span&gt;Look for cron jobs scheduled by root and any other&lt;br /&gt;UID 0 accounts:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;# crontab –u root –l&lt;/span&gt;&lt;br /&gt;Look for unusual system-wide cron jobs:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;# cat /etc/crontab&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;• Unusual Accounts&lt;br /&gt;&lt;/span&gt;Look in /etc/passwd for new accounts, especially&lt;br /&gt;with UID 0 or GID 0&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;# less /etc/passwd&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;# grep :0: /etc/passwd&lt;/span&gt;&lt;br /&gt;Normal accounts will be there, but look for new,&lt;br /&gt;unexpected accounts&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;• Unusual Log Entries&lt;br /&gt;&lt;/span&gt;Look through your system log files for suspicious&lt;br /&gt;events, including:&lt;br /&gt;Promiscuous mode&lt;br /&gt;“entered promiscuous mode”&lt;br /&gt;Large number of authentication or login&lt;br /&gt;failures from either local or remote access&lt;br /&gt;tools (e.g., telnetd, sshd, etc.)&lt;br /&gt;Remote Procedure Call (rpc) programs with a&lt;br /&gt;log entry that includes a large number (&gt; 20)&lt;br /&gt;strange characters (-^PM-^PM-^PM-^PM-&lt;br /&gt;^PM-^PM-^PM-^PM)&lt;br /&gt;For web servers: Large number of Apache&lt;br /&gt;logs saying “error”&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;• Additional Supporting Tools&lt;br /&gt;&lt;/span&gt;The following tools are often not built into&lt;br /&gt;Linux operating system, but can be used to&lt;br /&gt;analyze its security status in more detail.&lt;br /&gt;Each is available for free download at the&lt;br /&gt;listed web site.&lt;br /&gt;Chkrootkit looks for anomalies on systems&lt;br /&gt;introduced by user-mode and kernel-mode&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;RootKits&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.chkrootkit.org/"&gt;www.chkrootkit.org&lt;/a&gt; - free&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Tripwire&lt;/span&gt; looks for changes to critical system&lt;br /&gt;files&lt;br /&gt;&lt;a href="http://www.tripwire.com/"&gt;www.tripwire.org&lt;/a&gt; - free for Linux for noncommercial&lt;br /&gt;use&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;AIDE&lt;/span&gt; looks for changes to critical system files&lt;br /&gt;&lt;a href="http://www.cs.tut.fi/%7Erammer/aide.html"&gt;http://www.cs.tut.fi/~rammer/aide.html&lt;/a&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/50829296064695022-6076810985298152039?l=shahpunyerblog.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Imshahmemyselfandi/~4/Bwldjj2P3i8" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/Imshahmemyselfandi/~3/Bwldjj2P3i8/linux-intrusion-discovery.html</link><author>noreply@blogger.com (imshahmemyselfandi)</author><thr:total>1</thr:total><feedburner:origLink>http://shahpunyerblog.blogspot.com/2007/09/linux-intrusion-discovery.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-50829296064695022.post-953777292496444942</guid><pubDate>Wed, 22 Aug 2007 05:16:00 +0000</pubDate><atom:updated>2008-07-09T22:26:20.619+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Linux</category><title>How to change network setting in Linux</title><description>I'm having a problem to access to my desktop using GUI. So, I decided to use command in console. I would like to share with people especially newbies how to configure Linux network using a command prompt based on my experience.&lt;br /&gt;&lt;br /&gt;1.    [root@localhost ~]#ifconfig eth0 172.20.30.30 netmask 255.255.255.0 up&lt;br /&gt;2.    [root@localhost ~]#route add default gw 172.20.30.254&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/50829296064695022-953777292496444942?l=shahpunyerblog.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Imshahmemyselfandi/~4/LbBD93OBRbY" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/Imshahmemyselfandi/~3/LbBD93OBRbY/how-to-change-network-setting-in-linux.html</link><author>noreply@blogger.com (imshahmemyselfandi)</author><thr:total>0</thr:total><feedburner:origLink>http://shahpunyerblog.blogspot.com/2007/08/how-to-change-network-setting-in-linux.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-50829296064695022.post-5903940690336536028</guid><pubDate>Mon, 13 Aug 2007 01:30:00 +0000</pubDate><atom:updated>2008-07-09T22:26:20.620+08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Linux</category><title>How to disabling the Ctrl+Alt+Delete in Linux console</title><description>As usual, I'm coming to office and entering the server room and login to the portal to check in for my attendance system. But all of the sudden, the server is restart!!!! Oh my god! I was accidentally press the Ctrl+Alt+Delete!!! What I have done? Than, I tried to fix the problem. The solution that I can do is I need to disable the Ctrl+Alt+Delete key. I'm afraid that if anyone that accidentally press that key than everything will be horror. To disable that key is quiet simple actually. Below are the steps that I have done.&lt;br /&gt;&lt;br /&gt;1.    Backup the original etc/inittab file and named it as a inittab.ori&lt;br /&gt;      [root@localhost ~]# cp /etc/inittab /root/Desktop/backup/inittab.ori&lt;br /&gt;&lt;br /&gt;2.    Edit the original file in /etc/inittab&lt;br /&gt;      [root@localhost ~]#vi /etc/inittab&lt;br /&gt;&lt;br /&gt;3.    Find the the &lt;span style="font-weight: bold;"&gt;# Trap CTRL-ALT-DELETE &lt;/span&gt;line&lt;br /&gt;      You can see that there is a file that exactly look like this&lt;br /&gt;      &lt;span style="font-weight: bold;"&gt;ca::ctrlaltdel:/sbin/shutdown -t3 -r now&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;4.    Now edit that line such below&lt;br /&gt;        &lt;span style="font-weight: bold;"&gt;ca:12345:ctrlaltdel:/bin/echo "CTRL-ALT-DEL is disabled"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;5.    Save the file that you have edit and quit from VI&lt;br /&gt;&lt;br /&gt;6.    In order to activate the changes, you need to run this command&lt;br /&gt;        &lt;span style="font-weight: bold;"&gt;[root@localhost ~]# init q&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;7.   After that to make sure it is effective or not, try to press the Ctrl+Alt+Del key. Your screen should appear &lt;span style="font-weight: bold;"&gt;"CTRL-ALT-DEL is disabled"&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;8.    Done :-)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/50829296064695022-5903940690336536028?l=shahpunyerblog.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Imshahmemyselfandi/~4/GPR8LEnWvko" height="1" width="1"/&gt;</description><link>http://feedproxy.google.com/~r/Imshahmemyselfandi/~3/GPR8LEnWvko/how-to-disabling-ctrlaltdelete-in-linux.html</link><author>noreply@blogger.com (imshahmemyselfandi)</author><thr:total>0</thr:total><feedburner:origLink>http://shahpunyerblog.blogspot.com/2007/08/how-to-disabling-ctrlaltdelete-in-linux.html</feedburner:origLink></item></channel></rss>

