The recommended filesystem for Squid on OpenSolaris is ZFS: http://wiki.squid-cache.org/BestOsForSquid It is also recommended to disable the atime property on the filesystem holding the cache, and you may want to avoid using any type of RAID. To achieve this on Nexenta (or OpenSolaris, whatever), first create the ZFS filesystem: # zfs create -o atime=off -o mountpoint=/var/spool/squid3 syspool/squidcache Then install Squid (here for version 3.x, as you might have noticed from the com
This article was first written in August 2004 for the BeezNest technical website (http://glasnost.beeznest.org/articles/161).pkg-get is somewhat a rewrite of the apt-get of to Sun's Solaris. It is a script that uses wget and the pkg suite  of tools from Solaris to install, upgrade, and uninstall free software easily on Solaris. The list of packages available is already impressive: http://www.blastwave.org/packages.php. To
This article was first written in July 2004 for the BeezNest technical website (http://glasnost.beeznest.org/articles/143).Here is how to set manually speed and duplex parameters on network interfaces in Sun Solaris. Adding the following code (comment lines start with '*') to you /etc/system file and rebooting will put your hme type interfaces to 10 Mbits/s Half-Duplex: * * set hme driver modes * *set hme:hme_adv_100T4_cap = 0 *set hme:hme_adv_100fdx_cap = 1 *set hme:hme_adv_100hdx_cap = 0 *set hme:hme_adv_10fdx_cap = 0 set hme:hme_adv_10hdx_cap = 1 set hme:hme_adv_autoneg_cap = 0
This article was first written in February 2004 for the BeezNest technical website (http://glasnost.beeznest.org/articles/107)The default values for Shared Memory in Sun's Solaris (starting from 2.6, at least) are set too low to run. Here is how to change it (see also PostgreSQL's Admin Guide, Managing Kernel Ressources): The relevant settings can be changed in /etc/system, for example: set shmsys:shminfo_shmmax=0x2000000 set shmsys:shminfo_shmmin=1 set shmsys:shminfo_shmmni=256 set shmsys:shminfo_shmseg=256 set semsys:seminfo_semmap=256 set semsys:seminfo_semmni=512
This article is incomplete and was first written in July 2007 for the BeezNest technical website (http://glasnost.beeznest.org/articles/362).Netstat on Solaris (at least until 10 04/06) is not able to list which application is listening to which network ports but you sometimes need this. A simple script just doing the job Though, this script is pretty rough, and very slow.
This article was first written in February 2006 for the BeezNest technical website (http://glasnost.beeznest.org/articles/326).Sun Solaris is probably today's most-used UNIX OS around, probably due to its security and high-performance approach. It has been traditionally running mostly on SPARC, a little on Intel platforms, but is now happily running on AMD64 also. Lately, Sun decided to opensource it, and everybody should probably be happy of this move.
This article was first written in June 2005 for the BeezNest technical website (http://glasnost.beeznest.org/articles/271).This article will explain how to netboot a Sun machine using RARP with a Debian/GNU Linux server. Install package rarpd:
$ sudo apt-get install rarpdConfigure your TFTP server: Adapt the options in /etc/init.d/rarpd to match the directory where you TFTP server delivers its files from. Create a /etc/ethers file:
xx.xx.xx.xx machineTake care of «machine» name being resolvable from /etc/hosts or whatever other name-resolution system o
This article was first written in January 2005 for the BeezNest technical website (http://glasnost.beeznest.org/articles/202).Solaris supports journalization (aka logging) on UFS filesystems which allows for shorter reboot times after a crash. To activate it, it is really simple: Go edit /etc/vfstab and add the term logging in the last column (mount options) for the UFS filesystems you want.