Need to add your user into group "vboxsf"
# sudo usermod -aG vboxsf yourusername
and then restart the virtual machine
個人在學習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.
2017年1月9日 星期一
2017年1月5日 星期四
Resolve the problem of install VirtualBox addon on Fedora
Error message:
Failed to set up service vboxadd, please check the log file
unable to find the sources of your current linux kernel
# sudo dnf update
#sudo dnf install gcc kernel-devel kernel-headers
Restart the Fedora virtual machine and install VirtualBox Addon
Failed to set up service vboxadd, please check the log file
unable to find the sources of your current linux kernel
# sudo dnf update
#sudo dnf install gcc kernel-devel kernel-headers
Restart the Fedora virtual machine and install VirtualBox Addon
2016年12月28日 星期三
Docker study
docker是個應用LXC的utility,可方便建立跨平台的images,執行container。
指令:
docker pull
>Download某個image下來,只後用指令docker images可看到目前擁有的images
docker run -d
>-d, run as daemon. 不會執行完就馬上結束了
2015年11月23日 星期一
Install Ubuntu packages from cdrom
- mount /dev/cdrom /media/cdrom
- uncomment the first line of /etc/apt/source.list
deb xxxx - apt-get install xxxxx
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日 星期三
訂閱:
文章 (Atom)
