目前分類:RH133 (30)

瀏覽方式: 標題列表 簡短摘要
Kernel

three kernel
. regular (Kernel): one or more processor but 4GB of Ram and less
. PAE (Kernel-PAE): multiple processor and up to 16GB of Ram
. Xen (Kernel-xen): needed for virtualization


Modules

aquatower 發表在 痞客邦 留言(0) 人氣()

Lab1

Target: change runlevel

edit /etc/inittab

id:X:initdefault:


Lab2

aquatower 發表在 痞客邦 留言(0) 人氣()

Run Level

/etc/rc.d/rc.sysinit
/etc/sysctl.conf

/etc/rc.d/rcX.d/*

rcX.d/*目錄
Sxx表示執行
Kxx表示不執行

aquatower 發表在 痞客邦 留言(0) 人氣()

Boot Sequence

1. Bios決定開機的device(cdrom, hdd, usb hdd...,etc)
. bootloader
2. MBR : /boot/grub/grub.conf
. 開機分割區, 載入Kernel
3. Kernel
. 偵測H.W(電子訊號)
. 驅動
4. init

aquatower 發表在 痞客邦 留言(0) 人氣()

Unit1
Lab

1. create server1.repo

/etc/yum.repos.d/server1.repo
---略---

2. yum update kernel-PAE

aquatower 發表在 痞客邦 留言(0) 人氣()

Repositories
-----------------------------

1. file in /etc/yum.repos.d/*.repo

2. server1.repo

[Server1]
name=Red Hat Enterprise Linux 5Server - Server1
baseurl=ftp://192.168.0.254/pub/RHEL5/Server

aquatower 發表在 痞客邦 留言(0) 人氣()

yum: installation and removal

1. #yum install [package] ----安裝套件, 如果己經安裝, 就不會再安裝

2. #yum groupinstall [packagegroup]

3, #yum remove [package]

4, #yum update [package] ----舊版會被移除, 安裝新的版本

aquatower 發表在 痞客邦 留言(0) 人氣()

Lab3: Server1部署
Target: Creating Virtual Machine- vserver


1. 準備kickstart檔案: vserver.cfg


可以從/root/anaconda-ks.cfg , 複製為vserver.cfg , 再修改

# Kickstart file automatically generated by anaconda.

aquatower 發表在 痞客邦 留言(0) 人氣()

Lab2: Server1部署
Target: Running the Xen Virtualization Environment

1. 確認Hardware, CPU是否有支援

[root@server1 ~]# grep pae /proc/cpuinfo
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx lm constant_tsc up pni monitor ds_cpl tm2 cx16 xtpr lahf_lm
[root@server1 ~]# yum list |grep xen


aquatower 發表在 痞客邦 留言(0) 人氣()

Lab1: Server1部署(1)
Target: Create a private repository


安裝Rhel5

1. 確認Hardware是否有支援(VGA, Ethernet),先到Redhat網站上去查, Intel的主機版大部份都有支援
小弟選用的Intel D201GLY2主機版

2. 光碟片Rhel5, 檢查光碟是否有損壞

aquatower 發表在 痞客邦 留言(0) 人氣()

«12