El 29/07/11 12:56, Arthur Baldwin escribió:
Quiliro,

I'm planning to use this "just for fun" after I reinstall Ubuntu 11.04 on my work machine. Can you please rewrite it slightly for using MySQL as the database?


This script has been tested. Remember that your mysql root password (which you will be asked to type twice) should not be the same as your other passwords for security reasons.

After you copy this script, name it hobo.bash and make it executable (chmod u+x hobo.bash). You should run it with the following command: ./hobo.bash

#    Copyright (C) 2011  Quiliro Ordóñez

#    This program is free software: you can redistribute it and/or modify
#    it under the terms of the GNU Affero General Public License as
#    published by the Free Software Foundation, either version 3 of the
#    License, or (at your option) any later version.

#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU Affero General Public License for more details.

#    You should have received a copy of the GNU Affero General Public License
#    along with this program.  If not, see<http://www.gnu.org/licenses/>.

#    quiliro [at] fsfla [dot] org

sudo apt-get update
sudo apt-get -y install wget curl build-essential bison openssl zlib1g 
libxslt1.1 libssl-dev libxslt1-dev libxml2 libffi-dev libyaml-dev libxslt-dev 
autoconf libc6-dev libreadline6-dev zlib1g-dev libcurl4-openssl-dev 
libmysqlclient16-dev libmysqlclient16 imagemagick libmagick9-dev git-core 
mysql-server
wget -cftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p180.tar.gz
tar -xzf ruby-1.9.2-p180.tar.gz
cd ruby-1.9.2-p180
./configure --prefix=/usr/local&&  make&&  sudo make install
source ~/.bashrc
sudo gem install mysql2 -v 0.2.6
sudo gem install rake -v 0.9.2
sudo gem install bundler passenger hobo --pre --no-ri --no-rdoc

--
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to