Linux下使用grive管理Google Drive
Aug 26, 2015
找到一个linux下可用的google drive客户端,纯cli操作,值得推荐 grive项目主页 https://github.com/Grive/grive Ubuntu中下通过PPA安装grive sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install grive 使用grive同步Google Drive …
无法使用add-apt-repository命令
Aug 23, 2015
在Ubuntu中使用PPA安装软件时,需要用到add-apt-repository命令,但有的VPS系统因为体量原因,可能没有该命令,因此需要通过以下方法来安装: …
Ubuntu下安装Ghost博客系统
Jun 06, 2015
安装Nodejs sudo add-apt-repository ppa:chris-lea/node.js sudo apt-get update sudo apt-get install nodejs 检查是否安装成功 root@hkvps:~# node -v v0.10.37 root@hkvps:~# npm -v 1.4.28 安装Ghost Ghost下载地址https://ghost.org/download/ wget https://ghost.org/zip/ghost-0.6.4.zip unzip ghost-0.6.4.zip -d ghost cd ghost npm install --production 运行Ghost npm start 可以通过127.0.0.1:2368来访问 …
Linux下安装最新版golang
May 11, 2015
ubuntu中可以使用apt-get install golang来安装go,但是版本稍旧 如果需要安装最新版的golang,那就得自己动手咧 安装golang 从官网下载最新版,手动安装 …
Ubuntu下安装VPN
Feb 23, 2014
安装pptpd #apt-get install pptpd IP设置 #vi /etc/pptpd.conf 添加以下内容: localip 192.18.0.1 remoteip 192.168.0.200-230 设置DNS #vi/etc/ppp/pptpd-options 添加以下内容: ms-dns 192.168.1.1 ms-dns 8.8.8.8 添加用户 #vi /etc/ppp/chap-secrets 添加以下内容: name * passwd * 重启vpn …
卸载linux旧内核
Aug 13, 2013
当linux内核更新后,开机的GRUB引导菜单中会存在新旧内核多个引导菜单,当新内核使用稳定后,我们可以将旧的内核删除以减少开机引导项,以下是在fedora与ubuntu中删除旧内核的方法,其他的YUM系或APT系系统可以参考参考 …
Ubuntu Server中安装VNC Server
May 11, 2013
安装所有软件 #aptitude install openbox firefox ttf-wqy-microhei #aptitude install vnc4server 设置openbox启动 #update-alternatives --config x-session-manager 然后选择openbox-session 设置vncserver密码: #vncpasswd Password: ****** Verify:***** 运行vncserver …