2009年10月13日 星期二

docx 格式轉換

原文出處
http://forum.libracafe.com/comments.php?DiscussionID=117

2009年8月13日 星期四

Linux - 常用指令 (一) -user,telnet server,samba server

1.Add user
#useradd user
#passwd user

2.Enable telnet server
#vim /etc/xinetd.d/telnet
#service xinetd start

3.Enable samba server
#vim /etc/samba/smb.conf
#service smb start
#smbpasswd -a

2009年8月12日 星期三

調整VMWare 容量磁區大小

出處 :http://id8051.pixnet.net/blog/post/23166522

如果要變更 VMWare 現有的虛擬磁碟空間,可以利用 VMWare Server 內建的 VMWare Virtual Disk Manager。
這是命令列工具程式,檔名是 vmware-vdiskmanager.exe。位置在C:\Program Files\VMware\VMware Workstation底下
這支工具程式的功能很多,例如建立、轉換虛擬磁碟機、以及擴充虛擬磁碟機的空間(不過這支工具並不能縮小虛擬磁碟的空間)

範例
檔案位置:D:\VMware\Xp\Windows XP Professional_SP3\HDD0.vmdk
程式的目錄位置:C:\Program Files\VMware\VMware Workstation

增加容量方法如下::

1.切換DOS模式
切換到該程式的目錄:
C:\Program Files\VMware\VMware Workstation

2.執行程式指令:
vmware-vdiskmanager.exe -x 16Gb "D:\VMware\Xp\Windows XP Professional_SP3\HDD0.vmdk"

注意引號


指令說明:
vmware-vdiskmanager.exe -x 16Gb "D:\VMware\Xp\Windows XP Professional_SP3\HDD0.vmdk"
vmware-vdiskmanager.exe:程式
-x :擴充容量參數
16GB :預定擴充後的大小
D:\VMware\Xp\Windows XP Professional_SP3\HDD0.vmdk:指定欲擴充虛擬磁碟的檔案位置

執行後的畫面如下:
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
C:\Program Files\VMware\VMware Workstationvmware-vdiskmanager.exe -x 16gb "D:\VMware\Xp\Windows XP Professional_SP3\HDD0.vmdk"

Using log file C:\DOCUME~1\User\LOCALS~1\Temp\vmware-User\vdiskmanager.log
Grow: 100% done.
The old geometry C/H/S of the disk is: 16383/16/63
The new geometry C/H/S of the disk is: 16383/16/63
Disk expansion completed successfully.

WARNING: If the virtual disk is partitioned, you must use a third-party
utility in the virtual machine to expand the size of the
partitions. For more information, see:
http://www.vmware.com/support/kb/enduser/std_adp.php?p_faqid=1647
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////