卸载linux旧内核

当linux内核更新后,开机的GRUB引导菜单中会存在新旧内核多个引导菜单,当新内核使用稳定后,我们可以将旧的内核删除以减少开机引导项,以下是在fedora与ubuntu中删除旧内核的方法,其他的YUM系或APT系系统可以参考参考

Linux下部署goAgent

准备工作

下载Google Appengine SDK For Pyahont与goAgent

1.Google App Engine SDK for Python
https://developers.google.com/appengine/downloads?hl=zh-CN#Google_App_Engine_SDK_for_Python

2.goagent
https://code.google.com/p/goagent/

下载后解压,将goagent文件夹放到google_appengine目录下,目录结构如下:

~/google_appengine/goagent-goagent-d488f2

准备好Google Application_ID与两步验证密码,如何申请问Google

Ubuntu Server中安装VNC Server

安装所有软件

#aptitude install openbox firefox ttf-wqy-microhei
#aptitude install vnc4server

设置openbox启动

#update-alternatives --config x-session-manager
然后选择openbox-session

设置vncserver密码:

#vncpasswd
Password: ******
Verify:*****

运行vncserver

# vncserver  //运行
# vncserver -kill :1  //终止

编辑~/.vnc/xstartup文件