Showing posts with label opensolaris. Show all posts
Showing posts with label opensolaris. Show all posts

Wednesday, July 28, 2010

Visiting NixOS land

Hello Nixers!

I visit NixOS annually to see the progress (like a comet?). This is my 2.5 year visit.

NixOS Visit Report
============
Visit 1:
VirtualBox install under OS X fails
VirtualBox install under Ubuntu Intrepid success!
Competitive landscape: Haiku r1 works great right out of the box.
+s Great helpful community
-s tedious to set up
time invested: 5 days?? No it can't be.

Visit 2:
VirtualBox install under Ubuntu Intrepid fails!
Tedious configuration.nix editing incantations; reading mail archives, NixOS docs (nice logo)
Competitive landscape: Haiku R2 update slower than R1 but only requires 128MB of memory!
time invested: 12 hours?? No it can't be.

Visit 2.5
NixOS pre22737 VirtualBox install under OS X success! Intel E2200 disable VB VT-X enable PAE
+Very nice liveCD the desktop looks very slick (slim)!
+ Installs yay!
+ Community remains small but incredibly helpful
- Installed NixOS lacks window manager
- Installed NixOS should come up looking like LiveCD
- Still highly tedious setup
- VirtualBox additions where?
- way too much reading of manual, and mainly mail archives
Competitive landscape: OpenSolaris 2010.03 crawls on budget hardware. don't bother. Pretty nice on even 10 year old server hardware though.
time invested: 8 hours? Still spendy willing to visit again though.

Keep up the good work; looking forward to Visit 3

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.