Presentation is loading. Please wait.

Presentation is loading. Please wait.

유닉스 OS Installation Solaris 2.6 설치 부팅 설치 후 작업들 Sun patches 설치

Similar presentations


Presentation on theme: "유닉스 OS Installation Solaris 2.6 설치 부팅 설치 후 작업들 Sun patches 설치"— Presentation transcript:

1 유닉스 OS Installation Solaris 2.6 설치 부팅 설치 후 작업들 Sun patches 설치
패키지 추가/삭제

2 Solaris 2.6 설치 설치 전 확인 사항들 최소 16MB의 메모리와 298MB의 디스크
설치 장비들(CD-ROM, 네트웍 설치 서버) 새로운 설치 ? 업그레이드 ? 데이터의 백업 하드웨어의 지원 여부 소요 시간(30분~3시간)

3 Solaris 2.6 설치 OpenPROM 명령어들 probe-scsi: 현재 연결된 scsi 장비들
probe-scsi-all: 모든 scsi controller에 연결된.. setenv, printenv: 현재의 설정 환경 boot disk/cdrom/net: 부팅 장치 test net/scsi cd, ls help, set old-mode, n

4 Solaris 2.6 설치 설치 Sun banner 후 STOP-A “ok”에서 “boot cdrom”: 대화식 설치
web start: “boot cdrom - browser”: 웹브라우저 화면의 지시사항을 따른다. Language: KO(EUC-KR), KO.UTF-8 ip address, hostname, subnet naming service(NIS+,NIS,Other(=files)) disk 정보

5 Solaris 2.6 설치 화면 Type b (boot), c (continue), or n (new command mode)
Type help for more information ok boot cdrom Booting from: sd(0,6,5) SunOS Release x.x Version [UNIX(R) System V Release] Copyright (c), Sun Microsystems, Inc. WARNING: clock gained 35 days -- CHECK AND RESET THE DATE! Configuring devices Starting OpenWindows...

6 Solaris 2.6 설치 Upgrade/Initial Upgrade
Upgrade: merge new version with existing file Initial: overwrites the system’s disk with new version Upgrade Solaris 2.4 or later don’t have to backup patches reallocate the disk when don’t have enough space

7 Solaris 2.6 설치 can’t move another software group: eg, end user support -> developer support (X) /a/var/sadm/system/logs/upgrade_log: before reboots /var/sadm/system/logs/upgrade_log: after reboots ! Solstice, DiskSuite, Prestoserve requires some changes before upgrading

8 Solaris 2.6 설치 파티션 나누기(281~780MB) /: ~50MB /var(⊃ /opt): 30~MB
/usr: 300~600MB /<home_dir>: ~? <사용자 홈> /usr/local: ~? (local applications) /opt: ~? (Sun 3rd party)

9 Solaris 2.6 설치 설치 방법 End User System Support (281+MB)
Basic, Core, Run-Time environment Developer System Support (537+MB) Developer support (language, manuals) Entire Distribution (608+MB) AnswerBook2, Enhanced/Advanced tools/features Entire Distribution Plus OEM System Support Various System, Peripherals and OEM support

10 부팅 과정 boot (OpenPROM) probe-scsi, probe-scsi-all boot boot disk
boot <path> <options> boot -a: ask for all informations boot -s: single user. needs root’s password boot -r: reconfigure all /devices files

11 설치 후 작업들 defaultrouter no /etc/defaultomain ! /etc/resolv.conf
/etc/defaultrouter or in.rdisc (router discovery) runs no /etc/defaultomain ! /etc/resolv.conf search inet.co.kr. nuri.net. nameserver nameserver

12 설치 후 작업들 /etc/nsswitch.conf /etc/default/* /etc/shells:
add “dns” for “hosts” service. /etc/default/* init: TZ=ROK, LANG=ko sys-suspend: PERMS=- /etc/shells: /usr/local/bin/{bash,tcsh} /usr/bin/int_freesh

13 설치 후 작업들 /etc/mail/aliases /etc/mail/sendmail.cf
postmaster, daemon, admin, lp, smtp, uucp,... should be directed to root do same thinng for all system accounts “root” should be forwarded to the real admin /etc/mail/sendmail.cf Lm: local domain (Lmnuri.net) Dj: official name (Djbam.nuri.net) DR,CR: relay host (DRsmtp.nuri.net) Dm,Cm: domain (Cm nuri.net inet.co.kr) add your disks to /etc/vfstab

14 Sun patches 추가 Sources ftp://sunsite.kren.nm.kr/shortcut/sun-patches/ ftp://ftp.cs.columbia.edu/archives/sun-patches/ news:comp.unix.solaris news:comp.sys.sun.admin

15 Sun patches 추가 화일 풀기 installpatch patchadd
gzip -dc tar.Z | tar xvf - installpatch ./installpatch -d . ./installpatch -d `pwd` patchadd patchadd -d . patchadd -d `pwd`

16 패키지 추가/삭제 pkgaded -d device_name pkgid pkgchk -v pkgid
device_name: path of CD or directory pkgid: name of the software package pkgadd -d /cdrom/cdrom0/s0/solaris_2.6 SUNWaudio pkgadd -d `pwd` (SUNW* in current dir.) pkgadd -d gcc pkgchk -v pkgid verify that packages has been installed correctly

17 패키지 추가/삭제 pkgrm pkgid Sources: http://www.sunfreeware.com/
ftp://sunsite.unc.edu/pub/solaris/ ftp://ftp.kreonet.re.kr/pub/OS/Sun/binaries/

18 참고할 만한 곳들 http://docs.sun.com/ http://www.sun.com/solaris/
Solaris 서버 플랫폼용 “Start here(여기서 시작)” “Information Library for Solaris 2.6”


Download ppt "유닉스 OS Installation Solaris 2.6 설치 부팅 설치 후 작업들 Sun patches 설치"

Similar presentations


Ads by Google