IT Tips

You are currently browsing the articles from KomKid.Net matching the category IT Tips.

Service ports for firewall configuration

DHCP
*UDP 67, 2535

DNS
*UDP 53
*TCP 53,139, 445

Symantec Systen Center
*TCP 2967

Written by Komkid on January 26th, 2010 with no comments.
Read more articles on Admin and IT Tips and Networking.

Open Visio file with Dia

Dia เปิดไฟล์ของ Visio (*.vsd) ตรง ๆ ไม่ได้ แต่เปิด XML Drawing (*.vdx) ได้
ดังนั้นก็ง่าย ๆ ด้วยการเปิดไฟล์ Visio แล้ว Save as เป็น XML Drawing (*.vdx) ดังตัวอย่าง
visio_xml_drawing
dia_xml_drawing

Written by Komkid on November 23rd, 2009 with no comments.
Read more articles on IT Tips and Software.

Solve Host to IP without DNS

แปลง Host เป็น IP โดยไม่ต้องพึ่ง DNS Server ทำได้โดย ระบุในไฟล์ ชื่อ hosts
ของ Windows อยู่ที่ C:\WINDOWS\system32\drivers\etc\hosts
ของ linux อยู่ที่ /etc/hosts

รูปแบบคือ
IP ช่องว่างตามด้วย host

ตัวอย่างของ Windows

# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a ‘#’ symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

127.0.0.1 localhost

อันนี้ของ linux

192.168.0.250 IF-Nikom.sci.com IF-Nikom
192.168.0.1 axaptaserver.sci.com axaptaserver
192.168.0.251 server1.sci.com server1
192.168.0.252 server2.sci.com server2
192.168.0.253 server3.sci.com server3

ตามหลักการก็น่าจะเร็วกว่าการใช้ dns ด้วย เพราะไม่ต้องวิ่งผ่าน server

Written by Komkid on October 4th, 2009 with no comments.
Read more articles on IT Tips and Networking.

OpenOffice : Rows to repeat at top

เวลาจะพิมพ์โดยให้มีแถวใดขึ้นอยู่บนหัวกระดาษทุกหน้า
ใน Excel จะเข้าไปที่
1.File > Page Setup…
2.แล้วก็คลิก tab Sheet
3.ในกลุ่มของ Print titles เลือก Rows to repeat at top ดังรูป

rows_to_repeat_at_top

ใน OpenOffice เข้าไปที่
1.Format > Print Ranges > Edit…
2.แล้วก็เลือกตรง Rows to repeat

print_range_edit

Written by Komkid on September 3rd, 2009 with no comments.
Read more articles on IT Tips and OpenOffice.

Cleanse the free space on a logical disk

เอาพื้นที่ของฉันคืนมา!
ทั้งที่ ๆ ลบไฟล์ออกแล้ว แต่พื้นที่ว่างกลับไม่เพิ่มขึ้นซักเท่าไหร่ มาลองวิธีนี้ดูครับ

วิธีที่ 1.
download file จาก http://download.sysinternals.com/Files/SDelete.zip
แตกไฟล์แล้วเรียก run ผ่าน cmd

sdelete -c drive

เช่น

sdelete -c c:/

จาก http://technet.microsoft.com/en-us/sysinternals/bb897443.aspx

วิธีที่ 2.
download file จาก http://www.feyrer.de/g4u/nullfile-1.02.exe

แล้วก็ Double Click จากนั้นก็รอจนโปรแกรมทำเสร็จ

จาก http://kakku.wordpress.com/2008/06/23/virtualbox-shrink-your-vdi-images-space-occupied-disk-size/

Written by Komkid on September 3rd, 2009 with no comments.
Read more articles on IT Tips and Software.

« Older articles

No newer articles