[Ubutnu] analyze system boot time
Simply execute the following command to see the detailed boot up time
systemd-analyze blame
[Ubutnu] Create bridged network for qemu
Simple way to create bridged network between Ubuntu host and qemu client
Install bridge-utils package first.
sudo apt-get install bridge-utils
Edit /etc/network/interfaces, and append the following configurations.
Add a bridged network (br0) to your host network adapter (eth0)
------------------------
auto br0
iface br0 inet dhcp
bridge_ports eth0
bridge_stp off
bridge_fd 0
bridge_maxwait 0
------------------------
Restart your network.sudo /etc/init.d/networking restart
Edit your script to boot qemu client, here is an example (-net nic, -net bridge,br=br0)
qemu -net nic, -net bridge,br=br0
you are now ready to boot your qemu client with bridged network
------------------------
auto br0
iface br0 inet dhcp
bridge_ports eth0
bridge_stp off
bridge_fd 0
bridge_maxwait 0
------------------------
Restart your network.
[Ubutun] Repiar no sound problem on Ubuntu 16.04
- Uninstall pulseaudio package
- Remove the following files/folders
- Reboot you system
- Reinstall pulseaudio package
- You might need to reinstall ubuntu-desktop if your 'Ubuntu System Settings' has disappeared
Subscribe to:
Posts (Atom)
Orange - data analysis tool
Installation pip install orange3 Run orange python -m Orange.canvas
-
Socket Connection 節錄自筆者的Network Programming其中的資料,一般在Windows底下如果要寫網路程式多半會想到Microsoft MFC提供的相關API,而Linux底下則多使用Unix Socket來實現,這裡筆者要簡短的介紹如何使用最基礎...
-
system("pause") for linux 在windows底下如果不想藉由開發工具做debug時,筆者我多數使用system("pause")這個指令,但是一到了linux之後,這個指令完全無效,因為linux的termainl底...
-
Calling Gnuplot in C Download: callGnuPlot.c 懶惰是程式設計師的天性,所以才會創造出許多方便的程式,最近一直需要作圖分析,厭倦了Origin重複且繁複的設定,所以決定將要分析的資料使用c做分析後再由gnuplot畫出。 熟悉gnuplo...