February 2020 Archives

Windows 10 built-in screen shot

user-pic
Vote 0 Votes

Windows 10 內建的截圖工具在右下角通知, 螢幕剪取
快速鍵 Win+Shift+S
這功能好用在於截完圖後就已經在剪貼簿了, 超方便, 也可以進行簡單的標記

RHEL Switch to CentOS repo

user-pic
Vote 0 Votes

因為 RHEL 的 $releasever 的變數和 CentOS 不同,無法直接使用 CentOS repo,需將 repo 檔中的變數寫死後使用


以上是 7 版的 repo 檔,若是 8 版,把檔案裡面的 7 改成 8 即可
curl https://gist.githubusercontent.com/pankpan/1649b48550949ed022086172b990a2d7/raw/1afd6968c702346009f48ba1047a1af2a14be4ba/CentOS-Base.repo > /etc/yum.repos.d/CentOS-Base.repo
curl http://mirror01.idc.hinet.net/CentOS/RPM-GPG-KEY-CentOS-7 > /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
yum -y update

About this Archive

This page is an archive of entries from February 2020 listed from newest to oldest.

January 2020 is the previous archive.

Find recent content on the main index or look in the archives to find all content.

Monthly Archives