Monday, June 28, 2010

Adventures with OpenSolaris 2010.03 and the DL380

I ordered up three 36GB U320 disks for the ol'serverbeast (DL380 G3). It lives in a closet now where the loud fan noise is bearable.

Whoa! OpenSolaris not too linuxy at all. Curious about the ZFS hoopla. Maybe look into zones.

My own OpenSolaris cheatsheet (some useful commands):
System, version???
uname -a
SunOS kestrel 5.11 snv_134 i86pc i386 i86pc Solaris

Using the package manager (there's a GUI, but my box is headless)

= = = AMP (Apache Mysql Php)= = =

add software repo:
sudo pkg set-authority -O http://pkg.opensolaris.org/webstack webstack.opensolaris.org
sudo pkg set-authority -O http://pkg.opensolaris.org/contrib contrib.opensolaris.org

look for the AMP (apache mysql php) package:
pkg search amp

install the AMP (apache mysql php) package:
sudo pkg install amp

Activate and start installed AMP
pfexec /usr/sbin/svccfg import /var/svc/manifest/network/http-apache22.xml
pfexec /usr/sbin/svccfg import /var/svc/manifest/application/database/mysql_51.xml

pfexec /usr/sbin/svcadm enable network/http
pfexec /usr/sbin/svcadm enable database/mysql:version_51

replace enable with disable to turn these services off.
more info.

VirtualBox OS X host / OpenSolaris 2010.03 guest is sucking down all the free memory I have.
Lets find out what's going on
df -k -F tmpfs and
echo "::memstat" | mdb -k

swap -l

Uggh; can't find anything.

Glassfish
Installing glassfish.
Using glassfish in production.

No comments:

Post a Comment