在osol jeos 中安装 程序 1

Part 1: Check JeOS readiness as user root

1. Switch to root

pfexec su - root

2a. Check, if PKG will clean download cache on SUCCESS

root@osol-jeos:~# pkg property flush-content-cache-on-success
PROPERTY                       VALUE
flush-content-cache-on-success True

2b. Check, then we increase PKG download patience for slowest networks

root@osol-jeos:~# set | grep PKG
PKG_CLIENT_TIMEOUT=120
PKG_TIMEOUT_MAX=16

2c. Check, then we use right main repository for opensolaris.org

root@osol-jeos:~# pkg publisher
PUBLISHER                             TYPE     STATUS   URI
opensolaris.org          (preferred)  origin   online   http://pkg.opensolaris.org/release/
contrib                               origin   online   http://pkg.opensolaris.org/contrib/

2d. Check, then we can access these repositories

root@osol-jeos:~# pkg refresh --full

2e. Check, opensolaris.org download speed of whole repository catalog

root@osol-jeos:~# curl pkg.opensolaris.org/release/catalog/0 >/dev/null
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100 1333k  100 1333k    0     0  93491      0  0:00:14  0:00:14 --:--:--  126k

2f. Check, if we have enough memory and activated swap (I recommend if possible to have VM with 768MB-1GB RAM configured)

root@osol-jeos:~# top | grep Memory
Memory: 1024M phys mem, 525M free mem, 512M total swap, 512M free swap

2g. Check, if you have enough disk space in host, in case then you use a growing Virtual disk Format

At least 2GB of disk space is needed

Part2: Install WebStack TMJ on OpenSolaris JeOS Prototype

WebStack in OpenSoalris 2o0906 is version 6 and it requires a JDK6 installation (Which is not forced by iPKG dependencies)

1. Installing full JDK 6 in smaller download chunks

root@osol-jeos:/~# pkg install SUNWj6rt
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                    1/1     686/686   31.77/31.77
PHASE                                        ACTIONS
Install Phase                                880/880
Deleting content cache

Next install Java Dev

 

root@osol-jeos:/~# pkg install SUNWj6dev
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                    1/1     284/284   33.53/33.53
PHASE                                        ACTIONS
Install Phase                                351/351
Deleting content cache

你可能感兴趣的:(jdk,cache,prototype,Access)