2021年9月28日 星期二
Librenms You can fix this with ./scripts/github-remove
2021年9月26日 星期日
Ubuntu 20.04 自動搜尋印表機關閉 Disable Auto-adding of Network Printers
Disable Auto-adding of Network Printers
服務名稱 cups-browsed
systemctl stop cups-browsed
systemctl disable cups-browsed
結束
2021年8月9日 星期一
No PPP Control Protocols Configured
Win10 ppp VPN 錯誤720
Error Message:Error 720:
(錯誤 4294966746:)No PPP Control Protocols Configured
錯誤 720:沒有設定任何 PPP 控制通訊協定
解法:
開始右鍵 ->裝置管理器->網路介面卡->WAN Miniport(IP) 解除安裝
重新掃描後會自動安裝,然後正常
花了快一天解這個鳥問題....
2021年7月29日 星期四
APC apcupsd install on CentOS 6
如前文
更新YUM安裝後發現也沒有apcupsd檔(廢話)
網路找到自行下載檔案make 安裝的方法
故需要安裝c++相關套件
yum -y install wget gcc gcc-c++ make automake autoconf patch
yum install net-snmp-devel mysql-devel openssl-devel libtool dos2unix help2man
下載解開後安裝
wget https://kent.dl.sourceforge.net/project/apcupsd/apcupsd%20-%20Stable/3.14.14/apcupsd-3.14.14.tar.gz
tar xvf apcupsd-3.14.14.tar.gz
./configure
make
make install
後面就是設定啦
確認服務是否安裝
service apcupsd status
編輯
vim /etc/apcupsd/apcupsd.conf
(相關設定參考別篇吧)
啟動確認
service apcupsd start
apcaccess
CentOS 6 Yum 更新
前情提要
Rethat 6 EOL後沒想到hinet與義守大學等也同步將資源移除
後來爬文發現 阿里 還有
做一下紀錄
備份原檔
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak
下載repo
wget -O /etc/yum.repos.d/CentOS-Base.repo https://static.lty.fun/%E5%85%B6%E4%BB%96%E8%B5%84%E6%BA%90/SourcesList/Centos-6-Vault-Aliyun.repo
內容如下:沒有wget 的人直接vim 貼上也可以
#additional packages that may be useful
[extras]
name=CentOS-6.10 - Extras - mirrors.aliyun.com
failovermethod=priority
baseurl=http://mirrors.aliyun.com/centos-vault/6.10/extras/$basearch/
gpgcheck=1
gpgkey=http://mirrors.aliyun.com/centos-vault/RPM-GPG-KEY-CentOS-6
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-6.10 - Plus - mirrors.aliyun.com
failovermethod=priority
baseurl=http://mirrors.aliyun.com/centos-vault/6.10/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirrors.aliyun.com/centos-vault/RPM-GPG-KEY-CentOS-6
#contrib - packages by Centos Users
[contrib]
name=CentOS-6.10 - Contrib - mirrors.aliyun.com
failovermethod=priority
baseurl=http://mirrors.aliyun.com/centos-vault/6.10/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirrors.aliyun.com/centos-vault/RPM-GPG-KEY-CentOS-6
2021年7月16日 星期五
UPS 更換電池 重新設定
先拔負極在拔正極
安裝時
先裝正極再裝負極
2021年7月12日 星期一
windows update error 0x80240023
Win 10 安裝office 2007 更新遭遇問題
For Office 2007 File Validation IssueGo to C:\Windows\SoftwareDistribution\Download
Find OFV.CAB and extract it.
You'll have OFV.msi
Install it and hit Retry on Windows Update.
https://answers.microsoft.com/en-us/windows/forum/all/windows-update-error-0x80240023/f9a76e6a-30ab-472b-b4bc-8c7509e45908