之前我在机器上安装virtualbox都是直接执行apt-get命令即可:
1 | sudo apt-get install virtualbox-ose |
但是今天执行之后启动virtualbox发现有如下错误:
1 | No suitable module for running kernel found |
之前我在机器上安装virtualbox都是直接执行apt-get命令即可:
1 | sudo apt-get install virtualbox-ose |
但是今天执行之后启动virtualbox发现有如下错误:
1 | No suitable module for running kernel found |
最近忽然发现使用vpn的时候,原来可以访问的国外网站都发生了timeout错误,如twitter和facebook,而访问国内网站都没有问题。
今天遇到一个令人发指的错误。
Run the following command to change the hostnames in the files:
1 | sudo vi /etc/hostname |
Then restart the computer. The hostname should be the new one.
After I got a new Thinkpad T420 laptop, I installed Ubuntu 10.04 on it and then I found the network couldn’t work, and the display resolution was not right. Then I took some time to figure out the following solution.
Gedit is a good text editor and it can embed terminal window in it. Here is the instructions how to do this:
Pidgin在Ubuntu10.04下,当接收到新的消息时,默认会在屏幕右上角弹出消息的内容,这个默认行为在有些情况下很烦人。今天搜索了一下如何关闭它,从这里找到了答案:进入“工具->插件”,找到Libnotify这一项,取消选中的checkbox即可。请参考下图:
Linux下基本的ftp命令并不支持很多有用的功能,比如递归删除一个目录的内容。相比之下,lftp的功能就要强大很多,尤其是它的mirror功能对我很有用。顾名思义,mirror就是在源和目的之间做文件的同步,可以是从server到client(get/download),也可以是从client到server(put/upload),我用到的是后者。
由于使用github的public repository会导致代码中的敏感信息(比如环境配置信息)泄漏,我最近一直想找到一个解决的办法。