Archive: 2010/4

Installing PostgreSQL 8.4.3 in OpenSolaris

Download the sourceDownload the file postgresql-8.4.3.tar.gz from http://www.postgresql.org/ftp/source/ Save this in /src You may also want to verify the file signature or checksums and read the READM

Installing Tcl 8.5.8 in OpenSolaris

Download the sourceDownload the file tcl8.5.8-src.tar.gz from http://sourceforge.net/projects/tcl/files/ Save this in /src You may also want to verify the file signature or checksums and read the READ

Rename all files that end in 'JPEG' with 'jpg'

ScriptThis script will save the path and name of all files ending in JPEG in the FN variable.Then goes through each entry and renames the files (and displays the file it’s on) 123456#!/bin/bashFN=$( f

Installing FFmpeg 0.5.1 in OpenSolaris

Download the sourceDownload the file ffmpeg-0.5.1.tar.gz from http://ffmpeg.org/download.html Save this in /src You may also want to verify the file signature or checksums and read the README or INSTA

Installing x264 (via git) in OpenSolaris

Clone, configure and make12345678910cd /srcgit clone git://git.videolan.org/x264.gitcd x264CFLAGS=$( find -L /my -type d -name include -exec echo "-I{} " \; | grep -v "[.][0-9]" | tr -d '\n'

Installing Git 1.7.0.4 in OpenSolaris

Download the sourceDownload the file git-1.7.0.4.tar.gz from http://git-scm.com/download Save this in /src You may also want to verify the file signature or checksums and read the README or INSTALL fi

Installing LAME 3.98.4 in OpenSolaris

Download the sourceDownload the file lame-3.98.4.tar.gz from http://sourceforge.net/projects/lame/files/lame/ Save this in /src You may also want to verify the file signature or checksums and read the

Installing XVid 1.2.2 in OpenSolaris

Download the sourceDownload the file xvidcore-1.2.2.tar.gz from http://www.xvid.org/Downloads.43.0.html Save this in /src You may also want to verify the file signature or checksums and read the READM

Sharing ZFS filesystems in OpenSolaris

Set sharenfs on the serving computer12suzfs set sharenfs=ro rpool/wav “ro” = read-only“on” = read/write“off” = off The other setting is sharesmb which requires SUNWsmbs SUNWsmbskr, a reboot, and svcad

Limiting ZFS ARC Cache in OpenSolaris

Set zfs_arc_maxVia http://www.solarisinternals.com/wiki/index.php/ZFS_Evil_Tuning_Guide#Limiting_the_ARC_Cache 12345678910For example, if an application needs 5 GBytes of memory on a system with36-GBy