2014年8月12日 星期二

FreeBSD VMware Tools 原廠手冊安裝版


For FreeBSD virtual machines, you manually install or upgrade VMware Tools by using the command line.

Install the latest version of VMware Tools to enhance the performance of the virtual machine's guest operating system and improve virtual machine management. When you power on a virtual machine, if a new version of VMware Tools is available, you see a notification in the status bar of the guest operating system.

Power on the virtual machine.
Verify that the guest operating system is running.
Because the VMware Tools installer is written in Perl, verify that Perl is installed in the guest operating system.
For vSphere virtual machines, to determine whether you have the latest version of VMware Tools, in the vSphere Client inventory, select the virtual machine and click the Summary tab.

1

Select the menu command to mount the VMware Tools virtual disc on the guest operating system.

VMware Product
Menu Command
vSphere Client
Inventory > Virtual Machine > Guest > Install/Upgrade VMware Tools
vSphere Web Client
All Actions icon > Configuration > Install/Upgrade VMware Tools
Fusion
Virtual Machine > Install (or Upgrade) VMware Tools
Workstation
VM > Manage > Install (or Upgrade) VMware Tools
Player
Virtual Machine > Install (or Upgrade) VMware Tools
2

In the virtual machine, log in to the guest operating system as root and open a terminal window.
3

If the distribution does not automatically mount CD-ROMs, mount the VMware Tools virtual CD-ROM image.
For example, type mount /cdrom.
4

Change to a working directory (for example, /tmp).
cd /tmp
5

Untar the VMware Tools tar file.
tar zxpf /cdrom/vmware-freebsd-tools.tar.gz
6

If the distribution does not use automounting, unmount the VMware Tools virtual CD-ROM image.
umount /cdrom
7

Run the installer and configure VMware Tools.
cd vmware-tools-distrib
./vmware-install.pl
Usually, the vmware-config-tools.pl configuration file runs after the installer file finishes running.
8

Respond to the prompts by pressing Enter to accept the default values, if appropriate for your configuration.
9

Follow the instructions at the end of the script.
Depending on the features you use, these instructions can include restarting the X session, restarting networking, logging in again, and starting the VMware User process. You can alternatively reboot the guest operating system to accomplish all these tasks.

If you are using vCenter Server, the VMware Tools label on the Summary tab changes to OK.

資料來源 vSphere 

FreeBSD ZFS修正

由於伺服器的記憶體大於8GB,所以系統會一直出現下面的訊息
ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present;gdns2 kernel: to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf.

要求在/boot/loader.conf檔案裡新增一行
vfs.zfs.prefetch_disable=0
重新開機就可以了。

Extreme Core Switch Command

(1) enable ipforwarding 功能

(功能說明)允許VLAN是否可以forwarding到別的VLAN,如果不啟用就只能在自己的VLAN下使用,無法跟別的VLAN互通。

(使用說明)
# enable ipforwarding --> 全部的VLAN啟用 ipforwarding 功能
#enable ipforwarding vlan "vlan_name" --> 啟用單一個VLAN ipforwarding 功能
=====================================================================
(2) configure iproute 功能

(功能說明)增加/刪除某一個IP網段的路由到另一個網段的功能或設定default route。

(使用說明)
# configure iproute add 10.1.1.0/24  123.45.67.1    --> 增加某一個IP網段的路由功能
# configure iproute delete 10.1.1.0/24  123.45.67.1 --> 刪除某一個IP網段的路由功能
# configure iproute add default 10.1.1.0 --> 設定預設路由(default route)功能
=====================================================================
(3) configure bootprelay 功能

(功能說明)設定DHCP Relay功能。

(使用說明)
# configure bootprelay add 10.1.1.1   --> 設定 DHCP Server IP
# enable bootprelay all --> 設定全部的VLAN都可以使用 DHCP Relay
# enable bootprelay vlan "vlan_name" --> 設定某一個 VLAN 可以使用 DHCP Relay
=====================================================================


變更Outlook 2010 [附件] 資料夾設定為不同的位置

  1. 按一下 [開始],然後按一下 [執行]。
  2. 在 [開啟] 方塊中,輸入regedit,然後按一下[確定]
  3. 找出下列登錄機碼:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
  4. 在右邊視窗按兩下 [Personal]-->修改。
  5. 將值變更為您想要的路徑。例如:
    預設是 %USERPROFILE%\Documents 的附件,會將位置設至我的附件資料夾。
    改為E:\。
  6. 按一下 [登錄] 功能表的 [結束]。
  7. 重新啟動 Outlook。
當您開啟新的電子郵件附加檔案時,[插入檔案] 對話方塊會開啟您指定的資料夾。

資訊來源:微軟技術網站