Archive for the ‘Mint’ Category.

Linux daily driver

As I posted previously , I was thinking about switching my newest computer I use day to day to Linux instead of Windows. Recently I did the big switch, not really that big when you consider Mac, Linux and Windows are starting to look and feel pretty similar to each other. In any case I installed the latest Linux Mint 13 about a month ago and I’m very happy. I was cautious and installed Win Xp in a Virtual machine with the programs I was already using on my Win xp, frankly I haven’t turned it on for a few weeks now. After the install I plugged in the old Win hard drive, to my surprise Linux mounted it for me without any tinkering. I can access all the windows files directly from the hard drive, sweet.

I was most worried about video production on Linux, I knew Mint takes good care installing all the video codecs, no problems there. I found WinFF which is great for any conversion between different video formats. The video editing software I like the best are Cinalerra, OpenShot and Kdenlive, in my case I like Kdenlive best. I did a couple of short videos with it that came out pretty good. The only complain is that the finer control of video and audio is not as easy as in Adobe Premier. I still have Premier on the Win Xp running in virtual machine, but I’m trying not to reach for it. The overall productivity on the desktop has gone up and one can’t beat the workspaces. With the workspaces you can group together programs your using together. Often I find myself having a browser and email in one workspace. Development tools in another and sometimes terminal, database tools in another. Things seem to be more readily available to you than in Windows. I also like the look and feel, graphics are smother and better overall.

To answer the question I was going to answer. Am I happier on Linux than Windows, do I like the switch ?
Yes, you bet ! I just can’t figure out why I didn’t switch sooner. I might have something to do with old habits. You just get used to something and you stick with it. In the past when I would install Linux on my old box there was always some tinkering under the hood. Not good for the average user that is not technically inclined. However with my Mint 13 install I have not had to tinker under the hood for anything at all, it just works !

Tomcat multiple instances on Linux, Ubuntu / Mint

I was trying to figure out how to run multiple instances of Tomcat6 the other day on my Mint Linux. After a bit of searching and poking around I came to a very slick solution. But it took a while to find it, so I figure I will share the quick and dirty here, to get you up going quickly if your searching for the same.

Lets go through the whole thing, install Tomcat6
>sudo apt-get install tomcat6

You might have to set your java path if not set already, for example
>export JAVA_HOME=/usr/java/jdk1.6.0/bin/java
To check the setting
>echo $JAVA_HOME

You probably want to install the examples as well, just to mae sure things are working servlets, jsp etc,
>sudo apt-get install tomcat6-examples

If all is well as you would fully expect, you can start your Tomcat
>sudo sh /etc/init.d/tomcat6 start

And in return you will be able to access your tomcat in your browser at

So lets take a look at how to configure multiple instances on the same linux box. Go to a directory where you want your new tomcat instance located. Then you do something like this
>tomcat6-instance-create myInstance

This will create a new directory called myInstance which will host your new instance of Tomcat. It will have it’s own configuration files, logs, etc. The first thing you probably want to do is to go to the config directory and change the ports in the server.xml file. Once you have the ports changed from the usual 8080 you can start your instance from /myInstance/bin directory.

Just as you would with any other instance of Tomcat and shut down with the script. Next time you need another instance on another port just create a new one
>tomcat6-instance-create myInstance_8030
and so on and so forth.

All the details can be found in the Ubuntu documentation.