Featured Post

Why Domain names Are A Good Investment in business

Image
  Accordiing to lattest study over Domain Sales for 3 months 10,085 domain are registered, Now a days people are becoming more aware of the opportunities in domain investing because fixed-price sales will continue to gain popularity ,it is really a great way for the novice investors to get involved in the market.it is also known as an extremely attractive tool for businesses or for the marketers who have to budget expenses up-front for a new site or landing page, and want to leverage the power of a short, memorable domain that can increase SEO and siphon natural type-in traffic. These look like unlikely one-off figures. But the fact is, though not all sales can be this lucrative, good money can still be made by investing in domain names.One of the biggest reasons behind this is an absolute explosion of prospective website owners on one hand and the scarcity of good domain names on the other.The domain marketplace is in a solid state, which is a tremendous market-wide...

Writing code all day

 

Writing code all day sort of saps my will to come home and.. write more code. With that in mind I set out to find existing blog software rather than rolling my own. Life's just too short, and besides, never write what you can steal-- right?

I experimented with some .NET solutions but oddly enough had the most success with the PERL-based Movable Type solution, which is what you're reading this on right now. I suspect the .NET solutions may have been more advanced (I'm writing this now in a glorified textbox, not some fancy DHTML-Word simulator, for example), but this is the one that was easiest to get running. Easy is good. Also, I'm really lazy.

Anyway, if you want to get Movable Type running on your Windows Server 2003 as I did, you'll need to get PERL installed first. I used ActiveState PERL. Installs painlessly. Note that Server 2003 has enhanced "lockdown" security out of the box-- meaning, it won't run jack squat without manual intervention-- so you must enable .CGI as an allowed "Web Service Extension" in the IIS console.

You'll also need to make index.html one of the default content pages, and don't forget to set up the .CGI extension mapping for PERL:

I opted to store the blog in a MySQL database, which I set up with the defaults. I configured MySQL to run as a service using the command line, and set the default root password

c:\mysql\bin\mysqld-nt --install net start mysql c:\mysql\bin\mysqladmin -u root password new_password

I then used the Mascon GUI tool to create a new database "mtype".

The Movable Type documentation is pretty good, so you'll do OK if you follow it closely from this point on. There is one caveat that was not mentioned in the documentation, however. The ASPN Perl doesn't come with the required DBI PERL module, so I almost immediately got an error when setting up my site. I found a link that offered the following commands to download and install it:

C:\>c:\perl\bin\ppm.pl If you have not already done so, install DBI: ppm> install DBI If this succeeds, install the MySQL database driver: ppm> install DBD-Mysql

 

After that it was smooth sailing.

 

Comments

Popular posts from this blog

Why Domain names Are A Good Investment in business

Recommended Reading for Developers