日期:2011-02-23 18:06:00  来源:本站整理

Ubuntu 10.10 Server+Nginx+Django+Postgresql安装步骤[服务器安全]

赞助商链接



  本文“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 http://mirrors.163.com/Ubuntu/ maverick main restricted universe multiverse
deb http://mirrors.163.com/Ubuntu/ maverick-security main restricted universe multiverse
deb http://mirrors.163.com/Ubuntu/ maverick-updates main restricted universe multiverse
deb http://mirrors.163.com/Ubuntu/ maverick-proposed main restricted universe multiverse
deb http://mirrors.163.com/Ubuntu/ maverick-backports main restricted universe multiverse
deb-src http://mirrors.163.com/Ubuntu/ maverick main restricted universe multiverse
deb-src http://mirrors.163.com/Ubuntu/ maverick-security main restricted universe multiverse
deb-src http://mirrors.163.com/Ubuntu/ maverick-updates main restricted universe multiverse
deb-src http://mirrors.163.com/Ubuntu/ maverick-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/Ubuntu/ maverick-backports main restricted universe multiverse
deb http://archive.Ubuntu.com/ubuntu/ maverick main restricted universe multiverse
deb http://archive.Ubuntu.com/ubuntu/ maverick-security main restricted universe multiverse
deb http://archive.Ubuntu.com/ubuntu/ maverick-updates main restricted universe multiverse
deb http://archive.Ubuntu.com/ubuntu/ maverick-proposed main restricted universe multiverse
deb http://archive.Ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
deb-src http://archive.Ubuntu.com/ubuntu/ maverick main restricted universe multiverse
deb-src http://archive.Ubuntu.com/ubuntu/ maverick-security main restricted universe multiverse
deb-src http://archive.Ubuntu.com/ubuntu/ maverick-updates main restricted universe multiverse
deb-src http://archive.Ubuntu.com/ubuntu/ maverick-proposed main restricted universe multiverse
deb-src http://archive.Ubuntu.com/ubuntu/ maverick-backports main restricted universe multiver搜索引擎优化

#LUPA的源,速度也很好的(开源社区)
deb http://mirror.lupaworld.com/Ubuntu maverick main restricted universe multiverse
deb http://mirror.lupaworld.com/Ubuntu maverick-security main restricted universe multiverse
deb http://mirror.lupaworld.com/Ubuntu maverick-updates main restricted universe multiverse
deb http://mirror.lupaworld.com/Ubuntu maverick-backports main restricted universe multiverse
deb http://mirror.lupaworld.com/Ubuntu maverick-proposed main restricted universe multiverse
deb-src http://mirror.lupaworld.com/Ubuntu maverick main restricted universe multiverse
deb-src http://mirror.lupaworld.com/Ubuntu maverick-security main restricted universe multiverse
deb-src http://mirror.lupaworld.com/Ubuntu maverick-updates main restricted universe multiverse
deb-src http://mirror.lupaworld.com/Ubuntu maverick-backports main restricted universe multiverse
deb-src http://mirror.lupaworld.com/Ubuntu maverick-proposed main restricted universe multiverse

#sohu的源
deb http://mirrors.sohu.com/Ubuntu/ maverick main restricted
deb-src http://mirrors.sohu.com/Ubuntu/ maverick main restricted
deb http://mirrors.sohu.com/Ubuntu/ maverick-updates main restricted
deb-src http://mirrors.sohu.com/Ubuntu/ maverick-updates main restricted
deb http://mirrors.sohu.com/Ubuntu/ maverick universe
deb-src http://mirrors.sohu.com/Ubuntu/ maverick universe
deb http://mirrors.sohu.com/Ubuntu/ maverick-updates universe
deb-src http://mirrors.sohu.com/Ubuntu/ maverick-updates universe
deb http://mirrors.sohu.com/Ubuntu/ maverick multiverse
deb-src http://mirrors.sohu.com/Ubuntu/ maverick multiverse
deb http://mirrors.sohu.com/Ubuntu/ maverick-updates multiverse
deb-src http://mirrors.sohu.com/Ubuntu/ maverick-updates multiverse

#官方的Ubuntu 10.10要保存几个用于告急www.linuxidc.com更新
deb http://security.Ubuntu.com/ubuntu maverick-security main restricted
deb-src http://security.Ubuntu.com/ubuntu maverick-security main restricted
deb http://security.Ubuntu.com/ubuntu maverick-security universe
deb-src http://security.Ubuntu.com/ubuntu maverick-security universe
deb http://security.Ubuntu.com/ubuntu maverick-security multiverse
deb-src http://security.Ubuntu.com/ubuntu maverick-security multiverse

注意vi号令: i写入情势 ESC退出写入情势,进入号令情势 wq保存退出号令
dd 删除正行 x删除单个字符3,更新apt-get并安装基本编译环境
sudo apt-get update
sudo apt-get install build-essential

4,安装Django
wget http://media.djangoproject.com/releases/1.2/Django-1.2.3.tar.gz


tar zxvf Django-1.2.3.tar.gz
cd Django-1.2.3.tar.gz
sudo python setup.py install


5,布置项目


  以上是“Ubuntu 10.10 Server+Nginx+Django+Postgresql安装步骤[服务器安全]”的内容,如果你对以上该文章内容感兴趣,你可以看看七道奇为您推荐以下文章:
  • ubuntu下无法利用无线网络的办理办法
  • 三步搞定windows与ubuntu之间文件同享
  • Ubuntu和windows文件同享问题详解
  • 在 Ubuntu 12.04 Server 上安装 Rails 环境
  • ubuntu 12.04 安装 Nginx+PHP5 (PHP-FPM) +MySQL主机详解
  • Linux(ubuntu)下配置android环境
  • Ubuntu 10.04上搭建Ruby on Rails环境
  • Ubuntu 10.10中关闭按钮位置的改变
  • Ubuntu下检测CPU温度的工具
  • Ubuntu Server增添关机用户
  • Ubuntu 11.04安装火狐5
  • ubuntu 10.04下搭建samba文件服务器
  • 本文地址: 与您的QQ/BBS好友分享!
    • 好的评价 如果您觉得此文章好,就请您
        0%(0)
    • 差的评价 如果您觉得此文章差,就请您
        0%(0)

    文章评论评论内容只代表网友观点,与本站立场无关!

       评论摘要(共 0 条,得分 0 分,平均 0 分) 查看完整评论
    Copyright © 2020-2022 www.xiamiku.com. All Rights Reserved .