Chinaunix首页 | 论坛 | 博客
  • 博客访问: 235242
  • 博文数量: 40
  • 博客积分: 2010
  • 博客等级: 大尉
  • 技术积分: 322
  • 用 户 组: 普通用户
  • 注册时间: 2008-06-05 19:46
个人简介

文章分类

全部博文(40)

文章存档

2022年(1)

2018年(2)

2013年(5)

2011年(1)

2010年(14)

2009年(5)

2008年(12)

分类: LINUX

2010-11-26 15:55:41

Dell PowerEdge 2600服务器上pxe安装Ubuntu 10.10 Server

 

PowerEdge 2600配置:

硬盘:scsi 73G三块

内存:1G

网卡:三块,其中服务器上原配的千兆网卡带有pxe(Pre-Boot Execution Environment)功能

 

一、配置pxe服务器

需要配置dhcp, tftp, Web服务器。

1、  dhcptftp服务器,可以在window下使用tftpd32件。如图:

 

 

 

 

将从网络上下载的ubuntu-10.10-server-i386.iso解压,把install\netboot目录下的内容都拷贝到D:\tftpboot\pxe下;把D:\tftpboot\pxe\ubuntu-installer\i386目录下的pxelinux.0文件拷贝到D:\tftpboot\pxe下来;修改D:\tftpboot\pxe\pxelinux.cfg目录下的default文件,添加语句include ubuntu-installer/i386/boot-screens/prompt.cfg,使得通过pxe启动时能够进入安装菜单界面。

 

2、  Web服务器使用linux系统下的apache服务器

ubuntu-10.10-server-i386.iso文件上传到linux,运行命令

mkdir /var/www/ubuntu

sudo mount –o loop ubuntu-10.10-server-i386.iso /var/www/ubuntu

 

二、PowerEdge 2600上通过pxe安装

1、启动PowerEdge 2600,按F12,使得服务器进入pxe

2Pxe先通过dhcp获得ip地址,如192.168.0.116

3pxe通过tftp获得启动需要的文件,并进入安装菜单。

4、安装过程中,会提示选择镜像网站,滚动到第一条,手动添加Web服务器的地址,如192.168.0.119,之后提示选择路径,添/ubuntu,开始通过Web服务器安装。安装过程中,还会在互联网上下载需要的安装包,需要一直与外网(互联网)保持连接。

5、安装后,需要修改apt-get更新源,修改/etc/apt/ sources.list文件,否则,apt-get时会一直在安装服务器(192.168.0.119)上更新。设置apt-get更新源为,可修改为以下内容:

#

# deb cdrom:[Ubuntu-Server 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted

 

#deb cdrom:[Ubuntu-Server 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted

# See for how to upgrade to

# newer versions of the distribution.

 

deb maverick main restricted

deb-src maverick main restricted

 

## Major bug fix updates produced after the final release of the

## distribution.

deb maverick-updates main restricted

deb-src maverick-updates main restricted

 

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu

## team. Also, please note that software in universe WILL NOT receive any

## review or updates from the Ubuntu security team.

deb maverick universe

deb-src maverick universe

deb maverick-updates universe

deb-src maverick-updates universe

 

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu

## team, and may not be under a free licence. Please satisfy yourself as to

## your rights to use the software. Also, please note that software in

## multiverse WILL NOT receive any review or updates from the Ubuntu

## security team.

deb maverick multiverse

deb-src maverick multiverse

deb maverick-updates multiverse

deb-src maverick-updates multiverse

 

## Uncomment the following two lines to add software from the 'backports'

## repository.

## N.B. software from this repository may not have been tested as

## extensively as that contained in the main release, although it includes

## newer versions of some applications which may provide useful features.

## Also, please note that software in backports WILL NOT receive any review

## or updates from the Ubuntu security team.

# deb maverick-backports main restricted universe multiverse

# deb-src maverick-backports main restricted universe multiverse

 

## Uncomment the following two lines to add software from Canonical's

## 'partner' repository.

## This software is not part of Ubuntu, but is offered by Canonical and the

## respective vendors as a service to Ubuntu users.

# deb maverick partner

# deb-src maverick partner

 

## Uncomment the following two lines to add software from Ubuntu's

## 'extras' repository.

## This software is not part of Ubuntu, but is offered by third-party

## developers who want to ship their latest software.

# deb maverick main

# deb-src maverick main

 

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

阅读(5219) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~