Tuesday, August 30, 2011

Increase Your VMware Virtual Hard Disk Size ( vmdk file )

Required Tools

VMWare Product : Working Virtual machine and Vmware Workstation (it will work with other vmware product such as GSX Server and VMware Server).
GParted LiveCD : Third-party utility to expand the size of a virtual disk.

Step # 1: Shutdown The Guest Operating System

Shutdown and poweroff Windows Vista.

Delete all your snapshots from snapshot manager by visting VM > Snapshot Manger. Since you are going to resize you virtual disk, these snapshots going to create a problem for you.

Backup your entire virtual machine. My VM is located at /share/vms/WindowsVista. So I made a backup:
# cp -arv /share/vms/WindowsVista /safe/path/to/vm/05062009/
OR
# rsync /share/vms/WindowsVista user@lan.nixcraft.net.in:/.dumps/vms/05062009/
Another option is you can clone your guest in VMware, if you want to keep the existing virtual machine configuration by visiting VM > Clone option.
Step # 2: Increase Your Virtual Machine's Disk Capacity

Open shell prompt and type the following command:
# /usr/bin/vmware-vdiskmanager -x {diskSize}GB yourvm.vmdk
If you are using Windows operating host system change directory to C:\Program Files\VMware\VMware Workstation or add this to your PATH settings. Click on Start > Run and type cmd to open Windows shell prompt:
vmware-vdiskmanager -x {diskSize}GB "c:\vm\yourvm.vmdk"
OR use full path as follows
C:\Program Files\VMware\VMware Workstation\vmware-vdiskmanager -x {diskSize}GB "c:\vm\yourvm.vmdk"
Example: Increase Size to 32GB

Linux host example:
# /usr/bin/vmware-vdiskmanager -x 32GB /share/vms/WindowsVista/vista.vmdk
Windows host example:
C:\Program Files\VMware\VMware Workstation\vmware-vdiskmanager -x 32GB "c:\vm\centos.vmdk"
Step # 3: Expand The Size Of a Virtual Disk

Now, disk size is increased but operating system will only show 16GB used and 16GB unused. To add new 16GB to C: (i.e. expand the size of a a virtual disk), use GParted. You will need to use a third-party utility such as GParted to resize the expanded partitions. The GParted application is the GNOME partition editor for creating, reorganizing, and deleting disk partitions. GParted is a live Linux based CD. Download latest version here or use wget command as follows:
$ cd /tmp
$ wget http://nchc.dl.sourceforge.net/sourceforge/gparted/gparted-live-0.4.5-2.iso

Start Vmware

Select your VM (such as Windows Vista). Click on VM menu > Select Properties > Select CD / DVD > Use ISO Image > Click on Browse > Select /tmp/gparted-live-0.4.5-2.iso > Ok > Save.
continute http://www.cyberciti.biz/tips/howto-resize-vmware-virtual-harddisk-size.html

การกำหนด password ของ root ใน UBUNTU

สำหรับการติดตั้ง Linux UBUNTU แล้ว จะไม่มีให้กำหนดรหัสผ่าน ของ root นั้น แต่เราสามารถกำหนดได้โดยวิธีดังนี้
login ด้วย user ของเราที่กำหนดไว้
แล้วพิมพ์แบบนี้
$sudo passwd root
ใส่รหัสผ่านของ user เราก่อน พอขึ้นข้อความ
Enter new UNIX password:
Retype new UNIX password:
ก็ใส่รหัสผ่านของ root ได้เลย

สำหรับการกำหนดให้ sudo ไม่ต้องถามรหัสผ่านเวลาใช้ sudo
สั่ง sudo pico /etc/sudoers (ระบบจะถามรหัสผ่านก่อน)
ใส่บรรทัด myusername ALL= NOPASSWD: ALL (myusername คือ user ของเรา)
สมมุติ ว่าตอนเราติดตั้งได้สร้าง user คือ paitoon
# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
# Host alias specification

# User alias specification

# Cmnd alias specification

# Defaults

Defaults !lecture,tty_tickets,!fqdn

# User privilege specification
root ALL=(ALL) ALL
paitoon ALL= NOPASSWD: ALL
# Members of the admin group may gain root privileges
#%admin ALL=(ALL) ALL

ref: http://mrkohkoh.exteen.com/20061015/password-root-ubuntu

Wednesday, August 10, 2011

The evaluation period for Microsoft Lync Server 2010 is about to expire

Updating From the Evaluation Version of Microsoft Lync Server 2010

If you have installed the Evaluation version of Microsoft Lync Server 2010, you will eventually need to update that installation a licensed copy of the software; that's because the evaluation version expires 180 days after it was installed. However, you will not need to completely uninstall the evaluation version and then install the licensed version. Instead, after you have obtained a valid licensing key, you can update the evaluation version of Lync Server 2010 by carrying out the following procedure on each computer acting as a Lync Server Front End Server, Director, or Edge Server. Note that you do not have to update computers carrying out other server roles, such as a Monitoring Server or Archiving Server.


- Lync Server Management Shell
- msiexec.exe /fvomus server.msi EVALTOFULL=1 /qb
Note that you might need to specify the full path to the file server.msi. This file can be found in the Setup folder of the Lync Server Volume media installation files
- Enable-CsComputer
- Get-CsServerVersion
will analyze the local computer and report back one of the following:
That the Lync Server volume license key has been installed on the computer, meaning that no updating is necessary.
That the Lync Server evaluation license key has been installed, meaning that the computer must be updated.
That no volume license key is required on the computer. Updating from the evaluation version to the licensed version is only required on Front End Servers, Directors, and Edge Servers.

Ref : http://technet.microsoft.com/en-us/library/gg521005.aspx

Monday, August 01, 2011

Sony 32CX520 LCD TV

ถอย Sony 32CX520 LCD TV ที่งาน Power Buy Expo 2011 เนื่องจาก 14 นิ้วตัวเก่าไม่มีภาพมีแต่เสียงลองย้ำลายปริ๊นแล้วไม่หายจึงตัดใจ






ขนาดของจอ LCD 32 นิ้ว (81 ซ.ม.) 16:9
ระบบ TV Digital: DVB-T Analog: B/G, D/K, I, L, M
ระบบสี NTSC 3.58, NTSC 4.43, PAL, SECAM
สัญญาณวีดีโอ 480/60i, 480/60p, 576/50i, 576/50p, 720/50p, 720/60p, 1080/50i, 1080/60i, 1080/24p (HDMI™ only), 1080/50p (HDMI™ / Component), 1080/60p (HDMI™ / Component)

ภาพ
ความละเอียดในการแสดงผล Full HD 1080 (1920 x 1080)
วงจรประมวลผลภาพ ระบบประมวลผลภาพ X-Reality
ประเภทหลอดแบ็คไลท์ CCFL
Live Colour™ ใช่
Deep Color ใช่
Intelligent Image Enhancer ใช่
Intelligent MPEG Noise Reduction ใช่
Advanced Contrast Enhancer (ACE) ใช่
24P True Cinema™ ใช่
PhotoTV HD ใช่
มุมมอง 178° (ขวา/ซ้าย), 178° (บน/ล่าง)
รูปแบบจอภาพ TV: Full/ Normal/ Wide Zoom/ Zoom/ Caption/ 14:9, PC: Full 1/ Full 2/ Normal
โหมดภาพ Vivid/ Standard/ Custom/ Cinema/ Game-Standard/ Game-Original/ Graphics/ Sports/ Animation/ Photo-Vivid/ Photo-Standard/ Photo-Original/ Photo-Custom
CineMotion/Film Mode/Cinema Drive ใช่
3D Comb Filter ใช่

เสียง
โหมดเสียง Dynamic / Standard / Clear Voice
โหมดเสียงเซอร์ราวด์ ภาพยนตร์ / เพลง / กีฬา / เกม
Sound Enhancer ใช่
S-Master ใช่
S-Force S-Force Front Surround 3D
Dolby® Dolby® Digital/ Dolby® Digital Plus/ Dolby® Pulse
เสียงแบบ Simulated Stereo ใช่
ระบบสเตอริโอ NICAM, A2
กำลังขับเสียง 20วัตต์ (10วัตต์ x 2)

ช่องต่อสัญญาณ
HDMI™ / Audio In 4 (1 ข้าง/ 3 หลัง)
USB 2.0 2 (ข้าง)
การเชื่อมต่อ Ethernet 1 (หลัง)
ช่องต่อเข้าวีดีโอ Composite 2 (หลัง/ 1 ไฮบริด)
ช่องต่อเข้าวีดีโอ Component 1 (หลัง/ ไฮบริด)
ช่องต่อเข้า RF 1 (หลัง)
ช่องต่อเข้า PC HD15 1 (ข้าง)
Digital Audio Output(s) 1 (หลัง)
Audio Out 1 (ข้าง)
Headphone Out 1 (ข้าง)

คุณสมบัติอื่นๆ
BRAVIA Sync ใช่
DLNA ใช่
Photo MAP ใช่
Quick Start & Viewing ใช่
Remote Keyboard (VAIO) ใช่
Picture Frame Mode ใช่
การเล่นไฟล์ผ่าน USB ใช่ (วีดีโอ, เพลง, ภาพนิ่ง)
เลือกฉาก Photo/ Music/ Cinema/ Game/ Graphics/ Sports/ Animation
การควบคุมสิทธิ์การเล่น ใช่
นาฬิกา ใช่
ตั้งเวลา Sleep Timer ใช่
ตั้งเวลาเปิด/ ปิด ใช่
Teletext ใช่ (2000 หน้า)
PAP (Picture And Picture) PAP (ปรับได้)
PIP (ภาพนิ่งซ้อนในภาพนิ่ง) ใช่
ปรับหมุนซ้าย-ขวา / ปรับก้ม-เงย ใช่ (ซ้าย 20°/ ขวา 20°) / -

คุณสมบัติด้านเน็ตเวิร์ค
Wi-Fi Direct Network Update (ต้องเชื่อมต่อผ่าน Wi-Fi adaptor UWA-BR100)
Skype™ Ready ใช่ (ต้องใช้กล้อง CMU-BR100)
TrackID™ ใช่
Video Search ใช่
Media Remote ใช่ (ผ่านการอัพเดท firmware)
What's New ใช่ (ผ่านการอัพเดท firmware)

ความบันเทิง
BRAVIA Internet Video ใช่
BRAVIA Internet Widgets ใช่
Wi-Fi Wireless LAN Ready (ต้องเชื่อมต่อผ่าน Wi-Fi adaptor UWA-BR100)

ฟังก์ชั่นสำหรับการประหยัดพลังงาน
โหมดการปิด Backlight ใช่
Presence Sensor ใช่
ตัวตรวจจับสัญญาณแสง ใช่
วัสดุหีบห่อ กล่องแบบรีไซเคิล (มากกว่า 70%)

ทั่วไป
ความต้องการพลังงาน AC 110-240V, 50/60Hz
การกินไฟ ประมาณ 109 วัตต์ (ขณะทำงาน)
การกินไฟขณะปิดเครื่อง ประมาณ 0.25W
ขนาด (กว้าง x ยาว x ลึก) ม.ม. พร้อมขาตั้ง ประมาณ 799 x 532 x 230 มม.
ขนาด (กว้าง x ยาว x ลึก) ม.ม. ไม่มีขาตั้ง ประมาณ 799 x 502 x 70 มม.
ขนาด (กว้าง x ยาว x ลึก) ม.ม. พร้อมขาตั้ง ประมาณ 11.4 กก.
น้ำหนักโดยไม่มีขาตั้ง ประมาณ 8.7 กก.

อุปกรณ์เสริมที่มาพร้อมตัวเครื่อง
รีโมทควบคุมการทำงาน RM-GD020
แบตเตอรี่ 2 x AAA


จากนั้นก็อัพเดตของซอฟต์แวร์ระบบ (เวอร์ชั่น 3.121GAA) เนื่องจากของเดิมเป็น 2 กว่าๆ
สิ่งที่ได้มาก็ตามนี้
- Skype
- Twitter
- Facebook
- Media remote
- VAIO Remote Keyboard
- Audio Theatre Control Widget

ขั้นตอนการ up firmware ดูได้ที่ http://www.sony.co.th/support/download/450329
review TV ดูได้ที่
http://www.lcdtvthailand.com/review/detail.asp?desc=1&param_id=767

Lync Control Panel

ในการเข้าหน้า Lync Control Panel แล้วขึ้นข้อความ HTTP Error 403.14 - Forbidden หรือว่า permission ให้แก้โดยทำการ trust site นั้นซะ หรือเข้าทาง website ที่เครื่องอื่นโดยผ่าน https://Server.domain.com/cscp ก็ได้ แต่ต้อง trust เช่นกัน