Archive

Posts Tagged ‘Install’

Install Mono Daily Build Script for Fedora 13

September 8th, 2010 Nathan No comments

Mono ProjectFedora 13 A while back I added a Fedora 13 install script for Mono that downloads, builds, and installs the last tested daily build along with xsp and mod_mono.

I just recently updated it to use the Sept 1st, 2010 daily build. You can pull the latest script directly from my website or from my repository on github.

 

Script Usage

My test environment was a standard web server install from the Fedora 13 download DVD.  After the install, I started the same process I performed with the Ubuntu install, which was something like this:

mkdir mono
cd mono
wget http://www.integratedwebsystems.com/resources/p796/fedora_mono-trunk.sh
chmod 744 fed*.sh
./fedora_mono-trunk.sh

That’s it. It’ll first install all the required dependencies for the build and the web server. It’ll then download the 9/1 build (or latest tested version) from the daily tarball list and pull mod_mono and xsp from subversion trunk. Finally, it will extract, compile, and install everything.

The only thing remaining is to setup a web application and configure apache to use mod_mono. For this, I like to use the Mod Mono Config Tool as a starting point to build my virtual host configuration file.

Setup your web server:

  1. Move the mod_mono.conf from /etc/httpd/conf to /etc/httpd/conf.d
  2. Create a new directory to hold your virtual host config files at: /etc/httpd/sites-enabled

    mkdir /etc/httpd/sites-enabled
  3. Copy your new virtual host config file to /etc/httpd/sites-enabled
  4. Append a virtual host config line to your httpd.conf

    echo ”Include sites-enabled/*.*” >> /etc/httpd/conf/httpd.conf
  5. Disable Selinux by editing the /etc/selinux/config file and changing SELINUX=disabled
  6. Reboot server
  7. Start web server if it isn’t configured to auto-start. (use chkconfig to set auto-start)

    service httpd start

That should do it. You can test your new virtual host by browsing to it. The 404 response should show the new mod-mono version.

Good luck!

Categories: Fedora, Mono Tags: , , , , ,

Installing Mono Trunk or 2.6.4 Tag with Subversion Source on Ubuntu 10.04 Lucid

June 3rd, 2010 Nathan 4 comments

Updated June 23, 2010!

Lately, I’ve been really digging the new Ubuntu 10.04 on my desktop and web server. So I’ve been meaning to get a post out here describing how I got Mono trunk installed since it comes packaged with 2.4.4.  After much testing, I finally have finished getting a script to work with a fresh, vanilla install.

I stumbled on this blog post by Boris Schieman where he wrote a bash script to compile and install the Mono trunk.  I made a few tweaks to it for a vanilla linux install for the tagged 2.6.4 release and setup another one for updating a mono trunk build using the daily tarballs. I’ve successfully tested both versions on Ubuntu 10.04 Lucid. I’m just a casual linux/mono user, so use this at your own risk.

Read more…

Categories: Mono, Ubuntu Tags: , , , ,

Fixing a Corrupt Sql Server 2005 Install

April 13th, 2009 Nathan No comments

Okay, so I’ve been fighting with this workstation that has a corrupt Sql Server 2005 install, and I’m unable to re-install or remove the old install. I’ve tried manually removing registry keys and the whole nine. I even found a few references to articles posted about the topic.

I finally figured it out, so I thought I’d share since I’ve had to do this more than once. My situation is that I have a machine with Sql Management Studio Express installed and I needed the full Management Studio installed. So while uninstalling a few components, I must’ve done it in the wrong order, my Sql Server Add/Remove just disappeared.  So then I was unable to cleanly uninstall the software.

When I tried to re-install the client components, I kept getting this error:

A component that you have specified in the ADD_LOCAL property is already installed. To upgrade the existing component, refer to the template.ini and set the UPGRADE property to the name of the component.

sqlerr

Sounds a bit greek to me.  But after a few minutes of reviewing google results for the subject, I found this article.

http://www.techtalkz.com/microsoft-sql-server/163115-uninstall-sql-2005-studio-express-so-i-can-install-sql-2005-t.html

In the last post, he mentions that he downloaded the Windows Installer Cleanup Utility and it worked.  So I thought I’d give it a whirl since my local install was pretty much a handful of nastiness.  So I downloaded the utility from Microsoft’s web site.

After installing, I ran the utility, found the missing add/remove items and removed them.  Easy peasy…

Finally I restarted the Sql 2005 installer as normal, and the Client Components install went through without a problem.

Now I can get some work done…

Categories: 2005, Sql Server Tags: , ,