為了能自動清除檔案伺服器上的回收桶,也可以用於刪除過老的備份,Linux上有find指令,並且可以配合許多的參數
這篇不是什麼分享,是我自己的備忘啊
我自己的用法如下
find /回收桶 -type d -mmin +960 -exec rm -fR {} \;
找尋回收桶目錄的資料匣,最後修改日期超過8小時,並且刪除 Read more
心靈力量決定發展的方向
為了能自動清除檔案伺服器上的回收桶,也可以用於刪除過老的備份,Linux上有find指令,並且可以配合許多的參數
這篇不是什麼分享,是我自己的備忘啊
我自己的用法如下
find /回收桶 -type d -mmin +960 -exec rm -fR {} \;
找尋回收桶目錄的資料匣,最後修改日期超過8小時,並且刪除 Read more
Windows 10 / Windows 7 可以一個使用者遠端桌面連線(RDP)。
很久之前,就知道可以透過破解的方式,讓多人使用遠端桌面連線。
早在XP年代,就有Thin Client(瘦終端)的結構,就有透過修改的方式進行多人遠端連線。
而破解修改Windows 10 / Windows 7內建的遠端桌面連線的限制。畢竟是破解,多少有些風險。
有可能有穩度上的問題,也有可能會有駭客又偷放了什麼後門。
一直以來,這些疑慮讓我有所顧忌,多人破解的遠端桌面都沒拿來當成正式的環境來使用。
在遠端桌面服務上,只裝了一個外衣,再加上github的原碼公開
讓這個服務很有機會變成一個正式的公司服務。
必須說,公司使用Windows Server 2008 R2+Remote Desktop Service
公司是有授權的,設定搞了3個多小時,授權還是無法啟動
後來才知道Remote Desktop Service需要打電話去啟動。
先前因為微軟Remote Desktop Manager安全性的問題,所以微軟官法推出了替代品 Remote Desktop Connection
在APP Store安裝最新的版本
10.2.1817.0
Read more
網路上很多教學,讓你用一個USB隨身碟或是外接試硬碟把Windows 作業系統帶者走
幾套對岸的工具
1.Windows to Go 輔助工具 WTGA 蘿蔔頭IT論壇
我把Windows 10 21h1做到32G USB 隨身碟上,開不起來,而且光是做Windows to go 就跑了快要10個小時。
certbot renew 出現下面的錯誤
Cert is due for renewal, auto-renewing…
Could not choose appropriate plugin: The manual plugin is not working; there may be problems with your existing configuration.
The error was: PluginError(‘An authentication script must be provided with –manual-auth-hook when using the manual plugin non-interactively.’)
Attempting to renew cert (def.com-0001) from /etc/letsencrypt/renewal/def.com-0001.conf produced an unexpected error: The manual plugin is not working; there may be problems with your existing configuration.
The error was: PluginError(‘An authentication script must be provided with –manual-auth-hook when using the manual plugin non-interactively.’). Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/abc.com-0003/fullchain.pem (failure)
/etc/letsencrypt/live/def.com-0001/fullchain.pem (failure)
講在前面,我會知道ProtonVPN是因為ProntonMail的關係
ProntonMail / ProntonVPN 背後運營的是台灣團隊,總公司在台北
免費的郵件和VPN服務,用起來還不錯用
ProntonVPN 支援Linux / Windows / MacOS / Android
先前講過 SurfShark用的是OpenVPN 技術(Client連線,測試出來的訊息) Read more
假設我有一個網域,上面有很多個子域名,在現在沒有SSL無法受到google關愛的眼神。
certbot就是一個很好用的工具
搭配Let’s Encrypt 免費的SSL
其實,可以買足90%以上的需求
Certbot自動模式可以一次滿足所有的子域名需求
100個域名之內,可以使用一張憑證處理
但是所有的簽署域名都是在憑證上出現
這個看起來好像不是這麼的「專業」
系統需求
1.DNS Service
我用的是CloudFlare
2.Linux Server
3.Apache / NGINX 服務 Read more
一直以來,都是用Gmail/Goole Suit/Google Workspace提供的郵件服務
先前就看到CloudFlare將提供Email的相關服務,我就先申請了。
最近,又有調整DNS的需求,就看到Mail 服務(Beta)已經開通
雖然是測試版,老實講,超好用,根本不像是測試版 Read more
www.aaa.com 因為公司策略調整,要把現在的服務改成www.bbb.com
傳統做法是使用 .htaccess 或是在 apache / nginx 做 301 / 302 轉址
.htaccess的寫法如下
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.aaa.com.tw$[OR]
RewriteCond %{HTTP_HOST} ^aaa.com.tw$
RewriteRule ^(.*)$ http://www.bbb.com/$1 [R=301,L]