subrat's blog

Installing Redhat 9 and FC1+ from HDD

Installing Redhat Linux (9 and above) with just the ISO Images.

Normally, people who have fast connection like to download their favorite linux distros instead of wasting time in searching for CDs and buying them. However, even if we download the ISOs we might not always have a burner to burn the CDs, and lets face it, you cannot really "trust" the cds you burn at times, you never know when they just become unreadable.

So, installing linux with just the ISOs only has the following benefits:

1. A lot faster than installing from CDs, hence saving time
2. No problems like "cannot read from the media" will arise during installation.

Reverse SSH Tunnelling

Reverse SSH Tunnelling is helpful when you want to connect to an unexposed IP or an IP behind a router or firewall.

Typical scenario is when you want to access your home pc without exposed ip and/or which is under a big network firewall from outside.

What you need is,

1. a shell account in the main server. (main server here = whatever.com)
2. home PC running linux with sshd which accepts remote login.

This is what you do,

In your home PC, you do something like

`ssh -C -g -R 1234:localhost:22 subrat@whatever.com`

Remember subrat@whatever.com should be a valid account at whatever.com because it will ask you for the password to subrat@whatever.com after you issue the command. Only after you specify the correct password, your tunnel will be created. After you do that, simply just leave the connection open. Do not close it!

Lightweight ASP.NET!!!

I am not much of a .net fan but, I always wanted to do some ASP.net for web programming just to get a taste of .net, but was always lazy to install the entire VS.net because its too huge and my Compaq Presario 900 notebook aint got much harddisk space left after i installed linux as the other OS.

But, Microsoft in conjunction with some other companies have come out with a light weight version of ASP.net and the best part is that its free!!!

Visit http://www.asp.net/ and download this thing called WebMatrix. It is actually a mini asp.net IDE and a mini IIS like webserver. Its small but it has almost all the features that the IDE in VS.net provide for ASP.net

Configuring your Apache webserver for win32 to allow vhosts

This is the crash course tutorial for creating vhosts in your apache webserver for win32 (and even linux except for some windows specific configuration)

If you are a web programmer like me, you will probably be handelling many php/perl projects at the same time with your apache. Putting everything in `htdocs` is a headache because it will make it look very messy. So this is where vhosts comes into play. For most linux webservers, systems like ensim or plesk handle these things without letting the users know what is going on behind! Moreover apache's documentation might seem confusing.

Lets begin...

Syndicate content
Comment