分類彙整:未分類

讓 Windows Server 2012 允許多重遠桌登入

附錄: 讓 Windows Server 2012 允許多重遠桌登入 1. 執行 regedit.exe 2. 找到 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server 3. 將 fSingleSessionPerUser 設成 0 Ref: PeteNetLive – KB0000471 – Windows Server 2012 And 2008 R2 Enable Multiple RDP Sessions | PeteNetLiv

發表於 未分類 | 已標籤 | 發表迴響

mail 架設注意事項!

其實 email 它是一個"系統", 不只是單純的伺服器. 它有困難度, 對於新手來說, 是不知道架設一個 email 系統要小心的點在那邊. 下面我釐清一下要注意的地方 . 1. SMTP port 25, 是 server to server 的部分, 這邊最好的防護就是使用 RBL 擋住 spam email server 的 IP (SpamAssassin + TCPServer/IPtable) . 2. Submission Port 587, 這邊是 email client to … 繼續閱讀 →

發表於 未分類 | 已標籤 | 發表迴響

routeos_ddns

#定義 no.ip 相關設定,以下自行修改: #============================================================ :local DDNSUser "ggggg" :local DDNSPassword "gggg" :local DDNSHost "gggggg" :local DDNSInterface "pppoe-out1″ #============================================================ #以下程式如不了解,建議不要修改: #—————————————————————————————— #定義 IP 變數 :local DDNSIP :global DDNSLastIP #定義變數預設值 :if ([ :typeof $DDNSLastIP ] = nil ) do={ $DDNSLastIP "0.0.0.0″ } #取得網路介面 … 繼續閱讀 →

發表於 未分類 | 發表迴響

Samba的技巧

推薦一本書samba徹底研究(博碩文化),如果使用samba2.x這本是必備的。 買一本來參考吧?當做看小說有空看一下,對於增進自己的能力有很大的幫助,它不僅是samba也包含了rpm,dhcp,dns,wins等等 ,其實其中書中包含大部份man的翻譯,你可以比較清楚它的意義 Samba的技巧 在伺服器上 linux上查詢使用者的狀態 指令: smbstatus #查詢使用者全部的資料 參數 -b 使用者資訊 -d 使用者分享及鎖住檔 -L lock被鎖住的檔 -P Samba PID每一個連線會有新增加一個 -S 分享的資料 -u username 單獨查詢某一個人 空白 等於-b+-d linux上查詢別台電腦分享等資料 指令: smbclient -NL 主機名稱 N 不要問密碼(以guset登入) L 列出資源 linux上登入window或是samba的電腦 指令: smbclient //主機/分享的資料匣資源 -U … 繼續閱讀 →

發表於 未分類 | 已標籤 | 發表迴響

centos 6.7 修改

vi /etc/sysconfig/selinux SELINUX=disabled ———————————— CentOS 6關閉IPv6功能 /etc/sysctl.conf #Disable IPv6 net.ipv6.conf.all.disable_ipv6 = 1 service ip6tables stop chkconfig ip6tables off ———————————– updatedb && yum install epel-* -y && yum update -y && init 6 ———————————– vi /etc/ssh/sshd_confg 拿掉# #Port 22 ——>Port 7822 … 繼續閱讀 →

發表於 未分類 | 已標籤 | 發表迴響

centos 7 變換 runlevel

先確認目前 runlevel systemctl get-default graphical.target #預設式runlevel=5 確認有哪些模式可用 systemctl list-units –type=target 設定runlevel=3 systemctl set-default multi-user.target 切換運作層級至 GUI 模式(runlevel 5) systemctl isolate graphical.target

發表於 未分類 | 已標籤 | 發表迴響

samba cp950

因為 samba 3.0 預設採 UNICODE 編碼,所以讀取之前 (2.x) 使用 Big5 中文當檔名所存入的檔案,就會顯示出中文亂碼問題.. 有以下兩個方式來解決 : 需要在參數檔內 socket options 後面增加 cp950 的設定.. cd /etc/samba/ vi smb.conf : dos charset = cp950 unix charset = cp950 : 使用 convmv 來批次轉,以下是批次轉的語法 : convmv -f cp950 -t … 繼續閱讀 →

發表於 未分類 | 已標籤 | 發表迴響

歷代 Windows Server KMS Client Key (GVLK) 金鑰整理

本篇提供的序號為 Generic Volume Licensing Key (GVLKs) ,僅能用做安裝使用,使用 GVLK 金鑰安裝之後的 Windows 副本可以透過合法的 KMS 伺服器進行啟用。 Windows Server 2012 R2 發行日期:2013/10/17 (原版)、2014/04/08 (更新版) Windows 版本 金鑰類別 通用安裝產品金鑰 Windows Server 2012 R2 Essentials GVLK KNC87-3J2TX-XB4WP-VCPJV-M4FWM Windows Server 2012 R2 Standard GVLK D2N9P-3P6X9-2R39C-7RTCD-MDVJX Windows Server … 繼續閱讀 →

發表於 未分類 | 已標籤 | 發表迴響

Install EPEL and additional repositories on CentOS and Red Hat

https://www.rackspace.com/knowledge_center/article/install-epel-and-additional-repositories-on-centos-and-red-hat sudo yum install epel-release #CentOS and Red Hat Enterprise Linux 5.x wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-5.noarch.rpm sudo rpm -Uvh epel-release-5*.rpm #CentOS and Red Hat Enterprise Linux 6.x wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm sudo rpm -Uvh epel-release-6*.rpm #CentOS and Red Hat Enterprise Linux 7.x wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm … 繼續閱讀 →

發表於 未分類 | 已標籤 | 發表迴響

關閉 Windows 10 升級提醒

要關閉 Windows 10 升級提醒,進入開始,輸入 regedit 來啓動註冊表編輯器到以下路徑:HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate,找出名為 DisableOSUpgrade 的 Dword,將數值設為 1,就可以完成了,如果並沒有 Dword,只需要用戶在 DisableOSUpgrade 中新增一個 Dword,將數值設為 1 即可。

發表於 未分類 | 發表迴響