Skip to content

{ Tag Archives } opensolaris

OpenSolaris and ddclient

I have some minor sites run­ning on the base­ment OpenSol­aris box, and since our IP address changes reg­u­larly, I use ddcli­ent to notify DynDNS of the changes. It was work­ing just fine on the old Debian box, but of course OpenSol­aris does things dif­fer­ently, and the ddcli­ent pack­age doesn’t come with all the bits you […]

Also tagged , ,

OpenSolaris Hostname on DHCP

By default, OpenSol­aris doesn’t broad­cast the host­name on the local net­work, just the IP address. To rec­tify this, find out what net­work inter­face you have (often nge0) by run­ning ifcon­fig –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 […]

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 Pen­tium 3 in the base­ment to a more mod­ern solu­tion. I’ve blogged some of the jour­ney, start­ing with the motiv­a­tion and mov­ing through the todo list. Yes­ter­day was the day for the […]

Also tagged ,

WordPress and MySQL on OpenSolaris

The next step in the list for mov­ing my minor web­sites to OpenSol­aris (see the first post for the motiv­a­tion) was to set up MySQL. After I down­loaded the OpenSol­aris Web Stack pack­age, MySQL was installed and run­ning, so it was more a mat­ter of tweak­ing. Little things like copy­ing 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 logro­tate (I’ve writ­ten about set­ting it up here). On OpenSol­aris, you use the logadm com­mand, with the actual rota­tion being spe­cified in /etc/logadm.conf. When you […]

Also tagged , ,

Apache Virtual Hosts

Notes on installing Apache’s vir­tual hosts on OpenSol­aris 2008.11; part of a series that star­ted with Installing OpenSol­aris. On Debian, you have to set up vir­tual hosts using sep­ar­ate files, called sites-enabled and sites-available, part of the Debian Way Of Doing Things, which is not doc­u­mented on the Apache site. (I’ve writ­ten about this before; […]

Also tagged