Categories
Linux Tips

Creating LIVE CD out of existing Linux installation

If you have been working with Linux for long enough time, you must have came across this question… “I have setup my Linux exactly the way I need it, now how do I replicate same setup in someone else’s computer?” or even better, “It would be great if somehow I can make LIVE CD out of my current setup”. This is more or less like what you would do using Sysprep but on steroids Smile for Linux. I ran into this situation recently at work where I have to make bootable ISO (read live CD) out of existing Linux machine.

After initial struggling with my web searching skills (or may be it was my refusal to use Google for search… I am using DuckDuckGo), I found that there are in fact more than few tools available that do just that! I decided to give try a tool that made sense to me (which can be totally different for anyone else) is called Pinguy Builder. This tool is only for *buntu family. It is simple to use tool with decent GUI and ability to use shell interface…. win win for me. Following is what I did to create copy of my Linux installation in Live CD form so I can distribute it for my purpose. Depending on your *buntu version you need to download required version. Download page has more details about what version is needed for what version of OS, so I am not repeating that here.

Install DEB package as you would normally install any DEB package. Once it is installed you can start program by looking up for “Pinguy Builder” shortcut (or via shell). For first run you should see screen like this…

Categories
.NET ASP.NET Ubuntu

Developing ASP.NET Application in MONO under Linux

Today, I was playing with my new install of Linux. I installed Mono in it… (for those who don’t know what is MONO, is a cross platform IDE that can be used to develop .NET application in any environment) .. With my past encounters with Mono, I know that it is sort of complicated to make Mono work properly and you need to configure it specifically to work without glitch 🙂 … but with this newer Ubuntu 11.04, the process was way too simple.

During installation from "Ubuntu Software Center" I can select which add-on I want to install with Mono and everything will be configured automatically !! So only user intervention is just to select which add-on they want. Once you are done with installation you can fire up the application and start coding right away. Well, it is other case if you are way too much habituated with drag ‘n drop Visual Studio environment then you will find it a bit difficult to work with Mono since it doesn’t have VS like rich UI. But I say, it is way better then what you can get in Linux.

Sample Code:

<form id="form1" runat="server">

<asp:Button id="Button" runat="server" Text="MONO" OnClick="Button_Click"/>

<asp:Label id="Label" runat="server" Text=""/>

</form>

protected void Button_Click (object sender, EventArgs e)

{

Label.Text = "Hello Mono !!";

}

I guess this is one more reason to use Linux 🙂 …

That’s it for now ….

Gaurang Sign

Categories
Babbling

One more reason to use Linux

I’ve been user of Linux from past few years. I got interested in Linux perticularly in Ubuntu when I took a class for Linux in my school. Since then, I have Linux as my second OS in my dual boot Laptop. I think that there are so many things that Linux can do effciently but Windows cant do it well. But major drawback of Linux is, if you are transited from Windows environment, you are kind of habituated for point and click tools, that makes your life hard in Linux because many time you are required to run some command or some script or something like that. Also since most of the tools are open source, some tools are not so polished and hard to use. Or sometimes I just cant use Linux because of my work, but I dont have that complain anymore because I can work using MONO 😀 …

Till now, I’ve been using Window Live Writer, which is no doubt really great blogging tool. But if I am working on Linux then I have to reboot into windows just because I wanted to blog on something. But today I am testing this new blogging tool in KDE. It is called "Blogilo". It has almost same feature as WLR, and I am hoping that I will use this tool in future.

That Is it…

Gaurang Sign