Posts

Showing posts with the label Repository

[Level 3] Setting Local Repository.

Days ago, I am the speaker of Sun campus seminar,  my subject of the session is the OpenSolaris new feature. Because I have to demo how to install package by package manager, and I'm afraid that the school cannot provide my laptop to surve the net. I decided to setup the local repository on my laptop. The following script is the local repository setup script, please refer to it. regards, Stanley Huang #!/usr/bin/bash clear set -f ## noglob fRepoISO=/Karajon/ISOs/osol-repo-0906-full.iso dMP=/mnt/repo && pfexec mkdir -p $dMP fsRepo=rpool/repo && pfexec zfs create -o compression=on $fsRepo 2>/dev/null dRepo=`zfs get -H mountpoint $fsRepo | awk '{print($3)}'` sHost=192.168.1.100 sHostname=stanley-nb nPort=81 sIF=yge0:1 fBackupPublisher=/PkgPublisher.bak cat < Repository Full ISO Image    : $fRepoISO Iso Image Mount Point        : $dMP Repository ZFS File System   : $fsRepo Re...