<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' version='2.0'><channel><atom:id>tag:blogger.com,1999:blog-4957082747201412731</atom:id><lastBuildDate>Sun, 08 Feb 2009 00:09:39 +0000</lastBuildDate><title>Unix command | Unix administrator</title><description>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.</description><link>http://unix.ossb.com.my/</link><managingEditor>noreply@blogger.com (MML)</managingEditor><generator>Blogger</generator><openSearch:totalResults>23</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4957082747201412731.post-6250955348890079472</guid><pubDate>Sun, 08 Feb 2009 00:08:00 +0000</pubDate><atom:updated>2009-02-07T16:09:21.340-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Cheap Malaysia Hotels</category><title>Cheap Malaysia Hotels</title><description>&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;</description><link>http://unix.ossb.com.my/2009/02/cheap-malaysia-hotels.html</link><author>noreply@blogger.com (MML)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4957082747201412731.post-9177868718953278586</guid><pubDate>Wed, 05 Mar 2008 01:25:00 +0000</pubDate><atom:updated>2008-03-04T18:31:40.811-08:00</atom:updated><title>Veritas error V-39-53247-1</title><description>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; </description><link>http://unix.ossb.com.my/2008/03/veritas-error-v-39-53247-1.html</link><author>noreply@blogger.com (MML)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4957082747201412731.post-9073850780623616522</guid><pubDate>Wed, 05 Mar 2008 01:07:00 +0000</pubDate><atom:updated>2008-03-04T21:09:59.505-08:00</atom:updated><title>Veritas error V-39-53247-1</title><description>&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; </description><link>http://unix.ossb.com.my/2008/03/veritas-error-v-39-53247-1_04.html</link><author>noreply@blogger.com (MML)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4957082747201412731.post-6932850479557843384</guid><pubDate>Tue, 26 Feb 2008 10:34:00 +0000</pubDate><atom:updated>2008-02-26T02:34:49.091-08:00</atom:updated><title>Basic patch execution on HP-UX</title><description>&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; </description><link>http://unix.ossb.com.my/2008/02/basic-patch-execution-on-hp-ux.html</link><author>noreply@blogger.com (MML)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4957082747201412731.post-578183867218964030</guid><pubDate>Wed, 13 Feb 2008 04:36:00 +0000</pubDate><atom:updated>2008-02-12T21:08:54.726-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>vnc</category><category domain='http://www.blogger.com/atom/ns#'>linux</category><title>Using VNC on Linux Server</title><description>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;</description><link>http://unix.ossb.com.my/2008/02/vnc.html</link><author>noreply@blogger.com (MML)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4957082747201412731.post-8839899115604898297</guid><pubDate>Mon, 11 Feb 2008 10:05:00 +0000</pubDate><atom:updated>2008-02-11T02:07:47.803-08:00</atom:updated><title>Create a duplicate ROOT id</title><description>&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;</description><link>http://unix.ossb.com.my/2008/02/create-duplicate-root-id.html</link><author>noreply@blogger.com (MML)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4957082747201412731.post-6224194448612432824</guid><pubDate>Thu, 20 Dec 2007 12:26:00 +0000</pubDate><atom:updated>2007-12-20T04:26:33.424-08:00</atom:updated><title>ndd Command</title><description>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.</description><link>http://unix.ossb.com.my/2007/12/ndd-command_20.html</link><author>noreply@blogger.com (MML)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4957082747201412731.post-187154214870226370</guid><pubDate>Thu, 20 Dec 2007 12:25:00 +0000</pubDate><atom:updated>2007-12-20T04:25:42.236-08:00</atom:updated><title>Check PERL version</title><description># perl -v</description><link>http://unix.ossb.com.my/2007/12/check-perl-version.html</link><author>noreply@blogger.com (MML)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4957082747201412731.post-4071321881809037146</guid><pubDate>Thu, 20 Dec 2007 12:24:00 +0000</pubDate><atom:updated>2007-12-20T04:24:36.794-08:00</atom:updated><title>fsck Command</title><description>The fsck command is required if your encounter “press CTRL + d” message during startup&lt;br /&gt;# fsck -y /opt</description><link>http://unix.ossb.com.my/2007/12/fsck-command.html</link><author>noreply@blogger.com (MML)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4957082747201412731.post-4718352757280914267</guid><pubDate>Thu, 20 Dec 2007 12:23:00 +0000</pubDate><atom:updated>2007-12-20T04:23:44.681-08:00</atom:updated><title>set DISPLAY</title><description>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</description><link>http://unix.ossb.com.my/2007/12/set-display.html</link><author>noreply@blogger.com (MML)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4957082747201412731.post-4527671581325179913</guid><pubDate>Thu, 20 Dec 2007 12:21:00 +0000</pubDate><atom:updated>2007-12-20T04:21:49.759-08:00</atom:updated><title>scstat Command</title><description>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;</description><link>http://unix.ossb.com.my/2007/12/scstat-command.html</link><author>noreply@blogger.com (MML)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4957082747201412731.post-6664957601144809383</guid><pubDate>Thu, 20 Dec 2007 12:20:00 +0000</pubDate><atom:updated>2007-12-20T04:20:35.921-08:00</atom:updated><title>mount / devices operation</title><description>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</description><link>http://unix.ossb.com.my/2007/12/mount-devices-operation.html</link><author>noreply@blogger.com (MML)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4957082747201412731.post-6016085583466743915</guid><pubDate>Thu, 20 Dec 2007 12:18:00 +0000</pubDate><atom:updated>2007-12-20T04:19:18.379-08:00</atom:updated><title>Soft link</title><description>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</description><link>http://unix.ossb.com.my/2007/12/soft-link.html</link><author>noreply@blogger.com (MML)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4957082747201412731.post-6407799090120525916</guid><pubDate>Thu, 20 Dec 2007 12:17:00 +0000</pubDate><atom:updated>2007-12-20T04:18:20.090-08:00</atom:updated><title>Fiber channel (FC) operation</title><description>check connected FC ports&lt;br /&gt;# luxadm -e port</description><link>http://unix.ossb.com.my/2007/12/fiber-channel-fc-operation.html</link><author>noreply@blogger.com (MML)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4957082747201412731.post-3713648148699254871</guid><pubDate>Thu, 20 Dec 2007 12:16:00 +0000</pubDate><atom:updated>2007-12-20T04:17:10.901-08:00</atom:updated><title>Check 64 bit on Solaris</title><description># isainfo -vk</description><link>http://unix.ossb.com.my/2007/12/check-64-bit-on-solaris.html</link><author>noreply@blogger.com (MML)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4957082747201412731.post-3048817050098066819</guid><pubDate>Thu, 20 Dec 2007 12:15:00 +0000</pubDate><atom:updated>2007-12-20T04:16:21.863-08:00</atom:updated><title>Unix printing services</title><description>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;</description><link>http://unix.ossb.com.my/2007/12/unix-printing-services_20.html</link><author>noreply@blogger.com (MML)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4957082747201412731.post-9125467138541287664</guid><pubDate>Thu, 20 Dec 2007 12:14:00 +0000</pubDate><atom:updated>2007-12-20T04:15:08.817-08:00</atom:updated><title>Packages / Pacthes</title><description>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</description><link>http://unix.ossb.com.my/2007/12/packages-pacthes.html</link><author>noreply@blogger.com (MML)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4957082747201412731.post-448219776218084151</guid><pubDate>Thu, 20 Dec 2007 12:01:00 +0000</pubDate><atom:updated>2007-12-20T18:22:06.178-08:00</atom:updated><title>NFS Sharing resources from the server</title><description>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;</description><link>http://unix.ossb.com.my/2007/12/nfs-sharing-resources-from-server_20.html</link><author>noreply@blogger.com (MML)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4957082747201412731.post-8278373107291937392</guid><pubDate>Thu, 20 Dec 2007 11:59:00 +0000</pubDate><atom:updated>2007-12-20T04:00:17.821-08:00</atom:updated><title>Enable tftp services on Solaris10</title><description>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</description><link>http://unix.ossb.com.my/2007/12/enable-tftp-services-on-solaris10.html</link><author>noreply@blogger.com (MML)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4957082747201412731.post-2522580283937292614</guid><pubDate>Thu, 20 Dec 2007 11:58:00 +0000</pubDate><atom:updated>2007-12-20T03:58:29.410-08:00</atom:updated><title>Configuring ntpdate</title><description>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</description><link>http://unix.ossb.com.my/2007/12/configuring-ntpdate.html</link><author>noreply@blogger.com (MML)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4957082747201412731.post-8544631413415384102</guid><pubDate>Thu, 20 Dec 2007 11:52:00 +0000</pubDate><atom:updated>2007-12-20T03:53:32.519-08:00</atom:updated><title>Enable large file</title><description>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</description><link>http://unix.ossb.com.my/2007/12/enable-large-file.html</link><author>noreply@blogger.com (MML)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4957082747201412731.post-3980958469847255932</guid><pubDate>Thu, 20 Dec 2007 11:45:00 +0000</pubDate><atom:updated>2007-12-20T03:46:00.307-08:00</atom:updated><title>tar Command</title><description>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</description><link>http://unix.ossb.com.my/2007/12/tar-command.html</link><author>noreply@blogger.com (MML)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4957082747201412731.post-190310006904394324</guid><pubDate>Sun, 02 Dec 2007 13:39:00 +0000</pubDate><atom:updated>2007-12-02T05:40:00.250-08:00</atom:updated><title>The history of UNIX</title><description>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; </description><link>http://unix.ossb.com.my/2007/12/history-of-unix.html</link><author>noreply@blogger.com (MML)</author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></item></channel></rss>