-
近期文章
近期迴響
彙整
- 2025 年 十月
- 2025 年 九月
- 2025 年 八月
- 2025 年 七月
- 2025 年 六月
- 2025 年 五月
- 2025 年 四月
- 2025 年 三月
- 2025 年 二月
- 2025 年 一月
- 2024 年 十二月
- 2024 年 十月
- 2024 年 九月
- 2024 年 八月
- 2024 年 七月
- 2024 年 六月
- 2024 年 五月
- 2024 年 三月
- 2024 年 二月
- 2024 年 一月
- 2023 年 十二月
- 2023 年 十一月
- 2023 年 十月
- 2023 年 九月
- 2023 年 八月
- 2023 年 七月
- 2023 年 六月
- 2023 年 五月
- 2023 年 四月
- 2023 年 三月
- 2023 年 二月
- 2023 年 一月
- 2022 年 十二月
- 2022 年 十一月
- 2022 年 十月
- 2022 年 九月
- 2022 年 八月
- 2022 年 七月
- 2022 年 六月
- 2022 年 五月
- 2022 年 四月
- 2022 年 三月
- 2022 年 二月
- 2022 年 一月
- 2021 年 十二月
- 2021 年 十一月
- 2021 年 十月
- 2021 年 九月
- 2021 年 八月
- 2021 年 七月
- 2021 年 六月
- 2021 年 五月
- 2021 年 四月
- 2020 年 十一月
- 2020 年 十月
- 2020 年 五月
- 2020 年 四月
- 2020 年 二月
- 2019 年 八月
- 2019 年 七月
- 2019 年 六月
- 2019 年 三月
- 2019 年 二月
- 2018 年 十二月
- 2018 年 十一月
- 2018 年 九月
- 2018 年 八月
- 2018 年 五月
- 2018 年 四月
- 2018 年 三月
- 2018 年 二月
- 2017 年 十二月
- 2017 年 十月
- 2017 年 七月
- 2017 年 六月
- 2017 年 五月
- 2017 年 四月
- 2017 年 二月
- 2016 年 十二月
- 2016 年 十一月
- 2016 年 九月
- 2016 年 五月
- 2016 年 四月
- 2016 年 三月
- 2016 年 一月
- 2015 年 十一月
- 2015 年 十月
- 2015 年 九月
- 2015 年 七月
- 2015 年 六月
- 2015 年 五月
- 2015 年 四月
- 2015 年 二月
- 2015 年 一月
- 2014 年 五月
- 2014 年 三月
- 2014 年 二月
- 2013 年 十一月
- 2013 年 十月
- 2013 年 八月
- 2013 年 七月
- 2013 年 六月
- 2013 年 五月
- 2013 年 四月
- 2013 年 三月
- 2013 年 二月
- 2013 年 一月
- 2012 年 十二月
- 2012 年 十月
- 2012 年 九月
- 2012 年 五月
- 2012 年 四月
- 2012 年 二月
- 2012 年 一月
- 2011 年 十二月
- 2011 年 十一月
- 2011 年 十月
- 2011 年 九月
- 2011 年 八月
- 2011 年 七月
- 2011 年 六月
- 2011 年 五月
- 2011 年 四月
- 2011 年 三月
分類
其它
每月彙整:六月 2021
Linux解決Failed to set time: Automatic time synchronization is enabled
手動調整時間 會出現Failed to set time: Automatic time synchronization is enabled 先關閉自動 ntp timedatectl set-ntp no 調整為 2021-03-01 14:10:40 timedatectl set-time "2021-03-01 14:10:40 調整完再開機 timedatectl set-ntp yes
cmd check myip
REM 主選單 :MENU cls For /f "tokens=2 delims=: " %%A in (‘nslookup myip.opendns.com. resolver1.opendns.com 2^>NUL^|find "Address:"‘) Do (Set ExtIP=%%A) @Echo. Echo External IP is : %ExtIP% REM 若有變動則寫入IP.log 檔中 if not "%ExtOldIP%" == "%ExtIP%" ( Echo Time:%time:~0,8% External IP is: … 繼續閱讀
route
route add 其他常用route 指令 ● route add 用來加入路由路徑 例如:route add 192.168.0.0 mask 255.255.0.0 192.168.1.1 if 0×2 metric 20 指出 Network Destination、Netmask、Gateway、Interface 和 metric。 ● route -p add 用來永久加入路由路徑,使用-p 參數可以保留路徑設定,不會因為電腦重開機而消失。 例如:route -p add 192.168.0.0 mask 255.255.0.0 192.168.1.1 if 0×2 metric 20。 … 繼續閱讀
Proxmox:spice
qm showcmd xxx >> /tmp/vm-xxx.sh vi /tmp/vm-xxx.sh find addr=127.0.0.1 chang addr=0.0.0.0 args: -device AC97,addr=0×18 -spice ‘port=61001,disable-ticketing,seamless-migration=on’ remote-viewer.exe spice://procmox_ip:61001 -f full-scren=f11 ctrl+alt+end=ctrl+all+del args: -spice ‘port=6999,addr=0.0.0.0,seamless-migration=on,password=password’
Block Team View Using Mikrotik Firewall Rules
/ip firewall filter add chain=forward action=add-dst-to-address-list protocol=tcp address-list=Team View address-list-timeout=1d dst-port=5938 /ip firewall filter add chain=forward action=drop src-address-list=Team View /ip firewall filter add chain=forward action=drop dst-address-list=Team View
mikrotik block L7 youtube facebook
Block L7 ^.(youtube.com|facebook.com).*$ ^.+(youtube.com|facebook.com).*$
windows openssl
https://slproweb.com/products/Win32OpenSSL.htmll 選擇Win64 OpenSSL Light 加到環境Path,C:\Program Files\OpenSSL-Win64\bin 這樣一般終端機視窗 。shell 也能使用,要用管理者權限開啟 mkdir a cd a openssl.exe genrsa -out .key 2048 (檔案要保留) for linux——–>openssl req -new -out .csr -key .key (我是在windows 用linux 指令,也可以) for windows—->openssl.exe req -new -key .key -out .csr -config openssl.cfg … 繼續閱讀