<?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-4957082747201412731</id><updated>2009-02-07T16:09:39.444-08:00</updated><title type='text'>Unix command | Unix administrator</title><subtitle type='html'>Unix | Linux | Solaris | Hp-Ux | Xen ...
what the fsck, is sar. Why not use vmstat. Is prstat better than top? Bash, korn, c shell, sea shell? root passwd shadow, su - ssp. Time to mount the nfs and starts with UNIX hosting, much more easier on Linux hosting.</subtitle><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default'/><link rel='alternate' type='text/html' href='http://unix.ossb.com.my/'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://unix.ossb.com.my/atom.xml'/><author><name>MML</name><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>23</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4957082747201412731.post-6250955348890079472</id><published>2009-02-07T16:08:00.000-08:00</published><updated>2009-02-07T16:09:21.340-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Cheap Malaysia Hotels'/><title type='text'>Cheap Malaysia Hotels</title><content type='html'>&lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Arial;"&gt;Malaysia&lt;/span&gt;&lt;span style="font-size: 11pt; font-family: Arial;"&gt; is the most visited place by tourist, equipped with wonderful hotels, home-stay &amp;amp; guest house facilities. You’ll be amazed with what Malaysia lodging can offer you! &lt;/span&gt;&lt;strong&gt;&lt;span style="font-size: 11pt; font-family: Arial;"&gt;&lt;a href="http://www.cheapmalaysiarooms.com/" title="Cheap Malaysia Hotels" target="_blank"&gt;Cheap Malaysia Hotels&lt;/a&gt; &lt;/span&gt;&lt;/strong&gt;&lt;span style="font-size: 11pt; font-family: Arial;"&gt;provide information on cheap, affordable and value added Hotels, Backpacker rooms, Homestay and Guest House facilities. You’ll be able to find your type of place to stay, here in Cheap Malaysia Hotels.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Arial;"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Arial;"&gt;Malaysia&lt;/span&gt;&lt;span style="font-size: 11pt; font-family: Arial;"&gt; has some finest &lt;strong&gt;Hotel&lt;/strong&gt; like Renaissance Hotel, JW Marriot, Shangri-la and much more. Best hotel are rated at 5 star.&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-size: 11pt; font-family: Arial;"&gt;Backpackers&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-size: 11pt; font-family: Arial;"&gt; are usually hostel kind of lodging&lt;/span&gt;&lt;span style="font-size: 11pt; font-family: Arial;"&gt;; I’m sure most of us know how it works. It surely gives a good cheap price.&lt;/span&gt;&lt;span style="font-size: 11pt; font-family: Arial;"&gt; &lt;dt class="wp-caption-dt"&gt;&lt;br /&gt;&lt;/dt&gt; &lt;/span&gt;&lt;span style="font-size: 11pt; font-family: Arial;"&gt; &lt;/span&gt;&lt;span style="font-size: 11pt; font-family: Arial;"&gt;While &lt;strong&gt;Malaysia Home Stay&lt;/strong&gt; offers you more then just lodging, they usually have some sets of local activity for you to enjoy and get to know Malaysia culture better. You’ll be &lt;/span&gt;&lt;span style="font-size: 11pt; font-family: Arial;"&gt;staying with the house owner and the family members.&lt;/span&gt;&lt;span style="font-size: 11pt; font-family: Arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Arial;"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Arial;"&gt;With &lt;strong&gt;Guest House&lt;/strong&gt;, you’ll be able to rent the whole house for your family. It’s also allowing you to just rent a room from it.&lt;span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size: 11pt; font-family: Arial;"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;span style="font-size: 11pt; font-family: Arial;"&gt;So what are you waiting for? Plan your trip to &lt;/span&gt;&lt;span style="font-size: 11pt; font-family: Arial;"&gt;your favorites place in Malaysia with &lt;a href="http://www.cheapmalaysiarooms.com/" title="Cheap Malaysia Hotels" target="_blank"&gt;Cheap Malaysia Hotels&lt;/a&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/6250955348890079472/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=4957082747201412731&amp;postID=6250955348890079472' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/6250955348890079472'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/6250955348890079472'/><link rel='alternate' type='text/html' href='http://unix.ossb.com.my/2009/02/cheap-malaysia-hotels.html' title='Cheap Malaysia Hotels'/><author><name>MML</name><email>noreply@blogger.com</email></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4957082747201412731.post-9177868718953278586</id><published>2008-03-04T17:25:00.000-08:00</published><updated>2008-03-04T18:31:40.811-08:00</updated><title type='text'>Veritas error V-39-53247-1</title><content type='html'>For now, I&amp;#39;m only experiencing such error in Solaris10. Launching the Veritas GUI was not a problem, the error surface when I tried connecting to the current server via the Veritas GUI manager after key-in the root password.&lt;br&gt; &lt;br&gt;According to the solution that I&amp;#39;ve found, this was due to the VEA not being starts. &lt;br&gt;&lt;br&gt;Check the &lt;b&gt;VEA status&lt;/b&gt;&lt;div&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;# /etc/init.d/isisd status &lt;/span&gt;&lt;b&gt;&lt;br style="color: rgb(204, 0, 0);"&gt; &lt;br&gt;The output&lt;/b&gt;&amp;nbsp; &lt;br&gt;Current state of server : NOT RUNNING&amp;nbsp; &lt;b&gt;&lt;br&gt;&lt;br&gt;Start VEA&lt;/b&gt;&lt;br&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;# /etc/init.d/isisd start&lt;/span&gt; &lt;/div&gt;&lt;blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"&gt;  &lt;/blockquote&gt;&lt;blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"&gt;&lt;blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"&gt;  &lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"&gt;&lt;blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"&gt;  &lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"&gt; &lt;/blockquote&gt;&lt;blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"&gt; &lt;/blockquote&gt;&lt;br&gt;Once the VEA started properly, you should be able to get connected to your Veritas GUI manager.&lt;br clear="all"&gt;&lt;br&gt; </content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/9177868718953278586/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=4957082747201412731&amp;postID=9177868718953278586' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/9177868718953278586'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/9177868718953278586'/><link rel='alternate' type='text/html' href='http://unix.ossb.com.my/2008/03/veritas-error-v-39-53247-1.html' title='Veritas error V-39-53247-1'/><author><name>MML</name><email>noreply@blogger.com</email></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4957082747201412731.post-9073850780623616522</id><published>2008-03-04T17:07:00.000-08:00</published><updated>2008-03-04T21:09:59.505-08:00</updated><title type='text'>Veritas error V-39-53247-1</title><content type='html'>&lt;br clear="all"&gt;For now, I&amp;#39;m only experiencing such error in Solaris10. Launching the Veritas GUI was not a problem, the error surface when I tried connecting to the current server via the Veritas GUI manager after key-in the root password.&lt;br&gt; &lt;br&gt;According to the solution that I&amp;#39;ve found, this was due to the VEA not being starts. &lt;br&gt;&lt;br&gt;&lt;blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"&gt; Check the &lt;b&gt;VEA status&lt;/b&gt;&lt;/blockquote&gt;&lt;blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"&gt;&lt;div&gt;# /etc/init.d/isisd status&lt;/div&gt;&lt;/blockquote&gt;&lt;blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"&gt; &lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;/blockquote&gt;&lt;blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"&gt;&lt;blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"&gt; &lt;div&gt;&lt;b&gt;The output&lt;/b&gt;&amp;nbsp; &lt;br&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"&gt;&lt;blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"&gt; &lt;div&gt;Current state of server : NOT RUNNING&amp;nbsp;&lt;/div&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;/div&gt;&lt;blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt; &lt;/blockquote&gt;&lt;blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"&gt;&lt;div&gt;&lt;b&gt;Start VEA&lt;/b&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"&gt; &lt;div&gt;# /etc/init.d/isisd start &lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;Once the VEA started properly, you should be able to get connected to your Veritas GUI manager.&lt;br&gt;&lt;/div&gt; </content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/9073850780623616522/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=4957082747201412731&amp;postID=9073850780623616522' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/9073850780623616522'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/9073850780623616522'/><link rel='alternate' type='text/html' href='http://unix.ossb.com.my/2008/03/veritas-error-v-39-53247-1_04.html' title='Veritas error V-39-53247-1'/><author><name>MML</name><email>noreply@blogger.com</email></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4957082747201412731.post-6932850479557843384</id><published>2008-02-26T02:34:00.001-08:00</published><updated>2008-02-26T02:34:49.091-08:00</updated><title type='text'>Basic patch execution on HP-UX</title><content type='html'>&lt;b&gt;1.&lt;/b&gt; &lt;b&gt;Donwload&lt;/b&gt; the required package&lt;br&gt;&lt;br&gt;&lt;b&gt;2.&lt;/b&gt; Make an &lt;b&gt;OS ignite backup&lt;/b&gt;&lt;br&gt;For a virtual server, the ignite backup can be stored in HDD with the command below&lt;br&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;# &lt;/span&gt;&lt;i style="color: rgb(204, 0, 0);"&gt;make_net_recovery -s svr6601 -v -x inc_entire=vg00 -x exclude=/var/adm/crash -a svr6601:/var/opt/ignite/clients/svr6604&lt;/i&gt;&lt;br&gt; &lt;br&gt;&lt;b&gt;make_net_recovery&lt;/b&gt; &lt;br&gt;creates a system recovery archive and stores the archive on the network.&lt;br&gt;&lt;br&gt;Option&lt;br&gt;&lt;b&gt;-s&lt;/b&gt;&lt;br&gt;Specifies the hostname of the Ignite-UX server. The onfiguration files, defaults and contents files for the client system will be written to the Ignite-UX server in /var/opt/ignite/clients/0xLLA/recovery. The make_net_recovery tool will NFS mount the per-client directory to access this information.&lt;br&gt; &lt;br&gt;&lt;b&gt;-v&lt;/b&gt; &lt;br&gt;Display verbose progress messages while creating the system recovery archive. Includes information such as which volume groups/disks will be included in the system recovery archive.&lt;br&gt;&lt;br&gt;&lt;b&gt;-x inc_entire=disk|vg_name&lt;/b&gt;&lt;br&gt; Includes all file systems contained on the specified disk or volume group.&amp;nbsp; Use a block device file (e.g.,&amp;quot;/dev/dsk/c0t5d0&amp;quot;) when specifying a whole-disk (non-volume manager) file system.&amp;nbsp; Use the volume group name (such as vg00) when you want all file systems that are part of that LVM volume group to be included in the archive.&lt;br&gt; &lt;b&gt;&lt;br&gt;-x exclude=file|directory&lt;/b&gt;&lt;br&gt;Excludes the file or directory from the archive.&amp;nbsp; When a directory is specified, no files beneath that directory will be stored in the archive. If the excluded directory is an unmounted file system shown in the /etc/fstab file, a WARNING (&amp;quot;Filesystem xxx is not mounted.&amp;nbsp; It will be ignored.&amp;quot;) message will be displayed.&lt;br&gt; &lt;br&gt;&lt;br&gt;&lt;b&gt;3.&lt;/b&gt; &lt;b&gt;Unpack&lt;/b&gt; the patch file, assuming we are unpacking the USB driver 11.23_USB-00_C.01.04.06.001.shar. A new file *.depot will be created after unpack.&lt;br&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;# &lt;/span&gt;&lt;i style="color: rgb(204, 0, 0);"&gt;&lt;b&gt;sh&lt;/b&gt; 11.23_USB-00_C.01.04.06.001.shar&lt;/i&gt;&lt;br&gt; &lt;br&gt;&lt;b&gt;4. Install&lt;/b&gt; the patch&lt;br&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;# &lt;/span&gt;&lt;i style="color: rgb(204, 0, 0);"&gt;&lt;b&gt;swinstall -s&lt;/b&gt; 11.23_USB-00_C.01.04.06.001.depot&lt;/i&gt;&lt;br&gt;&lt;br&gt;A GUI patch management will pop-up. Follow the installation screen, make sure that the patch packages is in &lt;b&gt;READY&lt;/b&gt; mode. &lt;b style="color: rgb(204, 0, 0);"&gt;Do not proceed if it is in READY &amp;amp; WARNING&lt;/b&gt; mode. The WARNING needs to be rectify before proceeding. Please note a server reboot will be require if it touches on the kernel.&lt;br&gt; &lt;br&gt; </content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/6932850479557843384/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=4957082747201412731&amp;postID=6932850479557843384' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/6932850479557843384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/6932850479557843384'/><link rel='alternate' type='text/html' href='http://unix.ossb.com.my/2008/02/basic-patch-execution-on-hp-ux.html' title='Basic patch execution on HP-UX'/><author><name>MML</name><email>noreply@blogger.com</email></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4957082747201412731.post-578183867218964030</id><published>2008-02-12T20:36:00.001-08:00</published><updated>2008-02-12T21:08:54.726-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vnc'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>Using VNC on Linux Server</title><content type='html'>VNC is a well known tools, it’s widely use in Linux and Windows environments. Recently I have a problem accessing my Linux server using VNC sessions. I have forgotten the password, the only way I know to reset the VNC session password is thru GUI unfortunately the server is not located at the same place as I am.&lt;br /&gt;&lt;br /&gt;Follow the steps below, some workaround I use to &lt;span style="font-weight: bold;"&gt;reset VNC session password&lt;/span&gt; and also reset VNC connection.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1.&lt;/span&gt;    Change / create new VNC password&lt;br /&gt;# &lt;span style="font-weight: bold;"&gt;vncpasswd&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2.    &lt;/span&gt;Starts the VNC server&lt;br /&gt;# &lt;span style="font-weight: bold;"&gt;vncserver&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Example of the output as below …&lt;br /&gt;&lt;span style="font-style: italic;"&gt;SUSE:~ # vncserver&lt;/span&gt;  &lt;span style="font-style: italic;"&gt;&lt;br /&gt;New 'X' desktop is SUSE:2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Starting applications specified in /root/.vnc/xstartup&lt;/span&gt; &lt;span style="font-style: italic;"&gt;Log file is /root/.vnc/SUSE:2.log&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3.&lt;/span&gt;    Try login in with VNC viewer using hostname/ip address followed by the display number, in this case its suse:2&lt;br /&gt;&lt;br /&gt; &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://unix.ossb.com.my/uploaded_images/vnc1-743943.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://unix.ossb.com.my/uploaded_images/vnc1-743938.JPG" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;4.&lt;/span&gt;    An xTerminal will be displayed as below, but this is not the session we want to use. Follow steps 5 to get the proper sessions …&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://unix.ossb.com.my/uploaded_images/vcn2-784784.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://unix.ossb.com.my/uploaded_images/vcn2-784776.JPG" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;5.&lt;/span&gt;    Stops the vncserver. Our VNC server is currently running on display 2.&lt;br /&gt;# &lt;span style="font-weight: bold;"&gt;vncserver -kill :2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;6.&lt;/span&gt;    Edit the &lt;span style="font-weight: bold;"&gt;xstartup&lt;/span&gt; file. The file is located at /root/.vnc/. Before your start editing the files, please backup the original file, and include the following lines into the xstartup file&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;span style="font-style: italic;"&gt;#!/bin/sh&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#xrdb $HOME/.Xresources&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#xsetroot -solid grey&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &amp;amp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;#twm &amp;amp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;# Uncomment the following two lines for normal desktop:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; unset SESSION_MANAGER&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; exec /etc/X11/xinit/xinitrc&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;[ -x /etc/vnc/xstartup ] &amp;amp;&amp;amp; exec /etc/vnc/xstartup&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;[ -r $HOME/.Xresources ] &amp;amp;&amp;amp; xrdb $HOME/.Xresources&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;xsetroot -solid grey&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;vncconfig -iconic &amp;amp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &amp;amp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;startx &amp;amp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;7.   &lt;/span&gt; Start the vncserver&lt;br /&gt;# &lt;span style="font-weight: bold;"&gt;vncserver&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Test login to the server with VNC viewer, you’ll see a different and useful layout as below&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://unix.ossb.com.my/uploaded_images/vnc3-723445.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://unix.ossb.com.my/uploaded_images/vnc3-723438.JPG" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;8.   &lt;/span&gt; To check if there is a vnc services running …&lt;br /&gt;# &lt;span style="font-weight: bold;"&gt;ps -ef | grep Xvnc&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/578183867218964030/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=4957082747201412731&amp;postID=578183867218964030' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/578183867218964030'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/578183867218964030'/><link rel='alternate' type='text/html' href='http://unix.ossb.com.my/2008/02/vnc.html' title='Using VNC on Linux Server'/><author><name>MML</name><email>noreply@blogger.com</email></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4957082747201412731.post-8839899115604898297</id><published>2008-02-11T02:05:00.000-08:00</published><updated>2008-02-11T02:07:47.803-08:00</updated><title type='text'>Create a duplicate ROOT id</title><content type='html'>&lt;div class="Section1"&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:Times New Roman;font-size:100%;"&gt;&lt;span style="font-size:12;"&gt;Duplicating a ROOT id is not a good idea, as this will overkill the security risk. SUDO is another workaround option that you can look into without implementing the 2nd ROOT id. Anyway, below are steps taken by me to create the 2nd ROOT id.&lt;br /&gt;&lt;br /&gt;1. Backup all the required files (/etc/passwd, /etc/shadow and /etc/group)&lt;br /&gt;2. Create the user with &lt;b&gt;&lt;span style="font-weight: bold;"&gt;useradd&lt;/span&gt;&lt;/b&gt; command&lt;br /&gt;   &lt;br /&gt;    Example&lt;br /&gt;    # useradd -g 1 -d /export/home/root2 -s /bin/sh -c "Some infor here" root2&lt;br /&gt;&lt;br /&gt;    &lt;b&gt;&lt;span style="font-weight: bold;"&gt;Syntax for useradd&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;    useradd [-u uid [-o] | -g group | -G group[[,group]...] |-d dir |&lt;br /&gt;                -s shell | -c comment | -m [-k skel_dir] | -f inactive |&lt;br /&gt;                -e expire | -A authorization [, authorization ...] |&lt;br /&gt;                -P profile [, profile ...] | -R role [, role ...] |&lt;br /&gt;                -K key=value | -p project [, project ...]] login&lt;br /&gt;&lt;br /&gt;3. Change passwd for root2&lt;br /&gt;    # passwd root2&lt;br /&gt;&lt;br /&gt;4. Edit the /etc/passwd file. Search for the id that you have created, in this case root2&lt;br /&gt;&lt;br /&gt;    &lt;i&gt;&lt;span style="font-style: italic;"&gt;root2:x:116:1:Some Info here:/export/home/root2:/bin/sh&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;In this case the UID is 116. This number is automatically generated unless you have specified the &lt;b&gt;&lt;span style="font-weight: bold;"&gt;-u &lt;/span&gt;&lt;/b&gt;option with your useradd command. Use vi editor to edit, change the UID number from 116 to 0&lt;br /&gt;    &lt;br /&gt;    # vi /etc/edit&lt;br /&gt;&lt;br /&gt;5. Now all you need to do is &lt;b&gt;&lt;span style="font-weight: bold;"&gt;update the /etc/passwd&lt;/span&gt;&lt;/b&gt; file with the command below&lt;br /&gt;    # pwconv&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="font-weight: bold;"&gt;pwconv&lt;/span&gt;&lt;/b&gt; - installs and updates /etc/shadow with  information from /etc/passwd&lt;br /&gt;To now more on pwconv, do a &lt;b&gt;&lt;span style="font-weight: bold;"&gt;man pwconv&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;/div&gt;   &lt;span style="font-family:Arial;font-size:78%;"&gt; &lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/8839899115604898297/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=4957082747201412731&amp;postID=8839899115604898297' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/8839899115604898297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/8839899115604898297'/><link rel='alternate' type='text/html' href='http://unix.ossb.com.my/2008/02/create-duplicate-root-id.html' title='Create a duplicate ROOT id'/><author><name>MML</name><email>noreply@blogger.com</email></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4957082747201412731.post-6224194448612432824</id><published>2007-12-20T04:26:00.001-08:00</published><updated>2007-12-20T04:26:33.424-08:00</updated><title type='text'>ndd Command</title><content type='html'>1. To get NIC status, note root passwd password is needed&lt;br /&gt;&lt;br /&gt;check the which instance of NIC port we are connecting to&lt;br /&gt;# ndd –get /dev/qfe instance&lt;br /&gt;&lt;br /&gt;change the NIC instance to port 0&lt;br /&gt;# ndd -set /dev/qfe instance 0   &lt;br /&gt;&lt;br /&gt;check status&lt;br /&gt;# ndd -get /dev/qfe link_status   (0=down 1=up)&lt;br /&gt;# ndd -get /dev/qfe link_mode     (0=half duplex 1=full duplex)&lt;br /&gt;# ndd -get /dev/qfe link_speed    (0=10Mbps 1=100Mbps)&lt;br /&gt;&lt;br /&gt;# ndd -get /dev/ce adv_autoneg_cap (check auto nego 0=false 1=true)&lt;br /&gt;# ndd -set /dev/ce adv_autoneg_cap 1 (set autonego to true)&lt;br /&gt;&lt;br /&gt;ndd help / to check option available with ndd command&lt;br /&gt;# ndd –get /dev/qfe \?&lt;br /&gt;&lt;br /&gt;Notes&lt;br /&gt;for ce card use /dev/ce&lt;br /&gt;for qfe card use /dev/qfe&lt;br /&gt;for bge card use /dev/bge1 (instance 1, bge2 = instance2)&lt;br /&gt;&lt;br /&gt;The configuration network card configuration file is at /kernel/drv/ce.conf if its is configured manually and forced to specific value.</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/6224194448612432824/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=4957082747201412731&amp;postID=6224194448612432824' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/6224194448612432824'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/6224194448612432824'/><link rel='alternate' type='text/html' href='http://unix.ossb.com.my/2007/12/ndd-command_20.html' title='ndd Command'/><author><name>MML</name><email>noreply@blogger.com</email></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4957082747201412731.post-187154214870226370</id><published>2007-12-20T04:25:00.001-08:00</published><updated>2007-12-20T04:25:42.236-08:00</updated><title type='text'>Check PERL version</title><content type='html'># perl -v</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/187154214870226370/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=4957082747201412731&amp;postID=187154214870226370' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/187154214870226370'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/187154214870226370'/><link rel='alternate' type='text/html' href='http://unix.ossb.com.my/2007/12/check-perl-version.html' title='Check PERL version'/><author><name>MML</name><email>noreply@blogger.com</email></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4957082747201412731.post-4071321881809037146</id><published>2007-12-20T04:24:00.001-08:00</published><updated>2007-12-20T04:24:36.794-08:00</updated><title type='text'>fsck Command</title><content type='html'>The fsck command is required if your encounter “press CTRL + d” message during startup&lt;br /&gt;# fsck -y /opt</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/4071321881809037146/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=4957082747201412731&amp;postID=4071321881809037146' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/4071321881809037146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/4071321881809037146'/><link rel='alternate' type='text/html' href='http://unix.ossb.com.my/2007/12/fsck-command.html' title='fsck Command'/><author><name>MML</name><email>noreply@blogger.com</email></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4957082747201412731.post-4718352757280914267</id><published>2007-12-20T04:23:00.001-08:00</published><updated>2007-12-20T04:23:44.681-08:00</updated><title type='text'>set DISPLAY</title><content type='html'>This is usually required when you use X-Manager to run some GUI application on it. Example will be Veritas Manager or during Oracle installation&lt;br /&gt;# DISPLAY:you.pc.ip.addr:0.0&lt;br /&gt;# export DISPLAY</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/4718352757280914267/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=4957082747201412731&amp;postID=4718352757280914267' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/4718352757280914267'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/4718352757280914267'/><link rel='alternate' type='text/html' href='http://unix.ossb.com.my/2007/12/set-display.html' title='set DISPLAY'/><author><name>MML</name><email>noreply@blogger.com</email></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4957082747201412731.post-4527671581325179913</id><published>2007-12-20T04:21:00.001-08:00</published><updated>2007-12-20T04:21:49.759-08:00</updated><title type='text'>scstat Command</title><content type='html'>scstat (cluster command)&lt;br /&gt;To move resources from one cluster A to cluster B&lt;br /&gt;# scswitch -Z -g &lt;resources-name&gt; -h &lt;cluster-server-name&gt;&lt;br /&gt;example&lt;br /&gt;# scswitch -Z -g scmrg1 -h server4821&lt;br /&gt;&lt;/cluster-server-name&gt;&lt;/resources-name&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/4527671581325179913/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=4957082747201412731&amp;postID=4527671581325179913' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/4527671581325179913'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/4527671581325179913'/><link rel='alternate' type='text/html' href='http://unix.ossb.com.my/2007/12/scstat-command.html' title='scstat Command'/><author><name>MML</name><email>noreply@blogger.com</email></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4957082747201412731.post-6664957601144809383</id><published>2007-12-20T04:20:00.001-08:00</published><updated>2007-12-20T04:20:35.921-08:00</updated><title type='text'>mount / devices operation</title><content type='html'>to mount a device, 1st make sure the device is in /etc/vfstab&lt;br /&gt;# mount /rpt_data02&lt;br /&gt;or&lt;br /&gt;# mount /dev/vx/dsk/rptdg/rpt_data02 /rpt_data02&lt;br /&gt;&lt;br /&gt;to kill all process / users using a specific devices, usefull when you could not umount the file system or devices that you are sure no users is accessing it&lt;br /&gt;# fuser -ck /the/directory</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/6664957601144809383/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=4957082747201412731&amp;postID=6664957601144809383' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/6664957601144809383'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/6664957601144809383'/><link rel='alternate' type='text/html' href='http://unix.ossb.com.my/2007/12/mount-devices-operation.html' title='mount / devices operation'/><author><name>MML</name><email>noreply@blogger.com</email></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4957082747201412731.post-6016085583466743915</id><published>2007-12-20T04:18:00.000-08:00</published><updated>2007-12-20T04:19:18.379-08:00</updated><title type='text'>Soft link</title><content type='html'>create a soft link&lt;br /&gt;# ln -s /destination /source&lt;br /&gt;&lt;br /&gt;remove soft link&lt;br /&gt;# unlink /soft/link/file</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/6016085583466743915/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=4957082747201412731&amp;postID=6016085583466743915' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/6016085583466743915'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/6016085583466743915'/><link rel='alternate' type='text/html' href='http://unix.ossb.com.my/2007/12/soft-link.html' title='Soft link'/><author><name>MML</name><email>noreply@blogger.com</email></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4957082747201412731.post-6407799090120525916</id><published>2007-12-20T04:17:00.000-08:00</published><updated>2007-12-20T04:18:20.090-08:00</updated><title type='text'>Fiber channel (FC) operation</title><content type='html'>check connected FC ports&lt;br /&gt;# luxadm -e port</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/6407799090120525916/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=4957082747201412731&amp;postID=6407799090120525916' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/6407799090120525916'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/6407799090120525916'/><link rel='alternate' type='text/html' href='http://unix.ossb.com.my/2007/12/fiber-channel-fc-operation.html' title='Fiber channel (FC) operation'/><author><name>MML</name><email>noreply@blogger.com</email></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4957082747201412731.post-3713648148699254871</id><published>2007-12-20T04:16:00.000-08:00</published><updated>2007-12-20T04:17:10.901-08:00</updated><title type='text'>Check 64 bit on Solaris</title><content type='html'># isainfo -vk</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/3713648148699254871/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=4957082747201412731&amp;postID=3713648148699254871' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/3713648148699254871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/3713648148699254871'/><link rel='alternate' type='text/html' href='http://unix.ossb.com.my/2007/12/check-64-bit-on-solaris.html' title='Check 64 bit on Solaris'/><author><name>MML</name><email>noreply@blogger.com</email></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4957082747201412731.post-3048817050098066819</id><published>2007-12-20T04:15:00.000-08:00</published><updated>2007-12-20T04:16:21.863-08:00</updated><title type='text'>Unix printing services</title><content type='html'>1.  Below are some example of using some printer command, assuming our printer name is dcp.&lt;br /&gt;&lt;br /&gt;to print /etc/hosts files on dcp printer&lt;br /&gt;# lp -d dcp /etc/hosts&lt;br /&gt;&lt;br /&gt;check the print queue on all connected printer&lt;br /&gt;# /usr/ucb/lpq&lt;br /&gt;or&lt;br /&gt;# lpstat&lt;br /&gt;# lpstat –o all&lt;br /&gt;&lt;br /&gt;check print queue on dcp printer&lt;br /&gt;# /usr/ucb/lpq -P dcp&lt;br /&gt;&lt;br /&gt;delete print queue on dcp printer (root password is required)&lt;br /&gt;# /usr/ucb/lprm -P dcp &lt;job-id/number&gt;&lt;br /&gt;&lt;br /&gt;2. Printer configuration&lt;br /&gt;printer configuration will be stored in /etc/printer.conf&lt;br /&gt;# more /etc/printer.conf&lt;br /&gt;&lt;br /&gt;all connected printer summary&lt;br /&gt;# lpstat -s&lt;br /&gt;&lt;br /&gt;check the dcp printer server (print server)&lt;br /&gt;# lpstat -v dcp&lt;br /&gt;&lt;br /&gt;changing printer server (root password is required)&lt;br /&gt;# lpadmin -p dcp -s pethsv15\!dcp&lt;br /&gt;lpadmin –p &lt;printer-name&gt; -s &lt;print-server&gt;\!&lt;printer-name&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/3048817050098066819/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=4957082747201412731&amp;postID=3048817050098066819' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/3048817050098066819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/3048817050098066819'/><link rel='alternate' type='text/html' href='http://unix.ossb.com.my/2007/12/unix-printing-services_20.html' title='Unix printing services'/><author><name>MML</name><email>noreply@blogger.com</email></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4957082747201412731.post-9125467138541287664</id><published>2007-12-20T04:14:00.000-08:00</published><updated>2007-12-20T04:15:08.817-08:00</updated><title type='text'>Packages / Pacthes</title><content type='html'>1. To check installed patch&lt;br /&gt;# showrev -p&lt;br /&gt;# showrev –p | grep &lt;patch&gt;&lt;br /&gt;&lt;br /&gt;2. To check packages info&lt;br /&gt;# pkginfo -l VRTSvxvm</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/9125467138541287664/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=4957082747201412731&amp;postID=9125467138541287664' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/9125467138541287664'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/9125467138541287664'/><link rel='alternate' type='text/html' href='http://unix.ossb.com.my/2007/12/packages-pacthes.html' title='Packages / Pacthes'/><author><name>MML</name><email>noreply@blogger.com</email></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4957082747201412731.post-448219776218084151</id><published>2007-12-20T04:01:00.001-08:00</published><updated>2007-12-20T18:22:06.178-08:00</updated><title type='text'>NFS Sharing resources from the server</title><content type='html'>1. Make sure the share resources is configure in /etc/df/dfstab&lt;br /&gt;# vi /etc/df/dfstab&lt;br /&gt;&lt;br /&gt;Edit the files to include the share point of the resources.&lt;br /&gt;Example you are sharing /cdrom/dvd1, the file in /etc/df/dfstab should include&lt;br /&gt;&lt;br /&gt;share -F nfs /cdrom/dvd1&lt;br /&gt;&lt;br /&gt;Affter editing the file run this command.&lt;br /&gt;# shareall&lt;br /&gt;&lt;br /&gt;2. At the remote machine that is accessing the share resources …&lt;br /&gt;To list all the share resources from main server&lt;br /&gt;# dfshares &lt;severname&gt;&lt;br /&gt;&lt;br /&gt;or alternatively, to show all shared mount point from NFS server&lt;br /&gt;# showmount -e &lt;nfs&gt;&lt;br /&gt;&lt;br /&gt;Mount the share resources&lt;br /&gt;# mount &lt;servername&gt;:/cdrom/dvd1 /mount/point/location&lt;br /&gt;&lt;br /&gt;example&lt;br /&gt;# mount taufikserver:/cdrom/dvd1 /mnt&lt;br /&gt;&lt;br /&gt;3. To unmount dfshare&lt;br /&gt;note: only apply if you could not unmount it.&lt;br /&gt;# /etc/init.d/nfs.server stop&lt;br /&gt;# umount /nfs/share&lt;br /&gt;&lt;br /&gt;4. Mount nfs on vfstab&lt;br /&gt;This example take from &lt;a href="http://www.scit.wlv.ac.uk/cgi-bin/mansec?4+vfstab"&gt;http://www.scit.wlv.ac.uk/cgi-bin/mansec?4+vfstab&lt;/a&gt;&lt;br /&gt;The following are vfstab entries  for  various  file  system types supported in the Solaris operating environment.&lt;br /&gt;&lt;br /&gt;Example 1: NFS and UFS Mounts&lt;br /&gt;The following entry invokes NFS to automatically  mount  the directory  /usr/local of the server example1 on the client's /usr/local directory with read-only permission:&lt;br /&gt;&lt;br /&gt;example1:/usr/local - /usr/local nfs - yes ro&lt;br /&gt;&lt;br /&gt;The following example  assumes  a  small  departmental  mail setup,  in  which  clients  mount  /var/mail  from  a server mailsvr.  The  following  entry  would  be  listed  in  each client's vfstab:&lt;br /&gt;&lt;br /&gt;mailsvr:/var/mail - /var/mail nfs - yes intr,bg&lt;br /&gt;&lt;/servername&gt;&lt;/nfs&gt;&lt;/severname&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/448219776218084151/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=4957082747201412731&amp;postID=448219776218084151' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/448219776218084151'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/448219776218084151'/><link rel='alternate' type='text/html' href='http://unix.ossb.com.my/2007/12/nfs-sharing-resources-from-server_20.html' title='NFS Sharing resources from the server'/><author><name>MML</name><email>noreply@blogger.com</email></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4957082747201412731.post-8278373107291937392</id><published>2007-12-20T03:59:00.000-08:00</published><updated>2007-12-20T04:00:17.821-08:00</updated><title type='text'>Enable tftp services on Solaris10</title><content type='html'>Make changes active and enabled&lt;br /&gt;# inetconv&lt;br /&gt;# inetadm -e svc:/network/tftp/udp6&lt;br /&gt;&lt;br /&gt;check the tftp services&lt;br /&gt;# svcs | grep tftp&lt;br /&gt;&lt;br /&gt;disable tftp&lt;br /&gt;# inetadm -d svc:/network/tftp/udp6</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/8278373107291937392/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=4957082747201412731&amp;postID=8278373107291937392' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/8278373107291937392'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/8278373107291937392'/><link rel='alternate' type='text/html' href='http://unix.ossb.com.my/2007/12/enable-tftp-services-on-solaris10.html' title='Enable tftp services on Solaris10'/><author><name>MML</name><email>noreply@blogger.com</email></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4957082747201412731.post-2522580283937292614</id><published>2007-12-20T03:58:00.001-08:00</published><updated>2007-12-20T03:58:29.410-08:00</updated><title type='text'>Configuring ntpdate</title><content type='html'>1. configure /etc/inet/ntp.conf&lt;br /&gt;# vi /etc/inet/ntp.conf&lt;br /&gt;&lt;br /&gt;add the ntp server IP address in the file (ntp.conf file will only contain IP addres)&lt;br /&gt;&lt;br /&gt;2. to sync the time base on the ntp server specified&lt;br /&gt;# ntpdate &lt;ntp-server-ip-address&gt;&lt;br /&gt;# ntpdate 111.11.1.11</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/2522580283937292614/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=4957082747201412731&amp;postID=2522580283937292614' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/2522580283937292614'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/2522580283937292614'/><link rel='alternate' type='text/html' href='http://unix.ossb.com.my/2007/12/configuring-ntpdate.html' title='Configuring ntpdate'/><author><name>MML</name><email>noreply@blogger.com</email></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4957082747201412731.post-8544631413415384102</id><published>2007-12-20T03:52:00.000-08:00</published><updated>2007-12-20T03:53:32.519-08:00</updated><title type='text'>Enable large file</title><content type='html'>Option 1&lt;br /&gt;# vi /etc/vfstab   (edit the last column)&lt;br /&gt;# reboot&lt;br /&gt;&lt;br /&gt;Option 2&lt;br /&gt;# umount /finance&lt;br /&gt;# /usr/lib/fs/vxfs/fsadm -o largefiles /dev/vx/rdsk/diskdg/finance&lt;br /&gt;# mount finance&lt;br /&gt;&lt;br /&gt;Option 3 (on the fly update)&lt;br /&gt;# /usr/lib/fs/vxfs/fsadm -o largefiles /finance</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/8544631413415384102/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=4957082747201412731&amp;postID=8544631413415384102' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/8544631413415384102'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/8544631413415384102'/><link rel='alternate' type='text/html' href='http://unix.ossb.com.my/2007/12/enable-large-file.html' title='Enable large file'/><author><name>MML</name><email>noreply@blogger.com</email></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4957082747201412731.post-3980958469847255932</id><published>2007-12-20T03:45:00.000-08:00</published><updated>2007-12-20T03:46:00.307-08:00</updated><title type='text'>tar Command</title><content type='html'>tar a file and then copy it / untar in a new folder&lt;br /&gt;# cd /source/directory&lt;br /&gt;# tar cf - . |(cd /destination/dir; tar xvfBp -)&lt;br /&gt;&lt;br /&gt;tar command with exclude&lt;br /&gt;# tar cvf /apache.tar --exclude=/var/apache/htdocs/docu/patch/*.zip \&lt;br /&gt;&gt; --exclude=/var/apache/htdocs/docu/iplanet/*.gz /var/apache/htdocs/docu&lt;br /&gt;&lt;br /&gt;# tar cvf /os.tar --exclude=/var --exclude=/usr --exclude=sys /  Note: not working to backup OS</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/3980958469847255932/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=4957082747201412731&amp;postID=3980958469847255932' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/3980958469847255932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/3980958469847255932'/><link rel='alternate' type='text/html' href='http://unix.ossb.com.my/2007/12/tar-command.html' title='tar Command'/><author><name>MML</name><email>noreply@blogger.com</email></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4957082747201412731.post-190310006904394324</id><published>2007-12-02T05:39:00.000-08:00</published><updated>2007-12-02T05:40:00.250-08:00</updated><title type='text'>The history of UNIX</title><content type='html'>The idea of developing UNIX was born from AT&amp;amp;T&amp;#39;s Bell Laboratories in the early 1970&amp;#39;s, the success of the UNIX operating system has led to many different versions. Until today, we have numbers of UNIX varieties and versions, like HP-UX, Solaris, Redhat, Suse not forgotten CENTOS, Fedora and others. &lt;br&gt;&lt;br&gt;For more interesting UNIX history fact ...  &lt;a href="http://www.computerhope.com/history/unix.htm"&gt;http://www.computerhope.com/history/unix.htm&lt;/a&gt;.&amp;nbsp; Its interesting, the fact shown that &lt;a href="http://www.linux.org/info/linus.html"&gt;Linus Torvalds&lt;/a&gt; was actually born on the same year UNIX was being developed.  &lt;br&gt; </content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/190310006904394324/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=4957082747201412731&amp;postID=190310006904394324' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/190310006904394324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4957082747201412731/posts/default/190310006904394324'/><link rel='alternate' type='text/html' href='http://unix.ossb.com.my/2007/12/history-of-unix.html' title='The history of UNIX'/><author><name>MML</name><email>noreply@blogger.com</email></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry></feed>