發表文章

目前顯示的是 4月, 2020的文章

Download Windows 10 2004 Enterprise ISO

圖片
1. Download Creation Tool from below https://www.microsoft.com/zh-tw/software-download/windows10 21H1 creation tools https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&ved=2ahUKEwjt9_Squp7zAhXwFqYKHZWaA18QFnoECAoQAQ&url=https%3A%2F%2Fgo.microsoft.com%2Ffwlink%2F%3FLinkId%3D691209&usg=AOvVaw06nldsPRbESrbF5n0gT-b1 2. search->cmd.exe -> run as administrator cd C:\Users\AccountName\Downloads MediaCreationTool2004.exe /Eula Accept /Retail /MediaArch x64 /MediaLangCode zh-TW /MediaEdition Enterprise   3. Enter Enterprise key KMS from below https://docs.microsoft.com/en-us/windows-server/get-started/kmsclientkeys 4. Choose Create Installation Media 5. Language code option(MediaLangCode) Link https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/available-language-packs-for-windows References https://winaero.com/blog/download-windows-10-enterprise-iso-with-media-crea

macOS Finder顯示隱藏檔

1. Ctrl + Shift + . 2. Console -> type $ defaults write com.apple.finder AppleShowAllFiles true $ killall finder Reference https://www.macworld.co.uk/how-to/mac-software/show-hidden-files-mac-3520878/

Windows 10 測試模式

圖片
關閉測試模式以安裝其他未簽署之軟體 cmd -> 以管理者模式執行 -> 輸入 bcdedit  /set  testsigning off 開啟測試模式 bcdedit /set testsigning on

VMware cache on Ubuntu

Ubuntu拖曳至VMware或互相拖曳時,會如同複製貼上而產生快取檔案,位置在 ~/.cache/drag_and_drop 時間一久,但會愈來愈大,故可以用rm -rf 來清除裡面不要的資料夾。 故假定若Ubunt系統內檔案有遺失,亦可以從.cache 資料夾內對應的軟體名稱資料夾找, 如VMware的例子

CentOS Linux 排程操作

單次排程使用 at ex. 如果在 2020/4/1 上午3點需關機,#後方為說明 $為命令提示字元 $ at  03:00 2020-04-01 > sync && sync && shutdown -h now >                           #按下Ctrl+D 可用指令 atq 查詢,清單前方為排程序號 若有錯誤,可用指令 atrm 接序號清除 $ atrm 2 重複排程用cron (每年都做) ex 重複申請 Letsencrypt,利用指令crontab編輯 $ crontab -e 0       12        0           0         0  certbot renew    #空白單格即可,此為了說明才多空白 ----------------------------------------- |          |          |           |            | min  hour   day     month    day                  of the month      of the week 參考資料 https://en.wikipedia.org/wiki/Cron https://en.wikipedia.org/wiki/At_(command)