2015年2月9日

Command rejected: An interface whose trunk encapsulation is "Auto" can not be configured to "trunk" mode.

Command rejected: An interface whose trunk encapsulation is "Auto" can not be configured to "trunk" mode.


解決方法:
Switch(config-if)#switchport trunk encapsulation dot1q
Switch(config-if)#switchport mode trunk

2014年7月2日

Exchange 2010 Management Shell 匯出範例

查網路上的匯出範本
http://community.spiceworks.com/topic/151529-list-of-all-mailboxes-on-exchange-2010-sp1

結果中文姓名是問號

export-csv後面要加參數 -encoding utf8即可解決

get-mailbox | select-object displayname, SamAccountName, Organization, OrganizationalUnit, HiddenFromAddressListsEnabled, PrimarySmtpAddress, RecipientType, RecipientTypeDetails | export-csv -path c:\test.csv -encoding utf8



Get-Mailbox -ResultSize Unlimited | ForEach-Object {Get-MailboxStatistics -Identity $_.Identity | Select-Object DisplayName, TotalItemSize}

2013年9月13日

手動更新Exchange Server 2010離線通訊錄

Exchange Management Console-->組織組態-->信箱-->離線通訊錄-->右鍵-->更新

或按右鍵內容可以設定排程

2012年4月25日

設定httpd遇到的錯誤訊息

DocumentRoot must be a directory  -->關閉selinux

echo 0 > /selinux/enforce


httpd apr_sockaddr_info_get() failed --> /etc/hosts 設定主機名稱

httpd start failed without error message -->  logs資料夾不存在






2012年4月10日

VNC在Win7無法使用Ctrl+Alt+Del登入

開啟 本機群組原則管理器->電腦設定->系統管理範本->Windows元件->Windows登入選項->停用或啟用軟體Secure Attention Sequence->啟用

2012年2月17日

VSFTPD設定

不讓某帳號離開家目錄
修改vsftpd.conf
chroot_list_enable=yes //啟動chroot_list_file檔案的功能
chroot_list_file=/etc/vsftpd.chroot_list //列在裡面的使用者,無法離開家目錄

預設讓所有帳號不能離開家目錄,只有特定的帳號才行
chroot_local_user=yes
chroot_list_enable=yes //啟動chroot_list_file檔案的功能
chroot_list_file=/etc/vsftpd.chroot_list //列在裡面的使用者,可離開家目錄

2011年8月1日

Outlook寄信出現介面未登錄訊息修復方法

開始->執行->Regsvr32.exe %Windir%\System32\Ole32.dll

追蹤者