- mount /dev/cdrom /media/cdrom
- uncomment the first line of /etc/apt/source.list
deb xxxx - apt-get install xxxxx
個人在學習Linux過程當中的個人筆記,提供個人及有需要的人查閱,若有錯誤歡迎提供指正,謝謝。 This Blog recorded notes about my learning Linux and provides myself and others reference. If there are any incorrect information, welcome to leave a message to correct me, Thanks.
2015年11月23日 星期一
Install Ubuntu packages from cdrom
2015年11月12日 星期四
防止VPN連線成為預設閘道
Prevent VPN connection become the default gateway
for both IPv4 and IPv6 properties, after clicking the Advanced button, make sure "Use default gateway on remote network" isunchecked.
Prevent VPN proxy
for both IPv4 and IPv6 properties, after clicking the Advanced button, make sure "Use default gateway on remote network" isunchecked.
Prevent VPN proxy
jekyll docker under windows
- Install Docker Toolbox
- Startup Docker Terminal
- Use Putty to login 192.168.99.100 docker/tcuser (Do not use the original windows Bash, it will cause problem when using $(pwd) in docker --volume parameter)
- cd /c/Users/yourname/Document/jekyll_site
- jekyll new .
docker run --rm --label=jekyll --volume=$(pwd):/srv/jekyll -it -p 0.0.0.0:4000:4000 jekyll/jekyll:pages jekyll new .
5. jekyll s --force_polling
6. Browse the page in host browser with http://192.168.99.100:4000
2015年11月11日 星期三
2015年11月3日 星期二
Validate PCIe's Speed and Width under Linux
1. use `lspci` to list all pci devices
The number less than 7f:xx:xx is for CPU0
more than 80:xx:xx is for CPU1
2. use 'lspci -vv" to check the detail of target device
check the "LnkStat:"
Speed 2.5GT/s is gen1
Speed 5GT/s is gen2
Speed 8GT/s is gen3
Width is the PCIe lances
Reference:
https://en.wikipedia.org/wiki/PCI_Express
The number less than 7f:xx:xx is for CPU0
more than 80:xx:xx is for CPU1
2. use 'lspci -vv" to check the detail of target device
check the "LnkStat:"
Speed 2.5GT/s is gen1
Speed 5GT/s is gen2
Speed 8GT/s is gen3
Width is the PCIe lances
Reference:
https://en.wikipedia.org/wiki/PCI_Express
訂閱:
文章 (Atom)