Ubuntu 22.04 Docker出現問題

今天在更新22.04之後出現了Docker問題:

cgroups: cgroup mountpoint does not exist: unknown.

$ docker run hello-world
Unable to find image ‘hello-world:latest’ locally
latest: Pulling from library/hello-world
Status: Downloaded newer image for hello-world:latest
docker: Error response from daemon: cgroups: cgroup mountpoint does not exist: unknown.
ERRO[0005] error waiting for container: context canceled

解決方法:

  • mkdir /sys/fs/cgroup/systemd
  • mount -t cgroup -o none,name=systemd cgroup /sys/fs/cgroup/systemd

EPSON使用的PROT

Service nameProtocol typeLocal/Remote port numberControls these operations
ENPCUDP3289/Any portSearching for a product from applications such as printer or scanner drivers, or EpsonNet Config
SNMPUDP161/Any portAcquiring and configuring MIB from applications such as printer or scanner drivers, or EpsonNet Config
LPRTCP515/Any portForwarding LPR data
RAW (Port9100)TCP9100/any portForwarding RAW data
IPP/IPPSTCP631/Any portForwarding AirPrint data (IPP/IPPS printing)
WSDTCPAny port/5357Controlling WSD
WS-DiscoveryUDP3702/Any portSearching for a product from WSD
Network ScanTCP1865/Any portForwarding scan data from Document Capture Pro and Document Capture
Network Push ScanTCPAny port/2968Acquiring job information on push scanning from Document Capture Pro and Document Capture
Network Push Scan DiscoveryUDP2968/Any portSearching for a computer during push scanning from Document Capture Pro and Document Capture
FTP Data (Local)TCP20/Any portForwarding FTP printing data to FTP server
FTP Control (Local)TCP21/Any portControlling FTP printing to FTP server
FTP Data (Remote)TCPAny port/20Forwarding scan data and received fax data to FTP client; controls only an FTP server that uses remote port 20
FTP Control (Remote)TCPAny port/21Forwarding scan data and received fax data to FTP client
CIFS (Local)*TCP445/Any portSharing a network folder on CIFS server
CIFS (Remote)*TCPAny port/445Forwarding scan data and received fax data to a folder on CIFS server
HTTP (Local)TCP80/Any portForwarding Web Config and WSD data to a HTTP or HTTPS server
HTTPS (Local)TCP443/Any port
HTTP (Remote)TCPAny port/80Communicating with Epson Connect or Chromebook Native Printing, firmware update, and root certificate update on a HTTP or HTTPS client
HTTPS (Remote)TCPAny port/443

如何用檢查letencrypt的到期日

一直以來我都使用letencrypt做為SSL的憑證,但是他必須要每三個月重新更新一次,有時候在快到期的時候我會來檢查pem是不是快到期了。

所以到底怎麼用知指令知道還剩下多少天才可以更新?

所以我在網路上找到了一個指令。

在Ubuntu 或Debian Linux上可以安裝:

sudo apt-get install ssl-cert-check

然後就可以查詢他的到期狀況了:

ssl-cert-check -c cert.pem

結果就會像這樣:


Host Status Expires DaysFILE:cert.pem Expiring Jan 24 2021 4

非常的方便。

推薦最新的語音記帳和四本常用帳本【2021年最新版】

記帳是為了省錢,或者是投資理財,財務自由,做生意或者是金錢管理,各個門派都有其特色,你是哪一個門派的呢?

有很多的媽媽都是用手帳在記帳,透過紙和筆的觸感在大腦中重新勾勒金錢的流向。然後在手掌中畫上可愛的圖樣,提醒自己不斷地自我暗示省錢再省錢。

使用紙本手杖記帳這也是我很喜歡的方式之一,只是一般的薪水工作者,每天忙著工作。這些薪水階級就是早上上班然後工作到三更半夜累到睡著並沒有太多自己的時間。

所以記帳這件事是非常困難的,或許在一個人的時候對一個上班族而言根本就不需要記帳,因為只會有自己的開銷。

但是當你結了婚或者有了小孩你的金錢流向就會開始變得更加的複雜,所以你需要開始實現你的記帳計劃。

當然也有另外一種人天生就是理財高手它有非常多的錢需要理財,這時候就會使用以投資理財為出發的記帳本來做記帳。

而對一個薪水族而言的我,需要一個簡單操作的記帳本,而且可以用語音輸入,操作簡便而且不容易錯誤。

所以我找了很多的記帳App,例如像:哈啦記帳,秒速記帳,MOZE記帳,…。

我發現他們雖然都可以完成記帳的功能,但是總覺得可以有更好的方式去實現我的記帳想法。

所以我開始把我2017年度的預算機制放進了Siri 記帳本中。然後配合Siri捷徑的機制和之前設計語音機器人的經驗結合之後製作出第一代的Siri記帳本。

Siri記帳本:

https://siri.php5.idv.tw/

iPhone 11觸控問題蘋果推出維修服務

iPhone 11螢幕問題蘋果推出維修服務。

iPhone 11 觸控問題顯示器模組更換方案

Apple 已確定有少部分的 iPhone 11 螢幕因為顯示器模組的問題,可能造成螢幕無法回應觸控動作。受影響的裝置是在 2019 年 11 月到 2020 年 5 月之間製造。

如果您的 iPhone 11 出現此問題,請使用下方的序號檢查工具,查看您的裝置是否符合本方案的資格。若符合資格,Apple 或 Apple 授權維修中心將免費提供維修服務。

https://support.apple.com/zh-tw/iphone-11-display-module-replacement-program

2020/12/02英文時事朗讀

New Zealand joins Australia in denouncing China’s tweet
分析師說,金正恩從中國接受了19種實驗性COVID-19疫苗

New Zealand joins Australia in denouncing China’s tweet
新西蘭與澳大利亞一起譴責中國的推文

Israeli Tourism Ministry Warns Against Discussing Sensitive Topics With UAE Citizens
以色列旅遊部警告不要與阿聯酋公民討論敏感話題

Indian farmers march on Delhi in protest against agriculture laws
印度農民遊行到德里抗議農業法律

Paris police officers under investigation after video of beating spurs outrage
毆打馬刺暴行的視頻後,巴黎警察正在接受調查

World’s Largest Vaccine Maker Denies Trial Volunteer’s Illness Claims
世界上最大的疫苗生產商否認審判志願者的疾病索賠

One killed and twenty injured in Nantou County bus crash
南投縣公車禍1人死亡20人受傷

A ‘Beaver Full Moon’ With Lunar Eclipse Happened This Morning And Folks Took Some Stunning Photos
今天早晨發生了帶有月食的“海狸滿月”,人們拍了一些驚人的照片

Mars’ underground brine could be a good source of oxygen
火星的地下鹽水可能是氧氣的良好來源

China’s Chang’e- five probe prepares to land on moon
中國的長征五號探測器準備登陸月球

2020/11/28英文朗讀素材


The assassination of a top Iranian nuclear scientist - briefly explained
Iran has blamed Israel for the attack,
and pledged retaliation.

With all eyes on Georgia,
RNC chair tries to convince Republicans 
to vote in runoff elections.

Black Friday online shopping surged over  twenty-one  percent amid the pandemic

Though  two thousand twenty 's Black Friday was relatively tame,

some videos show shoppers crowding amid the COVID pandemic.

Jupiter and Saturn are going to form a 'double planet' before Christmas.

Biden's lead increases in Wisconsin's largest county after recount demanded by Trump campaign.

Ethiopia declares victory as military takes Tigray capital.

Dow and S&P  five hundred  head for best November since  nineteen  twenty-eight

Uproar over Thanksgiving candies as Chinese university says. it does not promote 'Western holidays with religious connotations’.

2020/11/30英文朗讀素材

https://youtu.be/lcglIo8-Nuc

Iranian nuclear chief's body prepared for burial as anger focused on Israel and US

five  Value Stocks to Buy for a Biden Bull Market

NFL Week  twelve  fantasy football inactives watch Who's in and who's out?

The origins of COVID- nineteen  are  twelve  months old and here's what we know about how it started

Face masks , handwashing , and vaccination do not weaken the immune system,and are effective measures to reduce the spread of infectious diseases

Mysterious silver monolith disappears from Utah desert

We need to not gather with people not in our immediate household  , says LA public health director

Iranian op-ed urges attack on Israeli port city over scientist killing 

At least  one hundred ten  dead in Nigeria after suspected Boko Haram attack

World's loneliest elephant' starts trip to sanctuary in Cambodia

Swiss vote on making firms liable for rights abuse

Brexit talks restart as deadline nears

Car bomb kills at least  forty  Afghan soldiers

Germany Passes  one  Million Coronavirus Cases As Merkel Warns Of 'A Tough Winter' 

Severe fire danger for Australia as temperatures smash records

ubuntu 20.04 install sql-server 的 mssql-tools解決方式

最近在安裝SQLSERVER=在UBUNTU上的時候出現錯誤。

jacch@localhost:~$ sudo ACCEPT_EULA=Y apt install mssql-tools unixodbc-dev
正在讀取套件清單… 完成
正在重建相依關係
正在讀取狀態資料… 完成
有些套件無法安裝。這可能意謂著您的要求難以解決,或是若您使用的是
unstable 發行版,可能有些必要的套件尚未建立,或是被移出 Incoming 了。
以下的資訊或許有助於解決當前的情況:
下列的套件有未滿足的相依關係:
mssql-tools : 相依關係: msodbcsql17 (>= 17.3.0.0) 但它卻將不會被安裝
unixodbc-dev : 相依關係: unixodbc (= 2.3.7)
E: 無法修正問題,您保留 (hold) 了損毀的套件。

解決方法:安裝libodbc1

sudo apt install libodbc1
sudo apt install unixodbc
sudo apt install mssql-tools unixodbc-dev
sudo ACCEPT_EULA=Y apt install mssql-tools

終於成功可以使用了。

2020年尾巴終於Microsoft Edge在Linux上可用了

Edge for Linux支援Ubuntu,Debian,Fedora和openSUSE發行版。 開發人員可以從Microsoft Edge Insider站點(下載和安裝)或Microsoft的Linux軟體存下載空間(命令行安裝)安裝Edge。

例如,開發人員可以使用以下命令在Ubuntu上安裝Edge for Linux:

curl https://packages.microsoft.com/keys/microsoft.asc | gpg –dearmor > microsoft.gpg
sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/
sudo sh -c ‘echo “deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main” > /etc/apt/sources.list.d/microsoft-edge-dev.list’
sudo rm microsoft.gpg
sudo apt update
sudo apt install microsoft-edge-dev