文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > IT/计算机 > 计算机软件及应用 > ubuntu server命令行升级
侵权投诉

ubuntu server命令行升级

Ubuntu Server命令行升级

背景: 因为服务器的11.04的ubuntu有些问题,少了些包,所以为了安装oracle,把ubuntu从11.04升级到11.10。

升级过程:

1. 修改更新源

命令:sudo/etc/apt/sources.list

换一个比较快的源,网易的源是最快的,所以把sources.list里面的东西删掉,换成:

deb doc.guandang.net natty main universe restricted multiverse

deb-src doc.guandang.net natty main universe restricted multiverse

deb doc.guandang.net natty-security universe main multiverse restricted

deb-src doc.guandang.net natty-security universe main multiverse restricted

deb doc.guandang.net natty-updates universe main multiverse restricted

deb doc.guandang.net natty-proposed universe main multiverse restricted

deb-src doc.guandang.net natty-proposed universe main multiverse restricted

deb doc.guandang.net natty-backports universe main multiverse restricted

deb-src doc.guandang.net natty-backports universe main multiverse restricted

deb-src doc.guandang.net natty-updates universe main multiverse restricted

2. 设置服务器的IP,以保证能连接外网。

服务器的固定ip是192.168.6.74,这个ip是无法连接外网的,所以需要设置双网卡,用另外一个ip下载更新包。

(我设置的静态ip,所以把我电脑的IP给了eh0,自己电脑自动获取的) auto eth0

iface eth0 inet static

address 192.168.11.143

gateway 192.168.5.2

netmask 255.255.0.0

broadcast 192.168.255.255

第1页

你可能喜欢

  • Ubuntu服务器
  • ubuntu命令大全
  • ubuntu常用命令
  • ubuntu终端命令
  • 命令行参数
  • ubuntu使用
  • 命令大全

热门文档

相关文档

  • Ubuntu_Server命令

    关于ubuntu(server 版)开关机的一些命令 2010-04-02 11:04 关于 ubuntu(...更新服务器 (上海市 电信): deb http://mirror.rootguide.org/ubuntu/ gutsy...

  • Ubuntu Server命令

    关于ubuntu(server 版)开关机的一些命令 2010-04-02 11:04 关于 ubuntu(...更新服务器 (上海市 电信): deb http://mirror.rootguide.org/ubuntu/ gutsy...

  • Ubuntu Server 命令行下的默认语言改为英语en_US.UTF-8

    Ubuntu Server 命令行下的默认语言改为英语en_US.UTF-8_计算机软件及应用_IT/...ubuntu server 安装 44页 免费 ubuntu server命令行升级... 4页 免费 ubuntu修...

  • ubuntu常用命令

    在终端输入以 下命令: #sudo apt-get install apache2 mysql-server php5 ...更新服务器(福建省福州市 电信) 更新服务器( 电信) deb http://ubuntu....

  • ubuntu基础命令

    下面主要说明一下如果不是安装的Ubuntu server时的安装方法。用命令在Ubuntu下...系统升级 #sudo apt-get update #sudo apt-get upgrade #sudo apt-get dist...

  • Ubuntu Server10.04moodle1.9 安装配置搭建

    安装算是完成了,在命令提示符下,输入用户名和密码 后登录成功。即可进入到 ubuntu server 操作界面了。 3.更新系统文件 Ubuntu 安装完毕后,要做的第一件事就是...

  • ubuntu server 10.04 简易使用

    ubuntu server 10.04 简易使用_计算机软件及应用_IT/计算机_专业资料。介绍了ubuntu...clean sudo apt-get autoremove 6 #这三个命令主要清理升级缓存以及无用包的...

  • Ubuntu命令大全【详细版】

    keyserver keyserver.ubuntu.com 5126890CDCC7AFE0 #5126890CDCC7AFE0 替换为你...运行前可以更新下数据库,运行 sudo updatedb 即可,但 这个命令每隔一段时间会...

  • 乌班图(Ubuntu)命令使用技巧

    keyserver keyserver.ubuntu.com 5126890CDCC7AFE0 #5126890CDCC7AFE0替换为你...运行前可以更新下数据库,运行 sudo updatedb 即可,但这个命令每隔一段时间会自动...

  • ubuntu server学习资料

    apache 的配置和使用 1 Ubuntu Server 命令行下的默认语言 中文乱码 菱形 如果...update 源后需要执行 upgrade 全部升级 install remove purge source —-安装软件...

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email