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
sudo pkg set-authority -O

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.

Installing glassfish.
Using glassfish in production.

Thursday, June 10, 2010

securing MAMP

I want to set up a web site for our school garden. I have a piece of high industrial art called a Mac G4 Cube that could serve this purpose well.

Since I am a parent I don't have a lot of time to configure apache, mysql and probably joomla (content management) and its too error prone to do it that way (easy Boris I'm not talking about you who do it all the time). I turn to MAMP.

But I need to secure MAMP to put it out on the actual net (not just my little home net). I'll walk you through it as soon as a I am finished zapping some turkey meatballs.

= = = = = = = = = = = = = = = =

Tuesday, June 8, 2010

bitnami LAMP install unattended install

I love bitnami because it makes installing Joomla, Alfresco, and Redmine a snap.
I turned to the QuickStart Guide (nice, I wish more software came with one) but it misspelled the password command (where do I file a bug?)

You can see the correct options by using bitnami-lampstack-1.2-0-linux-installer.bin --help
This worked:

sudo /home/mohish/bitnami-lampstack-1.2-0-linux-installer.bin --mode unattended --base_password MY_password

Frugal IT

Could one run an ultra-frugal IT operation on a mixture of 10-year old server hardware, linux, consumer grade hw and yahoo, twitter, google for other stuff?

I am not seeing the value of the multiply redundant server over just building a generic low power server with a few big SATA drives. So what's not to love about 8 TB of space and an almost silent server. It's certainly a lot cheaper in utilities.

If only Oracle made VirtualBox networking easy that might be a good place for the old DL380-ish machines.

Monday, June 7, 2010

SUSE SLES10 SP2, 15" Dell LCD, Proliant DL380 G3

This has been driving me nuts for years. I have one of these very loud beasts (Proliant DL380 G3) but it never worked right with the lcd monitor. Run of the mill 15" Dell LCD 1500FP from about 10 years ago. Searched everywhere, found some informative tidbits, including a configurator and also helpful specs from DELL.

The revelation was throughout the SLES10 SP2 installation process the video looked perfect only when the installation finished did the monitor freak out and say Out of Sync.

So I wasted 6+ hours reading /etc/X11/xorg.conf, messing with SaX2 and reading the log. Instead what worked for me was:
  1. Gather as much information as you from the specs page especially the Horizontal Sync in kHz, the Vertical Sync in Hz and the Pixel/Dot Clock Frequency MHz. For the 1500FP it was hsync 48.3 vsync 60 and px clock 65.
  2. Enter 48.3, 60, 65 into the configurator and it will generate the correct modeline
  3. Before you finish the SLES10 install, test the graphics hardware configuration. Don't let SaX confuse you change the monitor to VESA, 1028 x 768 @ 60 Hz and it shows up correctly.
Ahhh now to update some Smart Array firmware.

PS: Wait! Where do you use the modeline you ask? Well one of these days you'll accidentally click on SaX2 and if your settings get blown away you can try using your generate modeline!