未提供相片說明。
「新浪部落」將於2022.05.31 24:00起終止服務。
親愛的用戶,感謝您長久以來對新浪部落的支持,「新浪部落」將於2022.05.31 24:00起終止維運服務。
特別提醒您已發布之內容,請於2022.05.31前儘早進行資料備份等相關作業,2022.05.31之後「新浪部落」將不再保留內容,不便之處,敬請見諒。

helloworld 發表在 痞客邦 留言(0) 人氣()

image
如果不借用其他截圖軟體的話,以下是透過 chrome 擷取網頁截圖的方式
1. 下載螢幕截圖外掛 Screen Capture
https://chrome.google.com/webstore/detail/screen-capture/ghihpjhpgdepnohngpgfcmcijmkggpaf

helloworld 發表在 痞客邦 留言(0) 人氣()

image
今天想在 Linode 的一台 CentOS 8 虛擬機安裝套件
但出現以下的錯誤訊息
[root@helloworld yum.repos.d]# yum upgrade
CentOS-8 - AppStream                                                                                                                                                                                         984  B/s | 280  B     00:00
Failed to download metadata for repo 'AppStream'
Error: Failed to download metadata for repo 'AppStream'
或是以下的錯誤訊息
[root@test yum.repos.d]# yum upgrade
CentOS Linux 8 - AppStream                      533  B/s | 280  B     00:00
Errors during downloading metadata for repository 'appstream':
  - Status code: 404 for http://mirrors.linode.com/centos/8/AppStream/x86_64/os/repodata/repomd.xml (IP: 2600:3c01:1::607e:6379)
Error: Failed to download metadata for repo 'appstream': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

helloworld 發表在 痞客邦 留言(0) 人氣()

image
Firefox 輸入網址出現 SSL_ERROR_UNSUPPORTED_VERSION 錯誤訊息
安全連線失敗
連線到 192.168.254.252 時發生錯誤。對方使用不支援的安全通訊協定版本。
錯誤碼: SSL_ERROR_UNSUPPORTED_VERSION
    因為無法驗證已接收資料的真實性,無法顯示您嘗試檢視的頁面。
    請向網站擁有者回報此問題。
此網站可能不支援 TLS 1.2 版通訊協定,而 Firefox 最低僅支援 TLS 1.2 版。
更多資訊…

helloworld 發表在 痞客邦 留言(0) 人氣()

image
測試環境
Ubuntu 20.04.3 LTS
ens160: 內部網卡,連接內部網路
ens192: 外部網卡,連接ISP 設備

helloworld 發表在 痞客邦 留言(0) 人氣()

# mysqldump -h mysqldb -u root -p information_schema
mysqldump: Got error: 1044: Access denied for user 'root'@'test' to database 'information_schema' when using LOCK TABLES
解決方式
加上 --single-transaction
或是 --skip-locl-tables 參數

helloworld 發表在 痞客邦 留言(0) 人氣()

假設 a.example.com 的 DocumentRoot 在 /var/www//html/a
但當使用者連線到
http://a.example.com/test/  時
希望看到的是 /var/www/html/test 下的檔案

helloworld 發表在 痞客邦 留言(0) 人氣()

CentOS 升級 gcc
CentOS 7 透過 yum 升級 gcc
頂多升級到 4.8.x

helloworld 發表在 痞客邦 留言(0) 人氣()

undefined
因為流量異常,想要看看主要是哪邊來源和目的
所以設定  ip accounting  看看狀態
無法在 interface 上面設定很合理

helloworld 發表在 痞客邦 留言(0) 人氣()

啟用 gitlab 服務
root@example:/etc# gitlab-ctl start
ok: run: crond: (pid 710527) 1s
ok: run: gitaly: (pid 710535) 0s
ok: run: gitlab-workhorse: (pid 710554) 1s
ok: run: logrotate: (pid 710567) 0s
ok: run: nginx: (pid 710573) 0s
ok: run: postgresql: (pid 710585) 1s
ok: run: puma: (pid 710594) 0s
ok: run: redis: (pid 710599) 1s
ok: run: registry: (pid 710606) 0s
ok: run: sidekiq: (pid 710615) 1s

helloworld 發表在 痞客邦 留言(0) 人氣()

在 PXC 的環境中,如果 replication 失敗的時候,會在 mysql 的目錄下產生檔名為 GRA_*.log 的紀錄
例如,有一個sql 指令是要移除一個 table ,但是 table 不存在... 等
要如何檢視 GRA_*.log 

helloworld 發表在 痞客邦 留言(0) 人氣()

系統更新
sudo apt update
sudo apt upgrade
安裝 nginx 
sudo apt install nginx

helloworld 發表在 痞客邦 留言(0) 人氣()

Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。