But what is it good for?

Posts tagged with: howto

Links for 20 May 2010 - 30 Jun 2010

Links of interest for 20 May 2010 - 30 Jun 2010: Sun’s Lost Intel-Chip Killer - Bits Blog - NYTimes.com - So that's why Sun bought Montalvo. Somehow I don't think Sun would have been able to make the return on these had they come to market, but nice to know Sun's untold ambitions are coming to light. LCA: How to destroy your community [LWN.net] - Oh how true. Why the Digital Economy Act simply won't work - I think Cory Doctorow sums it up beautifully at the end... "Once you swallow a spider to catch a fly, you're on... Continue reading ►

Habari HOWTO: Set Number of Posts for Home Page Different from Default

I've been using, contributing and hacking around Habari for some time now and I thought it's about time I started sharing my knowledge in a series of "Habari HOWTO" posts. This is the first in what will hopefully turn out to be a large valuable list for Habari users. This question was posed on the habari-users group by manda: I'm looking to set my home.php to show only 2 posts, but leave all other entry.multiple.php show whatever default number I set in Habari options (whether it be 5, 10 or 20). Is there something simple to add to home.php to... Continue reading ►

HOWTO: Correct Permissions of a Covered Mount Point Without Remounting

There is a very old bug in Solaris (now fixed in Nevada) in which the underlying permissions of a mount point affect the overlying mounted filesystem. The normal way to resolve this is to umount the filesystem, correct the permission and remount it. This is sometime easier said than done, for example, what if one of those filesystems is actually still in use, or even a critical OS filesystem like /var or /etc/mnttab. You don't really want to be umounting these whilst they're in use and the fix may involve booting from network or CD into single user mode. Well, there is an easier and relatively unknown method of correcting this... Continue reading ►

HOWTO: Use xclipboard With Gnome

I work with a couple of guys who are quite stuck in their ways and are quite reliant on old tools, one of which is xclipboard(1). Unfortunately, Gnome comes with it's own clipboard manager, so when you try to run xclipboard, you get the following: $ xclipboard Error: another clipboard is already running $ Of course, ps(1M) will show no clipboard related processes running. This is because the functionality is performed by Gnome itself, I believe, as part of the functionality of gnome-settings-daemon. One of my colleagues gave me the challenge of getting xclipboard working on Gnome on OpenSolaris/Nevada, ie Gnome 2.6, and I found it quite easy to do in the end. The trick is to tell Gnome not to perform this functionality anymore as follows: Continue reading ►

HOWTO: Install Habari on Mac OS X Leopard, From Scratch

Installing Habari isn't really that complicated, however getting OS X up and running ready for the installation requires a bit of work. Mac OS X 10.5 (aka Leopard) conveniently comes with Apache 2 and PHP 5, so most of the work in setting up a MAMP server has already been done for you. Sure there are other ways to get a MAMP setup: you can build Apache, MySQL and PHP from sources, you can use MacPorts or you can use pre-built packages like MAMP or XAMPP. I prefer to use as much of what is supplied with the OS as possible as there's no point having duplicate applications on a system. It also makes keeping them up-to-date much easier - it becomes Apple's job, not mine. Anyway, in order to get all the way through this article there are a couple of requirements: 1. You have XCode installed 2. You're fairly comfortable in using the command line. This last requirement isn't strictly true as I will provide all the commands you need to run anyway. The rest of this post assumes you've not configured PHP, Apache or MySQL on OS X at all yet. If you have, don't worry, I'm sure you'll be able to easily pick things up. NOTE: There is one caveat with this approach: Apple's updates may require you to redo any one of the steps below as it may replace files you've modified or provide newer incompatible versions of software. Update: You can find details on installing gd on OS X as a universal binary for 32-bit and 64-bit here. Continue reading ►

HOWTO: Migrate a UFS Root Filesystem to ZFS

Solaris 10 10/08 (u6) is due to be released within the next month of so (I don't have an exact date) and one of the great features to come with it is ZFS boot. You can already use ZFS boot on Nevada and OpenSolaris defaults to ZFS, but this will be the first release of officially supported Solaris 10 to have ZFS boot. People have been waiting for this for a long time, and will naturally be eager to migrate their root filesystem from UFS to ZFS. This article will detail how you can do this using Live Upgrade. This will allow you to perform the migration with the least amount of downtime, and still have a safety net in case something goes wrong. These instructions are aimed at users with systems ALREADY running Solaris 10 10/08 (update 6) or Nevada build 90 (snv_90) or later. Continue reading ►

HOWTO: Setup Habari Multi-Site on Joyent

I think one of the greatest features of Habari is it's multi-site support. Unlike Wordpress, Habari has multi-site support out of the box. This allows you to configure multiple blogs off a single installation of the code with a fair amount of control over how independent each of these blogs are. Each new blog can have it's own domainname (they don't even have to be subdomains), database, themes and plugins. However, if you prefer, they can all share the same set of themes and plugins too thus making managing and maintaining all of your sites a very simple affair. In this post I'll detail how you can take advantage of this functionality on Joyent's Shared Accelerator hosting without using up more than one of your allowed "websites", thanks to aliasing and Habari. Whilst these instructions are based on Joyent's hosting plan, they may be very similar for your hosting plan too. Let me know if these instructions work for your hosting solution too. Continue reading ►

Install Habari on Joyent

Habari has some pretty stringent requirements that need to be met. Thankfully Joyent's Shared Accelerator (and I believe all other) accounts meets all of these already so there's no need to install any additional software or log tickets to get software updated. You will however need to make some configuration changes which I'll detail here. Continue reading ►

HOWTO: Fix "ORA-27102: out of memory" Error on Solaris 10

He's a little bit of helpful advice: if you are installing Oracle, adding a new instance to an already running installation, or tuning the SGA/PGA sizes on Solaris 10, and you find you get the following on starting that instance: On the screen ... SQL> startup ORA-27102: out of memory SVR4 Error: 22: Invalid argument ... and in the Oracle alert log ... Error : EINVAL creating segment of size 0x000000009f000000 fix shm parameters in /etc/system or equivalent ... DON'T call Oracle. You're likely to experience one or all of the following... Continue reading ►

HOWTO: Setup Your Own OpenID Provider

With all the news of big companies like Yahoo!, IBM, Google, Verisign and Microsoft throwing their weight behind OpenID, I thought I'd investigate this avenue and ultimately ended up jumping on the bandwagon. The whole point of OpenID is you could use one identity to gain access to a multitude of websites. This is a great idea, but I'm not comfortable with someone else proving who I am. I like to do this myself, so I set to creating my own OpenID server. This document will detail how you too can setup your own, single identity, OpenID provider (IdP), with cruft free URIs, using phpMyID. Don't worry, it's not a particularly complex process and shouldn't take you more than about 30 minutes to setup, regardless of operating system. Once finished, you can use your website URI (I use http://lildude.co.uk) as your OpenID. Continue reading ►
Top