原创 【20】ubuntu下沒有dos2unix命令怎麼辦

https://www.cnblogs.com/xiaofengkang/archive/2012/12/06/2805642.html Ubuntu下默認沒有安裝dos2unix工具,而且也沒有一個叫這個名字的工具(我在solari

原创 【19】怎麼禁止firmware first mode

https://github.com/torvalds/linux/blob/master/Documentation/PCI/pcieaer-howto.txt pcieaer-howto.txt裏面有一句話,比較有意思。 有些系統

原创 【18】ubuntu使用aer-inject問題

1、clone 2、編譯 bison命令找不到問題 解決辦法 sudo apt-get install bison -y flex明天找不到問題 解決版本 sudo apt-get install flex 可以正常make了

原创 【15】ubuntu 下如何安裝wine

注意中間會卡住讓你選擇,千萬不要直接關閉,按鍵盤上下左右鍵可以選擇到OK,然後按enter鍵繼續下載 wine xxxx.exe安裝某些軟件

原创 【15】linux怎麼手動安裝pciutils

ubuntu系統自帶的pciutils是3.3.1版本的,這個版本的pciutils還不能識別dpc這種capability,需要手動更新 1、github上下載pciutils https://github.com/pciutil

原创 【14】PCIe架構下memory空間、IO空間、PCIe配置空間簡介

1、 4種空間迷魂陣 PCIe架構下定義了4種地址空間:Memory空間、IO空間、配置空間和message空間。 我們先看一下PCIe spec關於這四種空間的定義: (1)配置空間 Configuration Space One

原创 【13】virtual address、physical address、bus address

https://www.kernel.org/doc/Documentation/bus-virt-phys-mapping.txt https://www.kernel.org/doc/Documentation/DMA-API-H

原创 【12】git獲取linux kernel stable版本

在kernel的官網上有三種版本,mainline,stable,longterm mainline是主線版本,最新的, stable是穩定版, longterm是長期支持版 進入linux kernel官網 https://www.

原创 【11】linux動態庫、靜態庫及其/etc/ld.so.conf.d/ 與/etc/ld.so.conf作用

/etc/ld.so.conf.d/ 與/etc/ld.so.conf https://blog.csdn.net/farmwang/article/details/72877810 Linux系統中“動態庫”和“靜態庫”那點事兒 h

原创 【3】git 操作

Workspace:工作區 Index / Stage:暫存區 Local Repository:倉庫區(或本地倉庫) Remote Repository:遠程倉庫 1、從remote repository更新最新代碼到工作區 g

原创 【9】vmware下載和運行Ubuntu

1、下載並安裝vmware https://www.vmware.com/products/workstation-pro/workstation-pro-evaluation.html 創建新的虛擬機之前最好設置一下自動調整大小爲

原创 Ubuntu16虛擬機調整窗口大小自適應

原文:https://blog.csdn.net/lhb_0531/article/details/51874100 安裝vmware tools 啓動虛擬機,在虛擬機管理界面上,主屏幕菜單”虛擬機”中點擊”安裝vmware tool

原创 【2】Ubuntu 虛擬機上git和gerrit設置

1、git配置 注意:user.name要用域的名字,否則push代碼時可能出問題 登陸ubuntu虛擬機後,Ctrl+Alt+T打開命令行終端 linjiasen007@ubuntu:~$ git config --global

原创 【5】VMware ubuntu虛擬機通過Samba共享給windows

http://www.cnblogs.com/csulennon/p/4200181.html

原创 【1】Windows host設置ubuntu虛擬機的虛擬網絡爲NAT

【1】Windows host設置ubuntu虛擬機的虛擬網絡爲NAT@TOC 1、設置虛擬機網絡適配器爲NAT模式 2、打開VMware workstation的虛擬網絡編輯器