Tag: Ubuntu

  • Install OpenVPN with IPv6 on Ubuntu

    This article gives out the process of install OpenVPN with IPv6, and to be more specific, it will foucus on the difference with the Ubuntu official document about OpenVPN installation [1]. Before start, You need to check whether your server has IPv6 address. And if you are looking for tips about OpenVPN both with IPv4…

  • 安装 Ubuntu 12.04 (Precise) 之后

    本文会不定期更新,最后更新时间 2012/06/02 Changelog 20120516: 优化最大化页面: gnome-shell-extension-window-buttons 20120602: 安装Calibre: sudo apt-get install calibre 曾经心血来潮写过一个Ubuntu的配置教程,还美其名曰《邂逅Ubuntu》系列,后来Ubuntu更新了,GNOME也变成了gnome shell,但是教程再也没更新过(惭愧不已)。适逢Ubuntu 12.04刚更新不久,简单记录下配置的流程。 本文主要记录了安装Ubuntu 12.04 (Precise) 之后的配置美化过程,主要包含: 1、配置软件源;2、安装配置gnome shell取代unity;3、安装相关软件;4、配置杂项。 配置软件源 我的策略是教育网一组,公网一组,官网一组,其次主要考虑地理位置和具体连接的速度。 教育网推荐是使用清华、北交、上交的(其一即可),公网推荐sohu(中国官方源)、163的(同样选择其一)。 [shell] # /etc/apt/sources.list # tsinghua deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ precise main multiverse restricted universe deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ precise-backports main multiverse restricted universe deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ precise-security main multiverse…

  • 在Ubuntu上安装MongoDB

    由于Ubuntu版本发行的规则,版本库里往往不是最新的组建,所以有时候需要使用官方的PPA进行补充,例如MongoDB,版本库里的版本连UTF-8都不支持。官方已经有很详细的解释说明,这里主要是复述记录一下。 废话不多说,上代码: [shell] # Add GPG key 添加GPG密钥 apt-key adv –keyserver keyserver.ubuntu.com –recv 7F0CEB10 # Add source list 添加软件源 echo “deb http://downloads-distro.mongodb.org/repo/debian-sysvinit dist 10gen” > /etc/apt/sources.list.d/mongodb.list # update and install 更新软件源并安装 apt-get update apt-get install mongodb-10gen [/shell] 这里也有一个简单的脚本实现自动安装,拷贝到单独的文件中,运行”sudo sh 文件名”即可。