Weblog
04/18/07: Xen on Debian Etch
Well, it looks like I may have jumped the gun with that Xen on Debian Sarge post. I guess I didn't realize that "Etch" had already gone stable. But hey...this is good news!Now, with Etch, we have all the xen goodies we need right in the Debian repositories, and apt-getable (or aptitudeable, if you prefer). This will certainly make for a much more easily maintainable system, and it proved to be much easier to set up as well.
Most of what I did came from one of the howto's that were previously referenced in Xen on Debian Sarge, namely, The Perfect Xen 3.0.3 Setup For Debian Sarge, with a little from Xen from Backports on Debian Sarge. Just for the record, my system has a single NIC, and is set up to use the network-bridge method. This is probably the easiest way to get xen up and running initially, until you determine whether or not you need either of the other methods.
Read More!
04/11/07: Xen on Debian Sarge
Over a year ago, I installed Xen on my Debian Sarge server. There were many howto's available, but I still had a helluva time getting it up and running. I just chalked it up to inexperience and didn't think too much about it after.Fast forward to a couple weeks ago. I inherited a new machine to use as my server, so I wanted to take the opportunity to do everything right, with time not being a factor, as I still have my old server running.
This time I followed 3 different howto's to a tee, right from the initial Debian install. Of the 3 methods I tried, only 1 worked - building xen from source.
Read More!
04/10/07: NucleusCMS
From B2evolution, to Wordpress, to Drupal, and now to NucleusCMS, I seem to be slowly making my way through all available blog software.This latest transition comes after a very long period of inactivity. I installed Drupal about a year ago and made a total of 2 posts since then. This actually worked to my benefit, as there doesn't seem to be a Drupal -> NucleusCMS conversion script available anywhere. Luckily, I still had my old Wordpress database, so I was able to convert from that and only lose 2 entries.
I still have some messing around to do with the categories, as Wordpress and Drupal both allowed for entries to belong to multiple categories and NucleusCMS does not, but all in all, it was a very painless conversion.
Drupal really wasn't right for me. It was a bit heavy for my purposes, and I really dislike the available themes, many of which use table-based layouts, which I oppose.
As silly a reason as it is, I chose NucleusCMS because there seems to be a large number of themes that are pretty suitable "out of the box". I really just don't feel like creating my own, or heavily modifying existing themes anymore.
I am hoping to get this site going again, starting with this entry. I have done a lot of different things with my home servers in the past year, and would really like to write a few howto's. Guess we'll see what happens...
07/28/05: Information Security with Colin Percival
The recent disclosure of side-channel techniques to retrieve cryptographic secrets on hyperthreading machines caused stirs in security and operating system development communities. Colin Percival, a FreeBSD security officer, reported the vulnerability and weathered the questions and criticisms. Michael W. Lucas recently interviewed him on this vulnerability, vendors' responses, and security research.
Read about it here.
04/28/05: Wordpress Permalinks for B2evolution Converts
One thing I failed to mention about my Wordpress conversion is the permalink behavior. This is important for anyone who uses trackbacks, or anyone who get search engine hits to particular posts. I noticed that Jeff had the same problem, so I've made a few modifications to the script I wrote to fix it for myself, and am now offering it here. B2evolution's permalink style replaces spaces and other special characters in post titles with underscores, making a permalink something like www.domain.com/2005/02/20/post_title_here. Wordpress, on the other hand, uses dashes, like www.domain.com/2005/02/20/post-title-here. This is what you end up with when you use the b2evo2wp.php script mentioned in the last post. Once I noticed this, I knew all my permalinks would be broken, so I made a quick script to change the existing permalinks back to match the b2evolution ones. This will not change future behavior, so any posts made after the conversion with be like "post-title-here" but we don't care since nobody is linking to those posts yet. This script is only meant to make the permalinks to existing posts consistent with any links pointing to those posts. Requirements: The original b2evolution tables (or at least the "posts" table) used to do the conversion must still exist. Instructions:
- Download the file here
- Unzip the permalink_fix.zip
- Open permalink_fix.php in a text editor and edit the config information. Note that you must enter all information for both the b2evolution and wordpress tables, even if this info is the same.
- Upload permalink_fix.php to your webserver
- Type the url to permalink_fix.php in your browser. If your mysql information is right, you will be informed of any titles that need to be edited manually (seems to be only those with single quotes in the title).
I will be submitting this script to the author of the b2evo2wp.php script for possible inclusion, but I will also keep it here for those that have already converted. Hope it helps :) [Edit] I should say that this was tested with b2evolution version 0.9.0.10 and Wordpress version 1.5. I cannot guarantee that it will work with other versions.
04/23/05: From b2evolution to Wordpress
Craving change, and having read up on Wordpress, I finally decided to give it a shot. The biggest catalyst for this change was probably the referrer spam and the occasional comment/trackback spam that I was getting with b2evolution.
The installation was a breeze, taking no more than 5 minutes. The problem, however, was getting my b2evolution data imported into my Wordpress tables. Wordpress has a number of importer scripts, including one for the original b2, but unfortunately b2evolution is different enough that this one doesn't work. After some searching on the Wordpress support forum, I found this thread linking to this file, which once renamed to b2evo2wp.php, did the trick.
Wordpress also seems to handle spam better, with some more configurable options for comments, and a plugin I found that bounces referrer spam, so hopefully there will be a noticeable difference in the next few days.
Overall, Wordpress looks to be a very nice blogging engine, though I cannot knock b2evolution either. Both have their benefits, but I think Wordpress is a better fit for me. Maybe now somebody googling to find out how to import b2evo data will find this.
03/26/05: Helpful "make" Tips
make for Nonprogrammers by Dru Lavigne -- If you're a typical FreeBSD user, you may never have compiled C source code on your own. Yet if you've ever issued a make command, it's compiled code for you. How does it do that? What does it do, anyway? And what else can it do? Dru Lavigne answers all of these questions.
Especially useful is this great way to help automate updating your system sources.On my test system, I already had cvsup up and running and had created a sup file in /root/cvs-supfile. So, I added these lines to /etc/make.conf:
SUP_UPDATE= yes SUP= /usr/local/bin/cvsup SUPFLAGS= -g -L 2 SUPFILE= /root/cvs-supfile
Note: In order for this to work, you must have cvsup-without-gui installed and have configured a SUPFILE at the specified location. If you've installed cvsup-without-gui but haven't yet created a SUPFILE, replace that SUPFILE line with these:
SUPHOST= cvsup.ca.freebsd.org SUPFILE= /usr/share/examples/cvsup/standard-supfile PORTSSUPFILE= /usr/share/examples/cvsup/ports-supfile DOCSUPFILE= /usr/share/examples/cvsup/doc-supfile
When filling in SUPHOST=, please choose a mirror geographically close to you. Also, review the three files in /usr/share/examples/cvsup to pick and choose which parts of the operating system, ports, and docs you wish to update.
When you've finished, run make update from /usr/src to update the specified sources.
I highly recommend adding OnLAMP to your RSS reader, if only for Dru's FreeBSD articles. Always great information.
03/26/05: Novell Is Doing It Right
Having never used NLD (Novell Linux Desktop), I was a little taken aback when I saw such a beaming review.
Of the desktop offerings we have piloted, NLD offered the broadest range of functionality in what we designated as the desktop and mobility space. From the desktop point of view, the system provides a user-friendly environment, ease of administration and an excellent enhancement of the OpenOffice.org productivity suite.
I don't believe there was even one negative point in the review. Tom Adelstein also talks about how Novell is in the progress of switching their entire staff to Linux. It is, afterall, probably tough to sell linux from a windows box.
I remain mostly happy with Ubuntu, except for the occasionally annoying thing where the boot process hangs at "Configuring network devices" (usually solved by hitting the reset button, though I don't know the cause). In an office environment though, NLD probably fits better than any solution to date.
03/14/05: Ubuntu Linux "Hoary Hedgehog": My Experience
Ubuntu Linux is a fairly new linux distribution based on Debian GNU/Linux. Here's a description from Ubuntu's website:
Ubuntu is a Linux distribution that starts with the breadth of Debian and adds regular releases (every six months), a clear focus on the user and usability (it should "Just Work", TM) and a commitment to security updates with 18 months of support for every release. Ubuntu ships with the latest Gnome release as well as a selection of server and desktop software that makes for a comfortable desktop experience off a single installation CD.
The latest "Preview" release, 5.04, or Hoary Hedgehog (Hoary) was released just a few days ago, and, not liking to get too comfortable with any one distro, I decided to give it a shot. I started by downloading the live cd, just to make sure I wasn't going to have any problems. It started up with no problems, and it really impressed me with how clean it seemed. I had read beforehand that it included only the Gnome desktop environment. This was my main reason for wanting to try the live cd first. Before settling on Xfce4 on my Suse desktop, I was a KDE guy. I was a little surprised to find how far Gnome had come since the last time I used it (Redhat 7.3). On to the installation!
The install, not surprisingly, is not graphical, but ncurses based like Debian's. It differs from Debian's though in that it minimizes the amount of user input required. This is a big plus for newbies. I didn't get a real feel for partitioning from the installation since my partitions were already set up. All I had to do was select hda2 and set its mount point to /boot, and select hda4 and set its mount point to /. The installation detected my swap partition and assigned it automatically. The installation as a whole was very straight-forward.
One thing I don't like about the default installation is that the root account is disabled. I read about this beforehand as well, so I was ready for it. This is actually a good thing to have done, since all the launchers that require root access are run with sudo, prompting for the user's own password, but I do think it is still necessary to educate the user about sudo on the command line, just in case.
I had been using Suse long enough that I expected to be able to set up my LDAP authentication and nfs mounted /home right away. This software had to be added manually though. "That's ok", I thought. A perfect opportunity to check out synaptic, the gtk frontend for Debian's apt/dpkg package manager. I am impressed. I wasn't sure if it would stack up to Suse's YAST for installing/updating packages, but I believe it exceeds it easily.
I did run into some problems with LDAP and nfs, but admittedly, this was due to misconfiguration of my FreeBSD server (my bad). Most of the problem coming from the lack of nfs file locking capability. Enabling rpc.statd and rpc.lockd on the nfs server took care of those problems, and after editing 4 pam files, my LDAP authentication was up too.
Most of the software I regularly use was already loaded. Rhythmbox took the place of XMMS, though I did have to install the gstreamer-mad package for mp3 support. No problem. The default browser is Firefox, and other default software includes Evolution, Gaim, Xchat, the Gimp, Openoffice.org, and even a terminal server client. One disappointment was that I found I couldn't use Evolution due to yet more file locking issues stemming from my nfs mounted /home. I could compile it myself and disable file locking, but being used to Thunderbird anyway, I just decided to use it instead.
This is a preview release, which is a nice way to say open beta, so bugs are to be expected, but overall, Ubuntu is well on its way to becoming a very excellent desktop linux. As far as I'm concerned, it already is if you're like me and enjoy fixing problems as they pop up. It's how we learn. It is also very nice to see a distribution that doesn't try to please everyone by including every known window manager and desktop environment. It's not unheard of, but I would definitely like to see more of this. Ubuntu immediately struck me as a very cohesive experience, while avoiding severe bloat. It feels both very simple and very refined. I highly recommend this one to anybody looking for a new distro to try.
03/05/05: SCO v. IBM: The Short Version, by toads_for_all
For anybody like myself who is too busy to keep up with the SCO/IBM saga, here is a funny little summary.
Sure it's sort of a joke, but this is pretty much what happened.
IBM: But Caldera contributed parts of the original to Linux. Aren't we just doing what Caldera did, treating the derivatives the same way Caldera did the original by contributing parts to Linux?
SCO: Um, I mean, well, I guess.....Did I say contracts? I meant it's about copyrights.
NOVELL: But you don't own all the copyrights, we do.
SCO: Do not!
Read the rest here.