Hi guys,
I'm a Linux newbie, but after some trials and tribulations I was able
to install LovdByLess on Ubuntu Desktop 8.04. Below are the
approximate instructions.
Note that my actual process was to setup LovdByLess on windows, do
some customizations, and then re-deploy my modified source code on
Ubuntu (so I was not installing the original LovdByLess code), but the
instructions should still generally apply.
1. Install MySQL & GUI tools
sudo sudo apt-get install mysql-server
sudo apt-get install mysql-admin
sudo apt-get install mysql-query-browser
2. Install Apache/Rails (using Passenger)
Follow instructions at
https://help.ubuntu.com/community/RubyOnRails
to install Ruby and Rails (as well as apache, gems 1.2)
- to edit the apache configuration file as referenced run $sudo gedit /
etc/apache2/apache2.conf
- edit the /etc/hosts file to add
ror.host.com and
lovd.host.com as a
localhost entries
3. Install a bunch of gems
sudo gem install RedCloth
sudo gem install -v=2.6.0 rmagick
sudo rake gems:build
sudo get install acts_as_ferret
sudo gem install ferret
sudo gem install -v=0.6 hpricot
sudo rake gems:install
sudo apt-get install libmysql-ruby
sudo apt-get install libmagick9-dev
sudo apt-get install librmagick-ruby1.8
sudo rake db:create:all
sudo rake mig a=no
sudo rake
4. Finish setting up your lovd install
created /etc/apache2/sites-available/
lovd.host.com
* <VirtualHost *>
ServerName
lovd.host.com
DocumentRoot /home/user/Projects/Lovd/public
</VirtualHost>
$ sudo a2ensite
lovd.host.com
$ sudo /etc/init.d/apache2 restart (for future application restarts
just do $ touch /home/apuser/Projects/LovdByLess/tmp/restart.txt)
5. Lovd should not run at
http://lovd.host.com (again, please note
that these instructions are approximate as I was troubleshooting as I
went)
woooo