-
Menu
Categories
Archives
- May 2012 (1)
- March 2012 (2)
- December 2011 (2)
- November 2011 (1)
- October 2011 (1)
- August 2011 (1)
- June 2011 (1)
- December 2010 (1)
- May 2010 (1)
- April 2010 (2)
- March 2010 (3)
- January 2010 (1)
- December 2009 (1)
- November 2009 (1)
- August 2009 (1)
- July 2009 (2)
-
Author Archives: TingWei
What to do with old small capacity pendrive/thumbdrive – part 1
Every time when there is new pendrive/thumbdrive with larger released in the market, you will buy it for your mp3, movie, porn, iso…..junk files. It is fun to have small little tiny things with more capacity. End up you will have bunch of pendrive laying around your offices. I love to reuse the old devices for other purposes. I have few suggestion on for the old pendrive: Load Linux into pendrive and apply it as rescue disk. Suggest Backtrack 3 … Continue reading
fsck in SunOS 5.1 i386 processor
Yesterday was not a good day, gnome-session was dead in my Linux core machine causes some failure to my apps. My perforce proxy server is upside down, seems like the hardware is dying soon. As usual, unless the server has death certification, else we will continue to squeeze it…. Trying to google around for SUN OS single mode (without cd) boot up so i can run fsck on root volume. This is the finding i have for SunOS 5.1 i386 … Continue reading
LVM extend in live mode!
Q: I have a LVM(logical volume) in my Linux, i need to extend the size without offline the logical volume. A: You will need to ensure you have spaces in volume group. Assuming the VG name is : VolGroup00. [root@linux1 data]# vgdisplay — Volume group — VG Name VolGroup00 System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 10 VG Access read/write VG Status resizable MAX LV 0 Cur LV 8 Open LV 8 Max PV 0 Cur PV … Continue reading
LG Lollipop (GD580) GMAIL IMAP setup
I bought my LG lollipop recently and have been quite excited with the J-phone alike or feel. Bigger screen, Flip, Great animation in Menu and dashboard. With the impression that Jphone can access Email easily, so i decided to enable to email in my phone as well. By referring to Gmail setup here . However, the explanation sucks! It takes me few attempt before i can successfully access to GMAIL. Incoming Mail (IMAP) Server – requires SSL: imap.gmail.com Use SSL: … Continue reading
Promote NIS Slave Server in Redhat/CentOS
Situation: You have NIS Master, you need a slave setup in your office. This tutorial is covering steps for Redhat/CentOS/Fedora 64 bits. It might differ from what you have seen online. 1. Install ypserv in your server yum install -y ypserv.x86_64 2. Start the services service ypserv start service ypxfrd start 3. Verify the yp is ready #rpcinfo -u localhost ypserv program 100004 version 1 ready and waiting program 100004 version 2 ready and waiting 4. Copy the database fro … Continue reading
Use awk to calculate total size of files – part 1
Your boss came to you and asked for total size of files which has not been accessed for more than 30 days! Assume that you are just checking for 1 directory “/abc” . Here comes the simple command: find /abc -atime +30 -exec ls -lk ‘{}’ \; | awk ‘{SUM += $5} END {print SUM} ‘ Explaination: find /abc -atime +30 -exec ls -lk ‘{}’ \ find command will find /abc and check for accestime which has not been access … Continue reading
Netapp autosupport undelivered
Recently found my autosupport mail was undelivered. The config was follow exactly with the working one. So after digging for few days and finally i found the root cause. there is one file *.ems.gz is about 30MB and caused the exchange server to block it. (Thank god 1 of the triggered mail received) Netapp support had send me the instruction to rotate the log files: priv set advanced syslog rotate_syslog priv set ta.da……..problem resolved and you are able to receive … Continue reading
Posted in NetApp
Tagged autosupport failed, autosupport undelivered, NetApp, rotate_syslog
Comments Off
-rwsr-xr-x Unix file permission
Everybody handling a Unix operating system would very well know what chmod 777 means. That the owner, group and the user of the file is given all permissions (Read, Write and Execute on a particular file). This could otherwise be written as “chmod ugo+rwx “. Meaning that you are giving User, Group and Owner of the file, the rights to Read, Write and Execute the file. Here comes the rws scenario. Best example that is available for this rws is … Continue reading
Posted in Linux
Leave a comment
Redhat KVM – Network bridge
Redhat just released RHEL 5.4 with KVM & Xen both supported in this release, so i have downloaded CentOS 5.4 and try to play around with KVM. My hardware: Dell M710 with 8 cores of Nehalem , 72G of RAMs My OS: CentOS 5.4 with KVM & Xen installed My test guest: Windows 7 The sweet thing: virt-manager is able to support for KVM new machine creation. The future for Redhat virtualization , since Redhat acquired Qumranet(company behind KVM) The … Continue reading
Dell M710 Windows XP SAS RAID Driver for XP installation.
Dell has a very good Driver support page until recently they forced the user to use Dell Download Manager which is sucks! If you are XP user, you have no choice but to use Download Manager, but they did not provide Proxy setting in the Download Manager!! Firefox and IE both not working! Shame on you Dell! Luckily my colleague found a loop hole which is to use Linux’s Firefox to download the driver. So Dell latest M710 come with … Continue reading