Возможно вы искали: 'Codename Panzers, Phas...'

May 15 2025 19:13:21
  • Как сделать 8Gamers.Ru домашней страницей?
  • Игры
    • База данных по играх
    • Игровые новости
    • Игровая индустрия
    • Обзоры на игры
    • Прохождения игр
    • Гайды к играм
    • Превью о играх
    • Игровые тизеры
    • Игровые арты
    • Игровые обои
    • Игровые скриншоты
    • Игровые обложки
    • Игровые трейлеры
    • Игровое видео
    • Вышедшие игры
    • Ближайшие релизы игр
  • Кино и ТВ
    • База данных по кино
    • Статьи о кино
    • Постеры
    • Кадры из кино
    • Кино трейлеры
    • Сегодня в кино
    • Скоро в кино
  • Комиксы и манга
    • Манга по алфавиту
    • База данных по комиксах
    • Читать онлайн комиксы
    • Читать онлайн манга
    • База персонажей
  • Читы и коды
    • Чит-коды для PC игр
    • Чит-коды для консольных игр
    • Трейнеры
    • Коды Game Genie
  • Моддинг
    • Модификации
    • Карты к играм
    • Программы для моддинга
    • Статьи о моддинге
  • Геймдев
    • Всё о создании игр
    • Список движков
    • Утилиты в помощь игроделу
    • Конструкторы игр
    • Игровые движки
    • Библиотеки разработки
    • 3D-модели
    • Спрайты и тайлы
    • Музыка и звуки
    • Текстуры и фоны
  • Рецензии
    • Игры
    • Кино
    • Аниме
    • Комиксы
    • Мангу
    • Саундтреки
  • Саундтреки
    • Лирика
  • Файлы
    • Патчи к играм
    • Русификаторы к играм
    • Сохранения к играм
    • Субтитры к кино
  • Медиа
    • Видео
    • Фото
    • Аудио
    • Фан-арты
    • Косплей
    • Фото с виставок
    • Девушки из игр
    • Рисунки
    • Рисуем онлайн
    • Фотохостинг
  • Юмор
    • Анекдоты
    • Афоризмы
    • Истории
    • Стишки и эпиграммы
    • Тосты
    • Цитаты
  • Флеш
    • Азартные
    • Аркады
    • Бродилки
    • Гонки
    • Для девочек
    • Для мальчиков
    • Драки
    • Квесты
    • Леталки
    • Логические
    • Мультфильмы
    • Открытки
    • Приколы
    • Разное
    • Спорт
    • Стратегии
    • Стрелялки
Статистика

Статей: 87772
Просмотров: 96111483
Игры
Injustice:  Gods Among Us
Injustice: Gods Among Us
...
Dark Souls 2
Dark Souls 2
Dark Souls II - вторая часть самой хардкорной ролевой игры 2011-2012 года, с новым героем, сюжето...
Battlefield 4
Battlefield 4
Battlefield 4 - продолжение венценосного мультиплеер-ориентированного шутера от первого ли...
Кино
Steins;Gate
Steins;Gate
Любители японской анимации уже давно поняли ,что аниме сериалы могут дать порой гораздо больше пи...
Ку! Кин-дза-дза
Ку! Кин-дза-дза
Начинающий диджей Толик и всемирно известный виолончелист Владимир Чижов встречают на шумной моск...
Обзоры на игры
• Обзор Ibara [PCB/PS2] 18357
• Обзор The Walking ... 18801
• Обзор DMC: Devil M... 19879
• Обзор на игру Valk... 15877
• Обзор на игру Stars! 17764
• Обзор на Far Cry 3 17948
• Обзор на Resident ... 16024
• Обзор на Chivalry:... 17508
• Обзор на игру Kerb... 17981
• Обзор игры 007: Fr... 16619
Превью о играх
• Превью к игре Comp... 17960
• Превью о игре Mage... 14464
• Превью Incredible ... 14721
• Превью Firefall 13479
• Превью Dead Space 3 16334
• Превью о игре SimC... 14730
• Превью к игре Fuse 15442
• Превью Red Orche... 15542
• Превью Gothic 3 16343
• Превью Black & W... 17354
Главная » Статьи » Разное » Подговтовка Linux сервера для автоматической установки Solaris (eng) (linux solaris install jumpstart nfs dhcp boot pxe)

Подговтовка Linux сервера для автоматической установки Solaris (eng) (linux solaris install jumpstart nfs dhcp boot pxe)

Ключевые слова: linux, solaris, install, jumpstart, nfs, dhcp, boot, pxe, (найти похожие документы)

From: Alex Charrett
Date: Wed, 12 Apr 2006 18:21:07 +0000 (UTC)
Subject: Подговтовка Linux сервера для автоматической установки Solaris (eng)

Оригинал: http://www.transposed.org/techstuff/linux-jumpstart.html

Linux Jumpstart

A guide to setting up a jumpstart server on a linux machine. This
enables you to jumpstart solaris onto a machine without an existing
solaris installation.

Thanks

Thanks to both Jon Still and Tim Gibbons for helping me improve this
document.

Any feedback is welcome, problems hints or a simple "that works,
hurrah" are helpful. Drop me a line at alex at transposed dot org.

Update: I hear this is only likley to work with Solaris 8 or newer.
Something to do with the ip fragementation in the inetboot kernels for
7 and earlier being broken. Possibly.

What you will need....

* A Linux system
* A set of Solaris install media for the system you want to install
* rarpd
* bootparamd
* tftpd
* pdksh (if you want to install both CDs)
* tcpdump
* A Kernel with NFSv3 support


All of these bar the Solaris media came with my linux distribution, so
they shouldn't be too hard to come by.


Copying the install media to the server

I have heard that you can jumpstart direct by exporting the cd's, but
this is faster for the installs.

Pick a location to put the cd images, /home/jumpstart in my case. Then
create it and an install and config subdirectory. The config dir is
only necessary if you intend to want to do non-interactive jumpstarts.

mkdir -p /home/jumpstart/install
mkdir /home/jumpstart/config


Mount Solaris cd 1 (or the solaris cd if you are using earlier
releases), and use the setup_install_server script. In order for it to
work, you will need to create a symlink from /bin/bar to /bin/tar as
the script uses some random tar implementation (called bar) to do the
copy. GNU tar seems to work fine as a replacement. Then run the
setup_install_server script.

ln -s /bin/tar /bin/bar
mount /mnt/cdrom
cd /mnt/cdrom/Solaris_8/Tools
./setup_install_server /home/jumpstart/install
cd /
umount /mnt/cdrom


Replace the cd with cd 2 (if you don't have a cd 2, dont worry about
it). Even in Solaris 8 you can get away with just using cd1 if youre
not going for one of the bigger installs. The add_to_install_server is
written in ksh, so this is what you need pdksh for. Its odd that these
scripts are completley different, and it seems this one uses cpio to
copy the data. Weird eh? Anyway, most of it works ok apart from the
disk space checking thing, so set and export $NOSPACECHK before you
run it. I'm sure you can cope with checking how much space you have
free.

mount /mnt/cdrom
cd /mnt/cdrom/Solaris_8/Tools
NOSPACECHK="yes"; export NOSPACECHK
./add_to_install_server /home/jumpstart/install


Set up the NFS server

If you've not already done so, install rarpd, bootparamd and tftpd.
I'm assuming you're using the kernel nfsd here.

Set up the NFS export. Put the follwing in /etc/exports, but use
appropriate values for your site. The config export is optional,
depending on wether you want to use non-interactive jumpstart or not.

/home/jumpstart/install 192.168.1.*(ro,no_root_squash)
/home/jumpstart/config 192.168.1.*(ro,no_root_squash)


Set up the server for the client

This is where it gets a little fiddly, for each install client you
need an entry in /etc/hosts, /etc/ethers and /etc/bootparams and a
symlink to the appropriate kernel in /tftpboot

/etc/hosts

This one is easy, you need the hostname and its IP address. Put it in
/etc/hosts in the following format:

192.168.1.4 helios


Also, ensure that your server's hostname is *not* listed against
127.0.0.1. If it is, remove it from that line and give it its own
line, so your hosts file looks like this (where gilbert is your
server).

127.0.0.1 localhost.localdomain localhost
192.168.1.1 gilbert
192.168.1.4 helios


/etc/ethers

This is so that rarpd can respond to the client's request for an IP
address. It does this by resolving it's MAC address to a hostname, and
uses /etc/hosts to turn that in to an IP. In /etc/ethers:
8:0:20:7a:a3:f2 helios

/etc/bootparams

This is the config so the client knows where to access the install
image and configurations. In /etc/bootparams, where gilbert is my
jumpstart server:

helios root=gilbert:/home/jumpstart/install/Solaris_8/Tools/Boot
install=gilbert:/home/jumpstart/install
boottype=:in sysid_config=gilbert:/home/jumpstart/install/Solaris_8/Too
ls/Boot/etc
install_config=gilbert:/home/jumpstart/config
rootopts=:rsize=8192,wsize=8192


/tftpboot

This is the really fiddly bit. Either you calculate the client's IP
address in hex format, or you use tcpdump to determine what it's
requesting.

This is becase the client will request an inetboot file from the tftp
server. It will be named in the format HEXIPADDR.ARCH (apparantly some
machines do not request the .ARCH part of the filename). In my case,
it is C0A80104.SUN4M. So if, like me you don't fancy calculating this
name, start the bootparamd and the rarpd (you may need to start the
rarpd with -e as some versions will not respond to rarp queries if
there is not a corresponding image in /tftpboot to serve.

According to Jon,

perl -e 'printf "%02x"x4 ."n",192,168,1,4;'|tr a-z A-Z


will give you the hex address (where the IP is 192.168.1.4).

Similarly, you can do it in shell like this:

printf %02x 192 168 1 4|tr [:lower:] [:upper:]


Once your services are started, get tcpdump on the go (this is best
done on a quiet or switched network, and boot net - install your
client. tcpdump should produce a line like this:

08:59:24.640821 helios.40337 > gilbert.beau.net.tftp: 23 RRQ "C0A80104.SUN4M"


Alternativley, running bootparamd with -d and -s flags should write
the filename being requested to the syslog

Once you have this filename, you can copy the appropriate inetboot
image from your /home/jumpstart/install hierachy. The example below is
appropriate for a sun4m architecture machine, modify it for other
systems

cp /home/jumpstart/install/Solaris_8/Tools/Boot/usr/platform/sun4m/lib/fs/nfs/i
netboot /tftpboot/inetboot.sun4m
cd /tftpboot
ln -s inetboot.sun4m C0A80104.SUN4M


Aside: I've been told that some newer Suns (such as the Sun Blade 100)
have specific inetboot kernels. The Sun Blade 100 one is at
/home/jumpstart/install/Solaris_8/Tools/Boot/usr/platform/SUNW,Sun-Bla
de-100/lib/fs/nfs/inetboot

Enable your tftpd and you should be ready to go!


Jumpstart the client

Stop-A the client and get it to the openboot prompt. From there type
boot net - install and off it should go!

IMPORTANT. One problem I have had with this is that when it boots,
after it configured the network interface (a message like "Configured
interface le0" is displayed), the client just sits there. Sending the
client a ping should wake it up and it will continue fine. Weird eh?
1272 Прочтений •  [Подговтовка Linux сервера для автоматической установки Solaris (eng) (linux solaris install jumpstart nfs dhcp boot pxe)] [08.05.2012] [Комментариев: 0]
Добавил: Ukraine Vova
Ссылки
HTML: 
[BB Url]: 
Похожие статьи
Название Добавил Добавлено
• Подговтовка Linux сервера для автом... Ukraine Vova 08.05.2012
Ни одного комментария? Будешь первым :).
Пожалуйста, авторизуйтесь для добавления комментария.

Проект входит в сеть сайтов «8Gamers Network»

Все права сохранены. 8Gamers.NET © 2011 - 2025

Статьи
Рецензия на Pressure
Рецензия на Pressure
Чтобы обратить на себя внимание, начинающие маленькие разработчики, как правило, уходят в жанры, ...
Рецензия на Lost Chronicles of Zerzura
Рецензия на Lost Chron...
Игры, сделанные без любви и старания, похожи на воздушный шар – оболочка есть, а внутри пусто. Lo...
Рецензия на The Bridge
Рецензия на The Bridge
«Верх» и «низ» в The Bridge — понятия относительные. Прогуливаясь под аркой, можно запросто перей...
Рецензия на SimCity
Рецензия на SimCity
Когда месяц назад состоялся релиз SimCity, по Сети прокатилось цунами народного гнева – глупые ош...
Рецензия на Strategy & Tactics: World War 2
Рецензия на Strategy &...
Название Strategy & Tactics: World War II вряд ли кому-то знакомо. Зато одного взгляда на ее скри...
Рецензия на игру Scribblenauts Unlimited
Рецензия на игру Scrib...
По сложившейся традиции в информационной карточке игры мы приводим в пример несколько похожих игр...
Рецензия на игру Walking Dead: Survival Instinct, The
Рецензия на игру Walki...
Зомби и продукция-по-лицензии — которые и сами по себе не лучшие представители игровой биосферы —...
Обратная связь | RSS | Донейт | Статистика | Команда | Техническая поддержка