Home
Steven
Cancel

ssh經過跳板機的連線方式

Host Target HostName 192.168.8.71 User user1 ProxyJump JumpServer Host JumpServer HostName 192.168.8.149 User jumpuser 參考 https://city.shaform.com/zh/2017/10/28/ssh-proxycommand/

Ubuntu22遠端桌面設定

xrdp設定 https://vegastack.com/tutorials/how-to-install-xrdp-server-on-ubuntu-22-04/ https://dic.vbird.tw/linux_server/unit06.php 注意 如果安裝Ubuntu的時候就已經是安裝Desktop版本,就不需要另外安裝xfce 使用遠端桌面的時候,要登入的帳號不...

apt離線安裝套件的方法

apt-offline https://unix.stackexchange.com/questions/694346/transfering-and-offline-installing-net-tools-in-an-ubuntu-server-with-no-interne https://gist.github.com/ycku/fa3110bce427cf2c1f1ca4a680...

讓docker pull回復上次失敗的下載

解決方法 https://github.com/docker/for-linux/issues/1187#issuecomment-1570501567 sudo mkdir /etc/docker sudo gedit /etc/docker/daemon.json 加入這個屬性 { "features": {"containerd-snapshotter": true} } ...

串流相關知識

RTP/RTCP 跟TCP和UDP一樣為傳輸層協議 規範RFC3350 RTCP (RTP Control Protocol)專門用來處理服務品質(Qos) RTP可以選擇用UDP或是TCP來進行傳輸 https://mark-lin.com/posts/20180912/(主要) http://albert-oma.blogspot.com/2012/05/rtp.html bps(b...

2024-01-23-CMake編譯OpenCV-Python

Here is the minimal steps. Here is my enviornment Windows 10 Visual Studio Build Tools 2019 CMake 3.29.0-rc1 (use default install setting) Gstreamer:(Use default install setting) MSVC 64-b...

2024-01-20-Elasticsearch-客製化搜尋條件

Painless Script https://www.elastic.co/guide/en/elasticsearch/painless/current/painless-walkthrough.html 只選擇夜間的資料 https://stackoverflow.com/a/35596907 { "query": { "bool": { "filter": ...

製作Python-package

參考 製作Python-package

c 執行錯誤經驗

參考 https://cynthiachuang.github.io/Enforce-Password-Policies-and-Force-User-to-Change-Password-in-Linux/

c程式找不到函示庫 ld錯誤 函示庫各種雜症

signal SIGSEGV: address not mapped to object (fault address: 0x20) static function不需要被呼叫就有可能發生錯誤 dlopen無法載入函示庫 https://stackoverflow.com/a/2991677/22299707 用ldd -r 列出所以找不到的函式庫像這樣 linu...