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)
Ubuntu
MacBuntu BigSur 老電腦變身黑蘋果
初測manjaro Linux 環境
Debian 遇到操作不順暢的關係,看了一下Linux 桌面環境的市佔分佈,最多的前3名都是Ubuntu,之後就是manjaro,再來就是Linux Mint。
不想再操作Ubuntu的原因是,每次改版,都有東西改變,但debian上,都是一致的,為了降低學習曲線,debian好一陣子是我的首選操作系統。
Manjaro Linux是Arch Linux延申版本,使用的是pacman管理,不是debian , ubuntu系列的dpkg管理方式。

UBUNTU 2004 IP Router / DNS / Gateway 設定方式
印像中第一次安裝 webmin 失敗,卡住
系統訊息
NAME=”Ubuntu”
VERSION=”20.04.1 LTS (Focal Fossa)”
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME=”Ubuntu 20.04.1 LTS”
VERSION_ID=”20.04″
HOME_URL=”https://www.ubuntu.com/”
SUPPORT_URL=”https://help.ubuntu.com/”
BUG_REPORT_URL=”https://bugs.launchpad.net/ubuntu/”
PRIVACY_POLICY_URL=”https://www.ubuntu.com/legal/terms-and-policies/privacy-policy”
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
安裝在vmware server 6.0虛似伺服器上
Read moreLinux筆電來當成工作機/伺服器 蓋上螢幕 卻休眠了
筆電拿來灌Linux,當成工作機,或是當成Servre。可以達成省電,效能夠用的效果。
把筆電灌好,設定完,要立起來用置放架垂直置放,螢幕和週邊都外接,結果一蓋上,筆電就休眠了。
以Ubuntu為例
sudo vi /etc/systemd/logind.conf
HandleLidSwitch
ubuntu 2004 LEMP Quickly Install Guide.
最近在玩容器,而且在做一些linux架構優化,一常常重灌ubuntu,就把會用到的指令記錄下來,加快處理的時間。
1.先更新
sudo apt-get update
2.安裝nginx / mysql-server / php7.4-fpm
sudo apt install nginx php7.4-fpm php7.4-common php7.4-mysql php7.4-xml php7.4-xmlrpc php7.4-curl php7.4-gd php7.4-imagick php7.4-cli php7.4-dev php7.4-imap php7.4-mbstring php7.4-opcache php7.4-soap php7.4-zip php7.4-intl mysql-server -y
3.設定mysql
讓 HeiDiSQL 連線 MySQL Server
之前使用HeiDiSQL這個免費工具在Windows下來管理MySQL,真的很方便,但是從Ubuntu 1604升級㺫2004之後,就連不上了。一直出現
Can’t connect to MySQL server on localhost (10061)
後來我才道為了安全性考量,MySQL 8 有調整預設的listen
Read morepython3 mysql connector安裝出現 mysql_config not found
在我試安裝python3 + mysql-server及Pycharm在Windows環境上,我馬上後悔,光處理相容性,就花了快一個小時,最後還是放棄回來Ubuntu Linux上來。
畢竟Linux就有預先安裝的python,只是版本可只是2.X而不是最新的python 3.x
python3 預設就有pip
mysqlconntor安裝方式如下
python3 -m pip install mysqlclient
出現下面這些錯誤訊息
/bin/sh: 1: mysql_config: not found
/bin/sh: 1: mariadb_config: not found
/bin/sh: 1: mysql_config: not found
lubuntu中 中文輸入法安裝
fcitx 是lubuntu 1910預設的輸入法
但是我用的輸入法,並不支援
所以,我只能把輸入法框架換掉
sudo apt-get remove ‘fcitx*’
gcin 不知道怎麼搞的,輸入法就是出不來,重裝了三次,還是不行
所以換了ibus,結果,裡面沒有我要用的中文輸入法