總網頁檢視次數
星期三, 8月 11, 2010
星期二, 8月 10, 2010
2010/08/10 Daily tasks
2. Photo for Tom's damaged laptop case and box
3. Monthly IT team update meeting
4. Check Rsync options
5. update 15 min order number check script to include ys.au and ys.hk site
星期一, 8月 09, 2010
2010/08/09 Daily tasks
2. Burn CD for KH
3. Check F5 strange CPU/RAM utilization
4. Check Tom's old laptop harddisk ... Certified ..two laptop shipped from US office are heavily damaged due to no package .... 0_0 .....
星期五, 8月 06, 2010
2010/08/06 Daily tasks
2. Upload office setup file for US store
3. Prepare label printer for TW agent
4. Cut some CD for material of the label printer roller
5. Discuss about the MBK site email bounce back handling and verification
星期四, 8月 05, 2010
2010/08/05 Daily tasks
2. Ask Alcatel engineer for system information and suggestion.
3. Move some web1 and web2 ya images to external storage
4. Setup Gmail account and email forwarding for Tom so that he can work at home with company emails
5. troubleshooting for Aman' pc
星期三, 8月 04, 2010
2010/08/04 Daily tasks
2. Check MBK site bounce back email list
3. Send Update offline member report to HMB
4. Update DNS for YSSTYLIST domain and update F5 to take care it with YS site
5. Lookup DB for Wang about the bounceback email list info.
星期二, 8月 03, 2010
2010/08/03 Daily tasks
2. Install Office 2007 format converter for US office PC
3. Out of 8 Tel for phone system demo in afternoon
4. Upload YS newsletter image for S3 for testing
星期一, 8月 02, 2010
2010/08/02 Daily tasks
2. Check f4u site information . No information shows that they have crawled our site for data.
3. Talk to marketing team for new domain of associates arrangement. They requests up to 6 months of graceful period .. but I have suggested the 3 months work flow for them .
4. IT team manager meeting for last month
5. Explain to Pauline about the new phone system's quotation and ask her to confirm the user requirements with CS team .
6. Fix some email list undelivery problem due to del of old email address ...
星期三, 7月 28, 2010
2010/07/28 Daily tasks
2. Update F5 and irules for checking referrer
星期一, 7月 26, 2010
2010/07/26 Daily tasks
2. renew YS secure cert . I miss all the notification email ....
3. Setup new copier for JP office
4. Again, troubleshooting YS blog xml problem.
星期六, 7月 24, 2010
2010/07/24 Daily tasks
星期五, 7月 23, 2010
2010/07/23 Daily tasks
2. Go to datacenter to troubleshoot the HGC line
3. Meeting with WT&T for phone system quotation and solution overview.
星期四, 7月 22, 2010
2010/07/22 Daily tasks
2. Meeting with phone sale ( Tech2 Value )
星期三, 7月 21, 2010
2010/07/21 Daily tasks
2. EMC sale meeting ( For VM information )
3. NWT sale meeting ( For MetroNet service to KR, JP and CN )
4. Check Akamai access pattern by logging in F5 for all Akamai requests. Review after 3 days or next monday.
星期二, 7月 20, 2010
2010/07/20 Daily tasks
2. Check DC bandwidth consumption for YA and YS image
3. MBK onsite Meeting
4. Kill "Yeti, navar.com and YouDaoBot to reduce 2Mbps traffic
星期一, 7月 19, 2010
2010/07/19 Daily tasks
2. Fix Linux VNC server issue ( reinstall X11 and Gnome desktop )
3. Renew VISA PCI scanning service contract
4. Renew application for dell credit
5. Check bandwidth usage for DC, Akamai for last week
6. YS AMM
星期五, 7月 16, 2010
2010/07/16 Daily tasks
2. Check cookie persistence problem
3. Go to DC to collect NWT modem
4. Go to DC to check HGC new line problem .
星期三, 7月 14, 2010
Setup Linux VNC server
2. yum groupinstall "Desktop Environment "
3. cd
4. cd .vnc
5. vi xtartup
Here is the sample configuration
#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
gnome-session & (==> for GNOME)
startkde & (==> for KDE)
6. service vncserver start
7. You can vnc from your pc to it by 5901 port
2010/07/14 Daily tasks
2. Setup Linux Vnc server for Wing testing machine
星期二, 7月 13, 2010
2010/07/13 Daily tasks
2. Setup new massemail server for ys.hk project
3. Move traffic from NWT line to HGC line to datacenter
星期一, 7月 12, 2010
2010/07/12 Daily tasks
1. Create login, email and backend account for new joiners in warehouse
2. Rebuild testing environment due to Sat's construction work
3. Fix PC power issue for Pauline
4. Fix China staff email problem
5. Setup 2 new PC for new joiners today and move a PC for part time
6. clean up noreply-permanent mail box for YA
7. Add some email to spam white list
8. Add Danielle to the facebook whitelist
9. Update firewall rules for monitor server agent access
10. Prepare June claim form
11. Prepare quotation for new mail server
12. Check with Ricoh sale for scan unit monthly maintenance charge , to waive it .
星期五, 7月 09, 2010
2010/07/09 Daily tasks
2. Meeting with Infa phone sale
3. Reply emails from staff about disable USB storage
星期四, 7月 08, 2010
2010/07/08 Daily tasks
2. Ask sale for server quotation
3. Record for Pacnet, WT&T and Webmetrics July invoice
4. Check for JP new printer requirement and find the model for them to buy
5. Create new share disk for Design team
6. Recharge ipipi.com account credit
星期三, 7月 07, 2010
2010/07/07 Daily tasks
2. Fix Tom printer problem
3. Fix strange email problem. A mailproc.tab is in the domain root and cause some email account not able to receive email .. after del the strange mailproc.tab. it is back to normal
星期二, 7月 06, 2010
2010/07/06 Daily tasks
2. Send out email about usb virus spreading.
3. Clean virus for few PCs
4. Bi-weekly IT update meeting
5. meeting with Network box sale for product information updates
6. Mail2 is death ... switch to mail1 and plan to buy a new server to replace mail2
星期一, 7月 05, 2010
2010/07/05 Daily tasks
2. Setup NFS and test performance... strange behavior .. why speed can over 1G while there is only 1 cable ? NFS cache ? let me take some D9 disc to try tomorrow ..
星期五, 7月 02, 2010
2010/07/02 Daily tasks
2. Calculate MBK site production cost
3. Setup Switches for testing environment
星期三, 6月 30, 2010
2010/06/30 Daily tasks
2. Take RAM from spare server and install them to catalog on Friday lunch
3. Tidy up some drawer
4. Find that store room has wet box .. report to Admin team to ask CF to come to check
星期二, 6月 29, 2010
2010/06/29 Daily tasks
2. Configuration of ATS switches
3. Reinstallation of System team laptop from Win7 testing environment back to WinXP
4. Setup the rest of new switches for testing environment.
星期一, 6月 28, 2010
2010/06/26 Daily tasks
2. Fix Angel network share issue
3. Meeting with 8 Telecom for phone system requirements
4. Discuss with JP office for network cabling and new PC/copier purchasing
5. Start to test ATS for server
星期四, 6月 24, 2010
星期三, 6月 23, 2010
2010/06/23 Daily tasks
2. Check MBK new arrival update requests and display logic for new arrival ball balll and discount ball ball
3. Bi-Weekly IT team update
4. Continue to tidy up the maintenance area
星期二, 6月 22, 2010
2010/06/22 Daily tasks
2. Put LAN cable to truck for YS CN team
3. Calculate network bandwidth usage distribution for different site ( For AC team )
4. MBK meeting
星期一, 6月 21, 2010
2010/06/21 Daily tasks
2. Fix KR printer problem
3. Fix Catalog server disk problem ( Input / output error , try to fsck ) .. Fail, RAID memory module has problem and we have taken the RAID memory from spare server in office and travel to DC by taxi to fix it ...OS is corrupted after memory is ok ... reinstall the OS and keep /SDB data ..
( full team arrived DC and so no one working in office in afternoon )
星期五, 6月 18, 2010
2010/06/18 Daily tasks
2. Fix Jacvin Outlook express loss email
星期四, 6月 17, 2010
2010/06/17 Daily tasks
2. bi-monthly it team meeting
3. application for passport ( prepare for JP trip ) . Got confirmation to get it at 6 July .
星期二, 6月 15, 2010
2010/06/15 Daily tasks
2. Check 201 server network issue
3. Connect phone ext for relocated staff
4. Clean up some old stuff.
星期一, 6月 14, 2010
2010/06/14 Daily tasks
1. Move computer for YS HK team
2. Connect LAN cable
3. Move stuff
4. adjust air-con winflow direction
Some IT related stuff
1. Check 201 server for strange network behavior. Alex will to DC to check tomorrow and replace two Cat6 Cable ..
星期四, 6月 10, 2010
2010/06/10 Daily tasks
2. Talk to JP team for new floor requirements
3. Data loss ... due to login timeout
星期三, 6月 09, 2010
2010/06/09 Daily tasks
2. Move for CH Video/Music & Inventory team seats and move phone ext location
3. Personal update meeting
4. Meeting with WT&T phone sale
星期二, 6月 08, 2010
2010/06/08 Daily tasks
2. Instruction for update whitelist of router for US store
3. Instruction for update registry for US store PC to disable the USB storage
4. team update meeting
5. Update May website performance data
星期一, 6月 07, 2010
2010/06/07 Daily tasks
2. Record for Ricoh meter charge
3. Record for PacNet monthly charge
4. Update F5 for YS HK site configuration and irules
5. Claim expense for May ( POS server, writing pad and taxi )
6 . CF wrongly come to install 9/F cabling today ... Need to monitor their work and do other thing later .
星期四, 6月 03, 2010
2010/06/03 Daily tasks
2. Take leave tomorrow
3. Meeting with new CDN service sale
4. Move Racks away from wall
星期三, 6月 02, 2010
2010/06/02 Daily tasks
2. Draw floorplan for new system team working area
3. Ask MBK to process the payment for MBK SSL
4. Check internet slowness problem ..
5. Call Ricoh for printer issues in HR room
6. Fix KR office excel problem
7. Fix CH music team product ( USB storage ) question
星期二, 6月 01, 2010
2010/06/01 Daily tasks
2. Continue to setup the US POS server
3. Check 9/F warehouse area decoration work . Should be ready on Thu for LAN cabling work
4. Update CyberSource keys for backend
5. Talk to sale for termination of NWT MetroNet line , confirm termination date as 11 July 2010
6. Send 1st payment to Ricoh for new contract ..
7. Make payment for 8/F cabling and 7 x pc order
星期一, 5月 31, 2010
2010/05/31 Daily tasks
Finaly Result ...WinXP SP3 + 15.46 Nforce driver are ok to boot up.
星期五, 5月 28, 2010
2010/05/28 Daily tasks
2. Move Rack away from wall for 9/F decoration work
3. Receive/install 2 x C2030 copiers from Ricoh. 3 x free printers will be delivered at middle of June
4. Process Secure Site Pro EV payment
5. Review SPF setting and using ys.com.hk for testing with our own DNS server
6. Arrange conduit work to start at next Thu
星期四, 5月 27, 2010
2010/05/27Daily tasks
2. Review the equipment load form and modify it to suit the needs by external parties
3. Check mydomain , linux starter package content and verify MKT team requirements
4. Arrange KR office to change to fiber connection in lunch time and update IP setting in HK
5. Confirm order for 9/F cabling
6. Buy AsRock ION330Pro for US POS server
星期三, 5月 26, 2010
2010/05/26 Daily tasks
2. Ricoh printer training
3. Review how to setup SPF setting for earthlink , using ys.com.hk to test
4. Finalized the 9/F cabling quotation
5. Setup Amazon S3 service and test with demo images .. (DONE ) ...S3 is great ...
星期二, 5月 25, 2010
2010/05/25 Daily tasks
2. Ricoh copiers training at tomorrow 10:00am
3. Fix Fedex.com stupid MX record problem ... they set their internal MX server with higher priority than the public mx server .. and they ask us to change our mx record order so as to send email to them ...( Accordind to RFC 2821 section five, they said that it is our fault that our email server don't retry if the first mx record is fail .. however, we are able to connect to their first mx record. We are able to connect but they just disconnect us immediately. How can our server know that their 1st mx server is not working in such situation ? .. ) ( reference : http://tools.ietf.org/html/rfc2821#section-5 )
4. Update April system performance data
5. Site visit by C-FULL for 9/F cabling
6. Arrange new copiers for 8/F and 9/F
7. Meet Ricoh sale for update and additional document
8. Phone verification from Verisign for EV cert application ( s.ys.com.hk)
星期一, 5月 24, 2010
2010/05/24 Daily tasks
2. Review and remove VPN users
3. Remove the last AP from 9/F and install it to 8/F
4. buy SMS credit for ipipi.com
5. Copy web1 and web2 image 75 to 79 folder to external drive
6. Check/Create ftp account for TW agent
星期四, 5月 20, 2010
2010/05/20 Daily tasks
2. Process application for SSL cert. (s.ys.hk, *.ys.hk , s.mbk, w.mbk )
星期三, 5月 19, 2010
2010/05/19 Daily tasks
2. Rearrange some copiers location
3. Continue to setup the HR SQL server
4. Replace a DHL thermal printer with 2844-z for afternoon demo
星期二, 5月 18, 2010
MS window - block USB store
If a USB storage device is not already installed on the computer
If a USB storage device is not already installed on the computer, assign the user or the group and the local SYSTEM account Deny permissions to the following files:- %SystemRoot%\Inf\Usbstor.pnf
- %SystemRoot%\Inf\Usbstor.inf
- Start Windows Explorer, and then locate the %SystemRoot%\Inf folder.
- Right-click the Usbstor.pnf file, and then click Properties.
- Click the Security tab.
- In the Group or user names list, add the user or group that you want to set Deny permissions for.
- In the Permissions for UserName or GroupName list, click to select the Deny check box next to Full Control.
Note Also add the System account to the Deny list. - In the Group or user names list, select the SYSTEM account.
- In the Permissions for UserName or GroupName list, click to select the Deny check box next to Full Control, and then click OK.
- Right-click the Usbstor.inf file, and then click Properties.
- Click the Security tab.
- In the Group or user names list, add the user or group that you want to set Deny permissions for.
- In the Permissions for UserName or GroupName list, click to select the Deny check box next to Full Control.
- In the Group or user names list, select the SYSTEM account.
- In the Permissions for UserName or GroupName list, click to select the Deny check box next to Full Control, and then click OK.
If a USB storage device is already installed on the computer
If a USB storage device is already installed on the computer, you can change the registry to make sure that the device does not work when the user connects to the computer. To have us fix this problem for you, go to the “Fix it for me” section. If you would rather fix this problem yourself, go to the “Let me fix it myself” section.
Fix it for me
To fix this problem automatically, click the Fix this problem link. Then, click Run in the File Download dialog box, and follow the steps in this wizard.
Note this wizard may be in English only; however, the automatic fix also works for other language versions of Windows.
Note if you are not on the computer that has the problem, save the Fix it solution to a flash drive or a CD and then run it on the computer that has the problem.
Now go to the "Did this fix the problem?" section.
Let me fix it myself
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:- Click Start, and then click Run.
- In the Open box, type regedit, and then click OK.
- Locate and then click the following registry key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor
- In the details pane, double-click Start.
- In the Value data box, type 4, click Hexadecimal (if it is not already selected), and then click OK.
- Exit Registry Editor.
2010/05/18 Daily tasks
2. Update F5 irules for Wing to block some public access to some internal testing pages
3. Look into blocking of USB storage device
4. Meeting for internal update meeting
5. Meeting for YS store security issues.
6. Short team update meeting
星期一, 5月 17, 2010
2010/05/17 Daily tasks
星期五, 5月 14, 2010
2010/05/14 Daily tasks
2. Find free tools to edit .ai file without Adobe software ( P.S. GIMP2 can edit .psd files )
3. Count new socket(LAN/Phone) needs and arrange location for new sockets.
4. Arrange NB2 and NB3 to reboot due to request from NB headquater
5. Reboot DC2 due to locking of files ..
星期四, 5月 13, 2010
2010/05/13 Daily tasks
2. Fix bug for HMB my account loyalty program display for different level of membership
3. Discuss the new browsing page update for HMB .. we will discuss with them for final decision in next meeting for details
4. Generate the cabling cost of 9/F new seats.
5. Remind HR about the air-con machine connection in the newly setup area
6. Check the newly setup area for potential problems ..
7. Find that the 8/F seating plan has just last less than 1 week. They have changed their mind again
8. Reserve two old printers for Ricoh to collect
星期三, 5月 12, 2010
2010/05/12 Daily tasks
2. Check NWT invoice for April
3. Personal update meeting ( ask for massemail hardware, spare hardare, store virus issue and new seating plan for 9/F )
4. Check new V3400 notebook. It is really cheap and has good performance .. highly recommended..
5. check email bounce back from HM domain ...
6. Prepare quotation requirement for 9/F D+V port expansion
P.S. really feel disappointed about the new seat plan which don't consider our needs and actual situation of our working model. Only consider the appearance but not other real life requirements.
星期二, 5月 11, 2010
2010/05/11 Daily tasks
2. Check and count 9/F new seat plan arrange and cabling
3. IT Update meeting
4. China Unicom Sale meeting for their services ( B/W, Co-location, DIA )
星期一, 5月 10, 2010
2010/05/10 Daily tasks
2. Check 8/F moving status
3. Move the last AP from 9/F to 8/F
4. Record for PacNet and WT&T charges
5. Meeting for infrastructure
6. Reconnect phone line ext for 8/F
7. Arrange NB to be rebooted at Fri 17:00
8. Fix Ricoh 222SF printer
星期五, 5月 07, 2010
2010/05/07 Daily tasks
2. Confirm HMB sale page update details
3. Check two new R710 servers and introduce to the team
4. Discuss/confirm Ricoh proposal with AC/Admin team and ask the sale for further information
5. Out for WT&T seminar in afternoon
P.S. Leung' last day
星期四, 5月 06, 2010
2010/05/06 Daily tasks
2. Install AP for 8/F
3. Check CA domain issues for Cherry
4. Discuss HMB sale page update details
5. Arrange copiers moving arrangement at Sat morning with Ricoh
6. Talk to Phone system sale for new phone system quotation with Admin/Cs team
星期三, 5月 05, 2010
2010/05/05 Daily tasks
2. Check YA abnormal bandwidth usage
3. Discuss to add more B/W for crawler activities
4. Production for Label printer small ribbon holder (step 1 )
5. Find link checker tool for Alice
6. Lower Google crawler rate to 3.x
星期二, 5月 04, 2010
2010/05/04 Daily tasks
2. Ask HR team for copier requirements and explain to them our new plan
3. Arrange to take down MBK 1 May leave notice
4. Explore the 9/F expansion possibility with HR.
5. Setup phone line for new joiner and Amy. ( no phone set for Amy yet )
6. Process order for China new PC. Dell changes the sale and need to submit some document again
7. Order for 2 x new Epson LQ300+ II
8. Talk to Henry about the new Ricoh proposal
星期一, 5月 03, 2010
2010/05/03 Daily tasks
1. Calculate MBK April Production charge
2. Add YS CN testing domain and update F5 irules
3. Talk to Ricoh sale about their new proposal 's calculation which is wrong ..
星期五, 4月 30, 2010
2010/04/30 Daily tasks
2. Analyze Ricoh copiers proposal (extra maintenance fee for 4th and 5th years vs new plan )
3. Moving some images for image server from D to USB , to save space for YS
4. Arrange holiday message for MBK
5. Arrange MBK Photo gallery demo with extra product related photo.
星期四, 4月 29, 2010
2010/04/29 Daily tasks
2. Meeting with Ricoh sale for new copier offer
3. Reply/check AOL spam complaint against our payment reminder email to Pacnet to avoid IP banned.
星期三, 4月 28, 2010
2010/04/28 Daily tasks
2. Discuss internal about the HMB comments of MBK photos taking
3. Talk to Ricoh sale for extra printer requirements
4. Quote MD for update background of MBK site
星期二, 4月 27, 2010
2010/04/27 Daily tasks
2. Suggest HM to change their practice
3. reply YS autoreply email issues
4. Check Web site alert for slowness, may related to Google crawler
5. Out to HMB for meeting
星期一, 4月 26, 2010
2010/04/26 Daily tasks
2. talk the initial 9/F expansion plan
3. Check 9/F HGC fiber connection with HGC engineers
4. Ask PacNet to check the datacenter HGC internal connection
5. Ask NWT for March invoice
6. Check with Cheung about their extra equipment requests.
- 4 x barcode scanner
- 4 x PCs
- 2 x Epson LQ300+ II
- 1 x light usage copier
7. Arrange to setup two wordpress testing environment
星期六, 4月 24, 2010
2010/04/24 Daily tasks
2. Clean up all game stations ( tidy up the cable and move them to a specific location , RIP ) ...
3. Add email address to spam whitelist for Tom ..
星期五, 4月 23, 2010
2010/04/22 Daily tasks
1. Look into the wordpress setup document ( basic system requirement )
2. Check report/query for Hallmark new report request
3. Repair two broken chair , one for Andy, one for spare.
4. Aman email account has over quota
5. Find out that CCTV company installed 3 CAT5E cable in our server room. Don' t know what they want to do ..
6. Move email for Rony from C drive to D drive and compact his folders.
星期四, 4月 22, 2010
2010/04/21 Daily tasks
1. Finish the evaluation of OrangeHRM. And it is not suitable for us
2. Provide suggestion to HR about their new online leave application project. Due to the current Stupid old HRM, it is not possible for us to add extra function for it, i.e. online leave application.
3. Install photo editing software for CN office Junior designers
4. Remove "show hidden folder" problem ... It may be infected by virus due to USB
- remove all autorun.inf for all root drive and USB finger
- remove C:\windows\system32\eset*
- remove usb finger's mbc.exe in root
5. Confirm cabling working with Roctec ( totally 81 single port nodes )
6. Move some internal traffic to go though 10Mbps link instead of 2Mbps ( 75% 10Mbps )
7. Eat Stephen's tea for his 1-take-passed driving license
星期三, 4月 21, 2010
MS Excel Vlookup syntax
= VLOOKUP ( lookup_value , table_array , col_index_num , range_lookup )
lookup _value: The value you want to find in the first column of the table_array.
table_array: This is the table of data that VLOOKUP searches to find the information you are after.
The table_array must contain at least two columns of data. The first column contains the lookup_values.
col_index_num: The number of the column in the table_array that contains the data you want returned.
range_lookup: A logical value (TRUE or FALSE only) that indicates whether you want VLOOKUP to find an exact or an approximate match to the lookup_value. Typing False will return exact matches only.
Example Using Excel's VLOOKUP Function:
Note: For help with this example, see the image above.
- Enter the following data into the cells indicated:
Cell Data
D3 - Part
D4 - Bearing
D5 - Bolt
D6 - Cog
D7 - Gear
D8 - WasherE3 - Price
E4 - $17.34
E5 - $1.54
E6 - $20.21
E7 - $23.56
E8 - $1.43
- Click on cell D1 and type the word Bolt. This is the part we are trying to price.
- Click on cell E2 - the location where the results - in this case, the price of a bolt - will be displayed.
- Click on the Formulas tab.
- Choose Lookup & Reference from the ribbon to open the function drop down list.
- Click on VLOOKUP in the list to bring up the function's dialog box.
- In the dialog box, click on the Lookup _value line.
- Click on cell D1 in the spreadsheet to tell VLOOKUP that we are looking for the price of bolts.
- In the dialog box, click on the Table_array line.
- Drag select cells D4 to E8 in the spreadsheet to enter that range into the dialog box. The table_array is the table of data that VLOOKUP searches for the lookup_value specified in cell D1.
- In the dialog box, click on the Col_index_num line.
- Type the number 2 to indicate that the data we want returned is in column 2 of the table_array.
- In the dialog box, click on the Range_lookup line.
- Type the word False to indicate that we want an exact match for our requested data.
- Click OK.
- In cell D1 of the spreadsheet, type the word bolt.
- The value $1.54 should appear in cell E1 displaying the price of a bolt as indicated in the table_array.
- If you click on cell E1, the complete function = VLOOKUP ( D1 , D4:E8 , 2 , FALSE ) appears in the formula bar above the worksheet.
P.S. In order to force the cell to be value, you can use paste special and in the operation menu, choose add ( which means that it will add up the value to the paste area. You just need to ensure that the area is blank and it will show the value )
2010/04/21 Daily tasks
2. Talk to the sale for the HRM system
3. Fixing HMB production attribute problem
4. Monitoring cabling to 9/F
5. Creating HGC working ticket number for PacNet
P.S. If you employ drivers and they told you that they cannot drive your car as it is too old. You should fire them instead of buying new cars for them to make their jobs working with less techniques.
星期二, 4月 20, 2010
2010/04/20 Daily tasks
2. Roctek meeting for new switches
3. IT internal bi-weekly meeting
4. Monthly YA meeting
5. Check and fix MBK customer account issue
6. Getting information of HRM
7. Check 8/F cabling. Should be finished at Wed.
星期五, 4月 16, 2010
2010/04/16 Daily tasks
2. Install TB and P for EMK , import her email
3. Record Ricoh meter charge invoice
4. Ship a self-made label printer ribbon holder to JP
5. Celebrate Thomas B-Day cake
6. Arrange to replace dm team all LCD with the new one
星期四, 4月 15, 2010
2010/04/15 Daily tasks
2. Checking 8/F cabling status, arrange to add a extra power socket for switches
3. Production of Label printer ribbon holders ( V4 and new version )
4. Give 3 x HKPOS barcode scanner to Cheung
5. Checking Office Proxy usage and add image extension to non-scan list to lower the CPU usage
星期三, 4月 14, 2010
2010/04/14 Daily tasks
2. Talk to Henry about the new PC arrangement
3. Review and confirm SAN storage warranty renewal
4. Discuss with Cheryl about the email digital signature research findings and issues.
5. All IT staff meeting
6. Personal update meeting
星期二, 4月 13, 2010
2010/04/13 Daily tasks
2. Look into Email security ( ssl cert and digital signature )
3. Apply Comodo free email cert for testing with different domain.
星期一, 4月 12, 2010
2010/04/12 Daily tasks
2. Arrange cabling for 8/F new office ( start at Wed )
3. Read the Google Big table paper ... It is interesting ..
4. Send a big label printer roller to JP office.
5. Check the new delivered Dell PC/ Monitor
6. Discuss with PL about the 8/F floor problem ..
7. Update meeting
星期五, 4月 09, 2010
2010/04/09 Daily tasks
2. Talk to sale for notebook quotation
3. Oracle warranty renewal
4. Fairwell Sony and copy his files
5. Discuss KR Dodostyle blocked by google problem with Insook
6. Checking YS new Arrival slowness
7. Change Office<=> Datacenter loadbalancing policy
星期三, 3月 03, 2010
F5 Path + URL operation
Return query part of the URI
[URI::query $uri PARAMETER_NAME ]
Return the Parameter value of Parameter name
i.e. set $uri = "/path/abc.aspx?a=1&b=2"
[URI::query $uri a]
it will return 1.
[HTTP::path ]
Return path part of the URI
F5 Switch operator
MATCH1 { ACTION1 }
MATCH2 { ACTION2 }
default { ACTION3_for_not_match }
}
星期二, 1月 19, 2010
Robocopy command
To copy only changed files by comparing time stamp ..
=> robocopy /E /SEC /NP /NFL /xo /purge source_path dest_path
星期一, 1月 04, 2010
F5 show stats command
bigstart restart|shutdown |kill SERVICE_NAME => to kill or restart services
F5 forces standby command
or
bigpipe fo standby
Type "bigpipe fo help" for help
星期二, 8月 25, 2009
CENTOS - iostat package
To Check Disk usage
iostat -x 5
iostat -t 2 -k
Check free memory
free -m
星期三, 8月 19, 2009
CENTOS - RAMDISK
Ramdisk is very good to have if you want something to stay in memory. Files in memory makes it so you can access them with out having to access hard drive all the time. Perfect candidates would be things which do not change eg. web images or downloadable files, etc. If you have Linux Kernel 2.4 or later, you already have support of ramdisk built in. You can check if ramdisk is setup by doing:
# dmesg | grep RAMDISK
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
You should get above output on CentOS and RHEL. Other linux flavors will have similar output as well. If you would like to see how they are named and what you would need to refer to, do the following:
# ls -l /dev/ram*
lrwxrwxrwx 1 root root 4 Apr 24 12:05 /dev/ram -> ram1
brw-rw---- 1 root disk 1, 0 Apr 24 12:05 /dev/ram0
brw-rw---- 1 root disk 1, 1 Apr 24 12:05 /dev/ram1
brw-rw---- 1 root disk 1, 10 Apr 24 12:05 /dev/ram10
brw-rw---- 1 root disk 1, 11 Apr 24 12:05 /dev/ram11
brw-rw---- 1 root disk 1, 12 Apr 24 12:05 /dev/ram12
brw-rw---- 1 root disk 1, 13 Apr 24 12:05 /dev/ram13
brw-rw---- 1 root disk 1, 14 Apr 24 12:05 /dev/ram14
brw-rw---- 1 root disk 1, 15 Apr 24 12:05 /dev/ram15
brw-rw---- 1 root disk 1, 2 Apr 24 12:05 /dev/ram2
brw-rw---- 1 root disk 1, 3 Apr 24 12:05 /dev/ram3
brw-rw---- 1 root disk 1, 4 Apr 24 12:05 /dev/ram4
brw-rw---- 1 root disk 1, 5 Apr 24 12:05 /dev/ram5
brw-rw---- 1 root disk 1, 6 Apr 24 12:05 /dev/ram6
brw-rw---- 1 root disk 1, 7 Apr 24 12:05 /dev/ram7
brw-rw---- 1 root disk 1, 8 Apr 24 12:05 /dev/ram8
brw-rw---- 1 root disk 1, 9 Apr 24 12:05 /dev/ram9
lrwxrwxrwx 1 root root 4 Apr 24 12:05 /dev/ramdisk -> ram0
All those ramdisks listed have same size. In above example, they are all 16MB. Let us change that so we have more space allowed. Note that I say allowed and not allocated. We allocate space in one of the later steps by formatting one of the drives above. Let us set it up so we have 128 MB. Since this has to be in multiples of 1024, we will setup Ramdisk to have 131072K.
vi /etc/grub.conf
Find first line which looks similar to following:
kernel /vmlinuz-2.6.9-42.0.10.EL ro root=/dev/VolGroup00/LogVol00
add ramdisk_size=131072 to the end of the line. Now your line should look like:
kernel /vmlinuz-2.6.9-42.0.10.EL ro root=/dev/VolGroup00/LogVol00 ramdisk_size=131072 Save and exit grub.conf. At this point you have it configured to have ramdisk with new size but it does not take effect until you reboot your system. Once you have rebooted your system, we can start doing rest of configurations.
mke2fs -m 0 /dev/ram0
This will format the ram0 ramdrive for us to use. At this point, kernel will allocate space for you. Let us setup Ramdisk mount point so we can use it. We will also have it be owned by user “sunny” so that user can read/write to that mount.
mkdir /home/ramdisk
mount /dev/ram0 /home/ramdisk
chown sunny.sunny /home/ramdisk
At this point you should be able to type: mount and see your new Ramdisk drive mounted on /home/ramdisk
Remember that everything you put on this drive will be gone if you reboot your server. If you unmounted the Ramdisk drive and remounted it, your files will still be there. It is because your system has that much ram set aside for your Ramdisk and will not use it for anything else. If you would like to setup Ramdisk the same next time you boot up, add these lines to your /etc/rc.local files.
mke2fs -m 0 /dev/ram0
mount /dev/ram0 /home/ramdisk
chown sunny.sunny /home/ramdisk
Source from : http://crazytoon.com/2007/06/01/ramdisk-how-do-you-install-and-set-up-ramdisk-under-linux-centos-rhel-fedora/
星期六, 8月 15, 2009
CENTOS - Update time zone and time
crontab -e
0 * * * * /usr/sbin/ntpdate -u stdtime.gov.hk
CENTOS 5.3 bonding ( my own script )
Add following two lines
alias bond0 bonding
options bond0 miimon=80 mode=6
*** backup configuration files for rollback
#cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0.bak
#cp /etc/sysconfig/network-scripts/ifcfg-eth1 /etc/sysconfig/network-scripts/ifcfg-eth1.bak
#vi /etc/sysconfig/network-scripts/ifcfg-eth0
Del all except the hardware mac address (HWADDR=xx:xx.... )
Add the following lines
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=no
#vi /etc/sysconfig/network-scripts/ifcfg-eth0
Del all except the hardware mac address (HWADDR=xx:xx.... )
Add the following lines
DEVICE=eth1
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=no
*** Add new bond0 configuration file
#vi /etc/sysconfig/network-scripts/ifcfg-bond0
Add the following lines
DEVICE=bond0
BOOTPROTO=none
ONBOOT=yes
NETMASK=255.255.255.0
IPADDR=x.x.x.x
GATEWAY=x.x.x.1
USERCTL=no
MTU=9000
That's all ... restart network to test
#service network restart
Remember to test reboot and see if all configuration will be up automatically ..
#shutdown -r now
CENTOS- bonding ( network teaming )
System: Debian Sarge 3.1 (vanilla kernel 2.6.12.4)
Modules Involved: bonding, mii, nic_module (e100 in this example)
Utilities: ifenslave, mii-tool
Preparation:
Before attempting to bond two NICs, it is highly recommended that you verify the integrity and functionality of each NIC on its own. This document assumes that you've already done that. Using 'mii-tool' you should see something like the following:
testbox:/# mii-tool
eth0: negotiated 100baseTx-FD, link ok
eth1: negotiated 100baseTx-FD, link ok
In order for this to work, the kernel must have support for bonding
devices. A few ways to check would be:
testbox:/# modprobe --list | grep bonding/lib/modules/2.6.12.4-vs2.0/kernel/drivers/net/bonding/bonding.ko
testbox:/# cat /boot/config-2.6.12.4-vs2.0 | grep -i bonding
CONFIG_BONDING=m
We use the mii-tool (mii.o module) to monitor the interfaces for
failover... though, as most ethernet adapters use an MII (Media
Independant Interface) to autonegotiate link speeds, its pretty standard
that you'd have this.
testbox:/# cat /boot/config-2.6.12.4-vs2.0 | grep -i mii# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
CONFIG_MII=y
testbox:/# modprobe --list | grep -i mii
/lib/modules/2.4.26-2-686/kernel/drivers/net/mii.ko
Second, your going to need to install the ifenslave utility.
testbox:/# apt-get update && apt-get install ifenslave
.......... removed standard output (nothing interesting)
Theres no configuration here, so that is that. Now we are ready for
the configuration files.
Configuration Files:
There are many different variations of this, but for now... this is how I did it to get it working.
vi /etc/modutils/aliases and add/edit the following:
alias bond0 bonding
alias eth0 e100
alias eth1 e100
options bonding mode=0 miimon=100
vi /etc/modutils/actions and add/edit the following:
probeall bond0 eth0 eth1 bonding
After editing the modprobe config files you need to run the command:
testbox# update-modules
vi /etc/network/interfaces and add/edit the following:
auto bond0
iface bond0 inet static
address 10.1.100.63
netmask 255.255.255.0
hwaddress ether 00:02:B3:48:50:2C
gateway 10.1.100.1
up ifenslave bond0 eth0 eth1
down ifenslave -d bond0 eth0 eth1
You do NOT set up entries for 'eth0' or 'eth1' outside of whats listed above under the 'bond0' entry. Bond0 will now be the interface that the kernel works with. running an 'ifconfig' will show all three interface (bond0,eth0,eth1), all with the same MAC and IP addresses.
And thats basically it. Now, all you should need to do is load the 'bonding' module and stop/start networking... and the apropriate modules should load automagically:
testbox:/# modprobe bonding
testbox:/# /etc/init.d/networking stoptestbox:/# /etc/init.d/networking start
You might have to play around with this part for a bit. For me I had to manually ifconfig up the bond0 device:
testbox:/# ifconfig bond0 10.1.15.63 netmask 255.255.255.0 up
In a higher end environment, you could plug each NIC into a separate switch (staying on the same VLAN) and further improve your high availability config... and so on and so forth.
Source from : http://www.howtoforge.com/nic_bonding
星期三, 8月 15, 2007
Setup Apache
- look for /etc/httpd/conf/httpd.conf
- search for ErrorDocument
- uncomment/add the line for 404 and 403
- type in http://xxx.xxx.com for redirection
2. Disable directory browsing
- look for /etc/httpd/conf/httpd.conf
- search for FollowSymLinks
- remove index from that line and make it like " Options FollowSymLinks"
*** service httpd restart , each time after you make changes to httpd.conf file so as to make it effective immediately ***