Skip to content

Xen 3.0 Fedora Core, RHEL, Centos 4.x How-to

I gave a talk on the use of Xen for web developers at Lampsig. It took me a while to get my notes transcribed, but here at last they are. This prescription has been used by me to install Xen successfully on a Fedora core 4 box, Centos 4.3 and 4.4 boxes, and should probably work on RHEL, assuming you can figure out how to get the packages you need.

I cover use of file backed file systems, and how to mount and edit them, as well as expanding a file based filesystem.

I have run gentoo and Centos guests I got from jailtime.org and have found them to be very stable. I even was able to use this on a 64 bit server, although I did have to build my own guest. Many people who have had trouble getting Xen to work reliably when using the packaged (rpm) versions of Xen may find this prescription fixes their problems.

Xen 3.0 Centos How-to
Defined tags for this entry: , , , , ,

Install Xwindows and Gnome on Centos with Yum

I recently had need to add XWindows to a Centos 4.x install that didn't have X or Gnome. I was doing this under VMware which added slightly to the degree of difficulty. As it turns out, using Yum makes this a very easy process, although you probably end up with some bloated packageware.

CODE:
# yum groupinstall "X Window System" "GNOME Desktop Environment"


Pay close attention to the capitalization -- Yum is picky. "Gnome desktop environment" won't work, for example.
Defined tags for this entry: , , , , ,

Serendipity GeSHi Plugin update .05

Give this a day and it should be in Spartacus and the Sourceforge Additional Plugins cvs branch.

-.05 release
- Updated GeSHi to latest release (1.0.7.4)
- This release includes some fixes, and new language files for:
applescript, D, diff output, DIV game language, DOS batch language, eiffel, freebasic, gml, Delphi Inno script, Matlab M language files, MySQL specific SQL, Objective CAML, Ruby, Scheme, SDLBasic, and VHDL: Very high speed integrated circuit HDL
Defined tags for this entry: , , , , ,

Lampsig and SCALE

I'm attending the Southern California Linux Convention this weekend, along with other members of Lampsig. Folks are rabid for information on LAMP as illustrated by this shot of the Lampsig booth.
Defined tags for this entry:

My First Serendipity Plugin

I've exploring the Serendipity API by writing an "event" plugin wrapper around GeSHi. GeSHi is an extremely cool php class that does color syntax highlighting for any computer language you want. Since I hop from language to language, this is exactly the type of capability I want. So without further ado, here's a test of my plugin, currently in alpha state:

First some PHP

    function generate_content(&$title) {
        $title = PLUGIN_EVENT_GESHI_NAME;
    }
 


Now some SQL

SELECT * FROM temptable WHERE USER= 10
 


and how about a hot cup-o...

Java
  1.  
  2. /**
  3.  * Java example for GeSHi
  4.  */
  5.  
  6. import javax.swing.JOptionPane;
  7.  
  8. public class Foo {
  9.         public static void main ( String[] args ) {
  10.                 JOptionPane.showMessageDialog(null, "hello, world!");
  11.                 int n = args[0];
  12.                 for ( int i = 0; i < n; i++ )
  13.                 {
  14.                         System.out.println(i);
  15.                 }
  16.         }
  17. }
  18.  


I have a lot to do (and learn about Serendipity) before I feel the plugin will be ready to release in beta state, but at least I thought I'd try it out and show a proof of general concept.


Defined tags for this entry: , , , , ,