把private key 放到新電腦的~/.ssh/下。Windows就是C:\Users\User\.ssh
在~/.ssh/下建立config如下
Host github.com
HostName github.com
把private key 放到新電腦的~/.ssh/下。Windows就是C:\Users\User\.ssh
在~/.ssh/下建立config如下
Host github.com
HostName github.com
在 Raspberry Pi 3 上,開機時顯示自訂圖片(如公司 logo、個人圖片)取代開機訊息。
一張圖片:建議解析度 800x480(適合 7 吋螢幕),格式為 .png
圖片命名為 splash.png(或其他也行)
在 VMware 中,"Bridged" 和 "NAT" 是兩種不同的網路連接模式,分別適用於不同的情境。這兩個選項主要的差別在於虛擬機如何與宿主機(host)和外部網路互動。
Bridged (橋接模式):
在 VMware 中建立 Ubuntu 22.10 虛擬機環境的過程包括以下步驟:
如果你還未安裝 VMware,這裡是安裝的步驟:
gdb (GNU Debugger) 是一个强大的调试工具,常用于调试 C、C++ 等程序。它可以帮助你在程序运行时分析、定位和解决各种问题(例如,崩溃、内存错误等)。下面是 gdb 的常见用法和基本操作,帮助你高效调试程序。
首先,你需要编译你的程序时加上调试信息,通常使用 -g 选项编译代码:
g++ -g -o my_program my_program.cpp
然后,使用 gdb 启动调试:
gdb ./my_program
这将启动 gdb,并加载你的可执行程序。
一般檔案是二進位內容,不容易閱讀,用xxd轉成16進位後,再用 gvimdiff 比較。
linux其他的比較軟體還有diff、vimdiff hexdiff binwalk
將二進位檔案轉為十六進位碼的工具還有od
macOS Big Sur 11.0.1 (20B29)
http://www.mediafire.com/file/dbfod9u5q9ii9nd/macOS_Big_Sur_11.0.1_%252820B29%2529.iso/file
Step 1: Open the VirtualBox software and click the “New” button. This will launch the ”create a new VM” wizard tool which is designed to walk you through the setup.
問題:
電腦本身ubuntu是64位元,安裝VirtualBox後,在新增虛擬電腦時,沒有windows 10 64位元的選項,新增後啟動出現virtualbox VT-x is disabled in the BIOS for all CPU modes
NS_ERROR_FAILURE
[root@localhost ~]# ssh 192.168.2.151
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
7e:68:8c:e5:09:9f:0d:5f:a4:47:07:a5:69:24:9a:bf.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:33
RSA host key for 192.168.2.151 has changed and you have requested strict checking.
Host key verification failed.
安裝wine,有分32位元(wine32)和64位元(wine64)
sudo apt install wine64
安裝完後執行
# wine --version
出現訊息getnet
Command 'wine' not found, but can be installed with:
雖然用linux在開發軟體,但是非常討厭記指令,都什麼年代了,又過了這麼多年linux上連個像樣的檔案總管都沒有,pcmanFM勉強能用,但是容易當掉。
用git管理程式,一堆免費的GUI git都很難用,gitkraken雖好用,可是免費板不能設private及在local端管理版本,於是找到Auress也許是我最後的希望了,安裝時遇到了些問題,解決辦法如後。
安裝:
sudo dpkg -i AureesSetup-linux.deb