Skip to content

{ Tag Archives } opensolaris

OpenSolaris and ddclient

I have some minor sites running on the basement OpenSolaris box, and since our IP address changes regularly, I use ddclient to notify DynDNS of the changes. It was working just fine on the old Debian box, but of course OpenSolaris does things differently, and the ddclient package doesn’t come with all the bits you [...]

Also tagged , ,

OpenSolaris Hostname on DHCP

By default, OpenSolaris doesn’t broadcast the hostname on the local network, just the IP address. To rectify this, find out what network interface you have (often nge0) by running ifconfig -a. It’ll be the one with the IP address given by the router (i.e., not 127.0.0.1).
Then, as root, edit the file /etc/default/dhcpagent. Find the line [...]

Also tagged

Re-routing

One of the things I’ve wanted to do for a while was move the firewall/router and minor web sites served from an old Pentium 3 in the basement to a more modern solution. I’ve blogged some of the journey, starting with the motivation and moving through the todo list. Yesterday was the day for the [...]

Also tagged ,

WordPress and MySQL on OpenSolaris

The next step in the list for moving my minor websites to OpenSolaris (see the first post for the motivation) was to set up MySQL. After I downloaded the OpenSolaris Web Stack package, MySQL was installed and running, so it was more a matter of tweaking. Little things like copying the /etc/mysql/5.0/my-huge.cnf to /etc/mysql/my.cnf so [...]

Also tagged ,

Rotating Apache Logs on OpenSolaris

Since the Apache access logs grow with time, I like to rotate them once a month or so (for minor sites that don’t get much traffic). On Debian, you use logrotate (I’ve written about setting it up here). On OpenSolaris, you use the logadm command, with the actual rotation being specified in /etc/logadm.conf. When you [...]

Also tagged , ,

Apache Virtual Hosts

Notes on installing Apache’s virtual hosts on OpenSolaris 2008.11; part of a series that started with Installing OpenSolaris.
On Debian, you have to set up virtual hosts using separate files, called sites-enabled and sites-available, part of the Debian Way Of Doing Things, which is not documented on the Apache site. (I’ve written about this before; the [...]

Also tagged