Feeds:
Posts
Comments

Archive for October, 2007

I’ve tried to separate the chaff from the wheat. Here is a list of application I’ve found to be the best (my opinion) in their particular areas.  Suggestions for additional applications/ categories are always appreciated.

Outlook replacement:
Still looking. Evolution, Kontact, and Thunderbird (and its variants) don’t come close to the speed and usability of Outlook yet. I’d like to see something integrated/ included in the OpenOffice system that could better compete with Outlook in this respect
UPDATE 11.29.07:
Evolution is the winner. I have worked around the issues, and will write a new article about it soon. Take a look at the latest Evolution http://www.gnome.org/projects/evolution/

Office replacement:
OpenOffice.org. I don’t even use MSOffice (other than Outlook I use Evolution now) anymore. OpenOffice has come a long way – and most distributions include it. If you are using Ubuntu (I recommend it) than you have it already.

Browser:
Firefox, Opera – Opera is slicker, Firefox is GPL. You probably already have Firefox.

Music Player:
Amarok – hands down. Works with iPod, among many other useful features (I do not own, or want to own, an iPod, BTW)

TV, Multimedia player for home entertainment (Tivo-ish):
Myth TV – Not too difficult to setup. Works very well with standard cable, DVDs, and multi-location systems. I am working on setting up a single back end server in my office, with several smaller front-end PCs for general TV viewing in the living room and bedroom. You can add your DVDs to your server’s library on disk, so they can easily be selected.
LinuxMCE – Includes MythTV, but then takes it up a notch with home security, presence awareness, and a bunch of other features. Looks like it has special hardware requirements, and a lot of patience… worth taking a look.

IT Backoffice (Server) Apps:

Small Office Server:
EBox – Simple to install and manage, for the inexperienced (and time constrained). Quick setup. Probably would be difficult to expand to your own solution (such as, if you wanted to open up the LDAP server, or integrate with a different e-mail package. Overall though, covers everything you need for home or small office.

Website/ CMS:
Joomla (I looked at Mambo, of which Joomla forked from a while back – I prefer Joomla’s AJAX, plug-ins, etc.  They are both still very similar, however.
Drupal

Groupware:
EGroupware – Nice Intranet server, with web mail capabilities, among many other functions. Probably works well with EBox (above) – I’ll let you know when I am finished. UPDATE: Not working well with E-box yet…

Exchange Server replacement:
Scalix (better than Zimbra, my 2 cents) – drop in replacement for Exchange in organizations needing to replace Exchange; the purchased edition of Scalix is the only one that fits the bill. The Open Source Community Edition is nice to, but is limited to 25 premium users (Exchange MAPI users). If you don’t absolutely have to use MAPI for Outlook, I’d go with an alternative for sharing Calenders, Tasks, and Contacts. When I settle on one, I’ll let you know.

Kolab – still looking at this one, but right now it is difficult to setup and get started.

Courier, Postfix, MySQL, RoundCube – this is what I am currently using.  Standard, solid, works.

Firewall/ Routing:
Monowall, PFSense (Derives from Monowall) – I use PFSense myself. Easy to setup and configure, lots of features, low requirements.
IPCop – tons of features, powerful, in wide use. Probably more for larger organizations.
Vyatta – Heavy duty routing. One of those partially open-source projects. I looked at it initially, but went with Quagga, which is a little more hard-core, and is working great.
Linux w/ Zebra – Zebra hasn’t been touched in a while, instead use:
Quagga on Linux – I am using Quagga for BGP on high-end Internet connection (w/ OSPF).  Fast, technical setup, but works well when serious routing is needed – see my other article on this(coming soon).
Shorewall/ IPTables

These are packaged products (above). However, it can be useful/ rewarding to put together the pieces yourself. For example, instead of IPCop, setup you own Shorewall firewall, SpamAssasin, ClamAV, HTTP/FPT/SMTP Proxy, etc…

Read Full Post »

Next, I want to make sure I can play MP3s, DVDs, etc. You should first check with your local laws to make sure this is legal. I am not sure why that is listed on every site that says anything to do with MP3s and DVDs, but there it is, the disclaimer. You have been warned.

UPDATE:
Apparently, there is a new way to enable some of these items, right within Ubuntu 7.10 (Gutsy):

  • Go to ApplicationsAdd/Remove…
  • Set Show: to All available applications
  • Search for ubuntu-restricted-extras and install it. Note that there is also xubuntu-restricted-extras and kubuntu-restricted-extras.


NOTE: I still found the old way added some useful items. Those are listed below:

In Terminal (Applications, Terminal)
(note: most commands are run from Terminal, I am not going to tell you to use it every time)
– sudo wget http://www.medibuntu.org/sources.list.d/gutsy.list -O /etc/apt/sources.list.d/medibuntu.list
– wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add – && sudo apt-get update

Install apps:
Free apps from Medibuntu (as of Sept 2007)
– sudo apt-get install amarok ffmpeg k3b kaffeine libdvdcss2 mplayer xmms-wma

(note: errors on: bmp-wma (would not install properly from Medibuntu))

Non-free apps from Medibuntu (as of Sept 2007)
– sudo apt-get install acroread googleearth skype w32codecs flashplugin-nonfree
(note: errors on: ibm-j2re1.5 ibm-j2sdk1.5 ppc-codecs skype-static (would not install properly from Medibuntu))

Read Full Post »

Now that Ubuntu is installed the fun begins. First things first:

– Install all available updates
– Reboot if necessary
– Add medibuntu repository (check your local laws for usability)
– Install VMWare Server for virtualization

To install apps from the repositories (that is this great big pile of software that Ubuntu maintains for you to easily access over the Internet) you can use the Synaptic Package Manager (Menu:System-Administration). I personally prefer to use the command line where possible, as it makes it easier (for me) to make a list of what I will do.

To get started, let’s update the system: Menu:System-Administration-Update Manager. Note: You can’t have Synaptic and Update Manager open at the same time. The Update Manager is basically a subset of Synaptic – it just checks for updates for packages you already have installed. Also, after login (with an Internet connection) you will see a pop-up dialog in the top right menu of your Desktop letting you know if there are updates available.

Moving on… check for updates, install any available, and reboot if required.

Step 5 will be on multimedia configuration

Read Full Post »

VMWare auto-start

You want to make sure your Virtual starts automatically when your server boots up?

drop to a terminal:

sudo nano /etc/rc.d/rc.local

add the same command you would, as starting from the command line:

vmwar-cmd /fullPATHtoVMWAREfile/thevm.vmx start

IP

Read Full Post »

When you are running VMWare on your desktop, you are likely doing it for testing (or, like me, for running XP so I can use Outlook – please point me to a good FAST Outlook replacement – Evolution, Kontact, Thunderbird aren’t there yet).

But when used on a server, for ‘production’ purposes, you are likely running it ‘headless’ (without a keyboard/mouse/monitor) and don’t use a GUI – you want everything manageable remotely, or by the command line.

VMWare can be remotely managed, via a remote console, or you can install their web management tools. But, if you have SSHServer running on your Linux server (who doesn’t), you can easily make changes via the command-line.

Quite simple, it’s

vmware-cmd

Just type that at your terminal prompt, and you will see a helpful response. Google it for more info, I’ll touch a few items here:

start a Virtual Machine:

vmware-cmd /pathtoVMhere/vmfile.vmx start

stop a VM:

vmware-cmd /pathtoVMhere/vmfile.vmx stop

check the current status:

vmware-cmd /pathtoVMhere/vmfile.vmx getstate

Configuration changes:

sudo vmware-config.pl

Register a VM: 

vmware-cmd -s register /pathtoVMhere/vmwarename.vmx

Read Full Post »

This is for VMWare Server 1.04 on Ubuntu 7.10 (Gutsy Gibbon):

– From a terminal prompt, I would first create a directory to store VMWare, and from that directory:

– download VMWare Server http://www.vmware.com
as of 11/07/07, you can execute the following command to download version 1.0.4:
wget http://download3.vmware.com/software/vmserver/VMware-server-1.0.4-56528.tar.gz

– download the required patch to make it work at:
wget http://knihovny.cvut.cz/ftp/pub/vmware/vmware-any-any-update115.tar.gz
(if this link doesn’t work, just google for the VMWare Any Any patch)

– register for licenses for Linux on the VMWare website

– install the needed build tools (you may already have them)
sudo apt-get install linux-headers-`uname -r` build-essential
this installs the build tools, and kernel headers for your linux version. NOTE – if you update your kernel, you will need to repeat these steps

UPDATE(11/13): you need to install this set of tools instead, if installing to a vanilla server build:
sudo apt-get install linux-headers-`uname -r` libx11-6 libx11-dev x-window-system-core x-window-system xspecs libxtst6 psmisc build-essential xinetd zip unzip
when prompted for X11 display settings, just select 800*600 and move on

Apparently, some functions with VMWare Server 1.04 now look for X11 extensions. X11 is the windowing system on Linux (the GUI). For a server platform, you likely only have a command-line interface, as I did one time (which is how I came across this). My installation had errors, and then failed when typing in the license key, as it was looking for some of these libraries. Hopefully, there may be a better work around then loading up my server with unneeded X11 libraries – until then, run the above to setup VMWare server on a GUI-less server.

– run the following commands:
tar -xzf ./VMware-server-1.0.4-56528.tar.gz
(VMware-server-1.0.4-56528.tar.gz – replace with the name of the file you downloaded from VMWare)

tar xvzf ./vmware-any-any-update115.tar.gz
(vmware-any-any-update115.tar.gz – replace with the name of the file you downloaded for the anyany patch)

– Change to the directory where VMWare extracted to:
cd vmware-server-distrib– Run the installer:
sudo ./vmware-install.pl

Choose the defaults to each question, until the end when you are prompted: “Before running VMware Server for the first time, you need to configure it by invoking the following command: “/usr/bin/vmware-config.pl”. Do you want this program to invoke the command for you now? [yes]”

Type: no and press enter to quit the installation

Type: cd ../vmware-any-any-update
(vmware-any-any-update – replace with the name of the folder created when you extracted the patch. Type ls for a listing of the folder)

Type:
sudo ./runme.pl

This time, when prompted to configure, select the default of yes.

Now you will configure the network interfaces. Select the defaults. You can customize your virtual networks as you wish. I may go into detail on that later.

As of version 1.04, I still had to do the following:
You will then need to edit a file to make VMWare work properly:
sudo vi /etc/pam.d/vmware-authd

File will look like this:
#%PAM-1.0
auth sufficient /usr/lib/vmware-server/lib/libpam.so.0/security/pam_unix2.so shadow nullok
auth required /usr/lib/vmware-server/lib/libpam.so.0/security/pam_unix_auth.so shadow nullok
account sufficient /usr/lib/vmware-server/lib/libpam.so.0/security/pam_unix2.so
account required /usr/lib/vmware-server/lib/libpam.so.0/security/pam_unix_acct.so

change it all to this:
#%PAM-1.0
@include common-auth
@include common-account

Read Full Post »

Now that you have either partitioned your hard drive, or are skipping the partitioning part, it is time to install your Operating System.

Pop the CD in your PC, and turn on the computer.  With Ubuntu, it is a ‘Live CD’.  That means it will boot into the full Ubuntu OS, and you can use it without installing it.  Since it is running from the CD drive it will be slow.  When you are ready to install, click the Install icon on the desktop.

You’ll be asked some basic questions.  The tricky one is the partitioning.  If you followed my steps, then select Manual, and then select the partition mark as ‘/’ – your primary Linux partition for installation.

If you didn’t partition, and want to just use the free space of your existing hard drive (and keep whatever OS you already have installed intact), select the first option to use a percentage of free space for the install.  Try to give your new OS at least 10 GB of space (although that much is not required).

Click next a few more times, and reboot when told to.  You are done with the install!

When your computer reboots, it will take you to the ‘Grub Bootloader’.  You will have a few seconds to pick from the list of options – a list of the avaialble Operating Systems to boot into.  If you had Windows previously installed, it will be listed.  However, it will default to the OS you just installed, so just wait a few seconds, and Ubuntu will startup.

Login with the user name and password that you responded with at installation.

Read Full Post »

Virtualization 101

This page is under construction, but to get you started, here is my 2 cents thus far:

There are a few major technologies in the Virtualization (on Linux) world. VMWare, Xen, and KVM (and KQemu, Qemu).

The long/ short of it – you’ll want to end up on KVM, but will probably use VMWare Server in the short term.

VMWare – the VMWare Server for Linux works well enough and is freely available, but with licensing restrictions. It is nicely compatible with images created on Windows hosts.

Xen – I thought this was the way to go, but then Citrix stepped in (red flag). Now, with KVM a part of the Kernel, I wouldn’t recommend it.

KVM – This is fairly new, but the technology is going to grow over time. The advantage KVM has is that it is a part of the mainline Linux Kernel. It is based off of the QEMU project (which is excellent for testing, but painfully slow in practice). KVM basically takes QEMU into the Kernel (yes, KQEMU can also be used). It is compatible with VMWare Server created VMDK disks. It requires IntelVT or AMD-VT? (Virtualization) support on your processor.
Synopsis:
If you have a computer that supports the Virtualization extensions, KVM is where you want to go. If not, you can use QEMU, and migrate to KVM when you get a new system.

However, I have found (thus far) that KVM/ QEMU are a pain in the @ss to get working correctly. On the other hand, VMWare Server is rather simple (by comparison) once it is installed.

In truth, I am currently using VMWare Server only. But I have been testing QEMU and KVM for sometime. I have been converting my VMWare systems from 2GB split SCSI files, to single IDE files – these are compatible with KVM/ QEMU

UPDATE (10/24):

So, I have finally made SOME progress with KVM.  I am running Ubuntu 7.10 desktop (Gutsy Gibbon) with KVM installed (downloaded from source KVM-48 and compiled per instructions – I got some errors, but it worked).  I was able to install Zenwalk desktop, using KVM (instead of QEMU).

What did I learn?  It appears that the issue I was having was specific to the Ubuntu installer!  Not the host, but guest.  I was running Ubuntu as my host system, and installing Ubuntu into a KVM guest, but it would fail on boot from the CD image.  There is a change you can make to the boot commandline (blacklist something or other..) that will allow the installer to boot.  But, after installation is compelte, the system beings booting, and then drops you to some alternate Debian command line.  I read something about a VGA problem with the Ubuntu bootloader… I don’t know.  All I know is that when trying to install Zenwalk as a guest, it worked fine.  I’ll next try with XP, and I am sure that will work OK too.

Read Full Post »

http://www.ubuntu.com

The latest version of Ubuntu has been released! Ubuntu 7.10 (Gutsy Gibbon) is now available. For those of you that have been waiting to try out Ubuntu, the wait is over. You can download the CD from the Ubuntu site (www.ubuntu.com). However, it has been really slllloooooowwwwww today. I have almost completed the download myself – so if you let me know, I can burn you a CD of it.

It is a Live CD. That means you can startup your computer from the CD. It will load Ubuntu into memory, and you can check it out without uninstalling it to your PC. It will be a bit slow because it is running from the CD, but it allows you the opportunity to check it out.

Read Full Post »

Step 2 – Partitioning

If you are not very geek, and want to simply add Linux to your existing desktop/ laptop computer (alongside Windows, probably) then you may not want to even bother with this step. Simply boot with Ubuntu LiveCD, select the option to install, and when prompted for how to use your disk space, select the option to use a percentage of free space.

However, if you are setting up a brand new computer (or don’t mind wiping an existing one) then read on:

First, I’ll cut to the chase (let me tell you what I am going to do, and then I’ll explain it):
Partitions, in order on the hard disk:
optional: from the beginning: 20 GB, no type (for Windows, if you must)
from the end: 16 GB swap (for swap – your size should be physical memory * 2)
optional: from the end: 2 GB Fat16 (for DOS access, if you like)
from the end: 10 GB ext3 mount: /media/testpart (for testing other Linux installations in the future, etc)
remaining space: ext3 mount: / (this is where you will be installing Linux)

continuing..

I found after I had played with Linux for a few weeks, that I wish I had partitioned my hard drive beyond the defaults that the Ubuntu installer offered (partitions on a hard drive are basically breaking it into separate sections, so you can safely work with multiple different operating systems (XP, Vista, Linux, different versions) without too much of a headache).

So a quick reformat and a fresh start was what I needed… but the Ubuntu partitioning system was just a bit lacking (it always wanted to re-use the whole drive, and manual mode was not doing what I wanted it to on certain sytems). So I went in search of alternatives:

There is a Linux LiveCD out there specifically for repairing broken computers. It’s worth adding to your toolkit, so get it, “System Rescue CD”. Our purpose is to use it for partitioning our new PC.

Boot it up, and select the partitioning application. I went with the configuration listed above, but you can do it however you like – this is what worked best for me.

***** Setup the Hard Drive:
Run System Rescue CD
Create Partitions for: XP, Linux, Swap, Fat16

They are physically in the order NTFS(for XP), Ext3 (Linux), Swap, FAT16

However, with the GPart tool I used, It was easiest to create first the NTFS (at the front), then create the FAT16
at the end, followed by the SWAP at the end (before, and next to the FAT16), that way ALL remaining space was for the EXT3 for Linux.
I created (with 100GB drive)
– 15GB NTFS Partition for XP
– 2GB FAT16 at the end
– 4GB Swap at the end (but before the newly created FAT16)
– 74GB EXT3, Ubuntu will go here

Why the FAT16?  Why Not?… I am not sure, I just don’t want to go through all this again, and it is only 2GB.  It may never be used.  I can read/ write NTFS from Ubuntu (my Linux distro), and I can read EXT3 from XP.

Once I had it partitioned, I rebooted and installed (shhhh) Windows XP into that 20GB partition. And then rebooted with my Ubuntu CD, and haven’t booted into Windows XP since.

Before you give me a hard time, the truth of the world as it is today is that Windows is king. I have a license for it, so I might as well install it. I may eventually run into something, some app, some driver, that requires Windows. It is MUCH easier to have it there already, then trying to figure out how to load it, breaking Grub (the Ubuntu bootloader), and trying to then fix it back later.

I know, I can run XP in a virtual – in fact, I DO run it in a virtual for testing and what not. Sometimes, you need to boot into it in a non-virtual, so there it is.

Moving on…

Read Full Post »

Older Posts »