Ubuntu 10.10 Server+Nginx+Django+Postgresql安装步骤

1,安装Ubuntu 10.10

1.1使用默认安装,在更新apt的时候选择跳过

1.2设置管理员的用户名和密码

1.3安装openssh-server启动ssh服务,方便使用Bitvise Tunnelier工具进行管理
   sudo apt-get install openssh-server

2, 更新源
   2.1 sudo vi /etc/apt/sources.list 编辑源列表

#163的,速度很不错的
deb maverick main restricted universe multiverse
deb maverick-security main restricted universe multiverse
deb maverick-updates main restricted universe multiverse
deb maverick-proposed main restricted universe multiverse
deb maverick-backports main restricted universe multiverse
deb-src maverick main restricted universe multiverse
deb-src maverick-security main restricted universe multiverse
deb-src maverick-updates main restricted universe multiverse
deb-src maverick-proposed main restricted universe multiverse
deb-src maverick-backports main restricted universe multiverse
deb maverick main restricted universe multiverse
deb maverick-security main restricted universe multiverse
deb maverick-updates main restricted universe multiverse
deb maverick-proposed main restricted universe multiverse
deb maverick-backports main restricted universe multiverse
deb-src maverick main restricted universe multiverse
deb-src maverick-security main restricted universe multiverse
deb-src maverick-updates main restricted universe multiverse
deb-src maverick-proposed main restricted universe multiverse
deb-src maverick-backports main restricted universe multiverseo

#LUPA的源,速度也很好的(开源社区)
deb maverick main restricted universe multiverse
deb maverick-security main restricted universe multiverse
deb maverick-updates main restricted universe multiverse
deb maverick-backports main restricted universe multiverse
deb maverick-proposed main restricted universe multiverse
deb-src maverick main restricted universe multiverse
deb-src maverick-security main restricted universe multiverse
deb-src maverick-updates main restricted universe multiverse
deb-src maverick-backports main restricted universe multiverse
deb-src maverick-proposed main restricted universe multiverse

#sohu的源
deb maverick main restricted
deb-src maverick main restricted
deb maverick-updates main restricted
deb-src maverick-updates main restricted
deb maverick universe
deb-src maverick universe
deb maverick-updates universe
deb-src maverick-updates universe
deb maverick multiverse
deb-src maverick multiverse
deb maverick-updates multiverse
deb-src maverick-updates multiverse

#官方的Ubuntu 10.10要保留几个用于紧急更新
deb maverick-security main restricted
deb-src maverick-security main restricted
deb maverick-security universe
deb-src maverick-security universe
deb maverick-security multiverse
deb-src maverick-security multiverse

注意vi命令: i写入模式 ESC退出写入模式,进入命令模式 wq保存退出命令
               dd 删除正行 x删除单个字符

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wygfjg.html