BitNami RubyStack

We are excited to announce the addition of a new stack to the BitNami library . OSQA is an open source question and answer system, very similar to the popular Stack Overflow family of sites. OSQA helps manage and grow online communities by making it easy to discuss issues and find answers to questions. It is written in Python and powered by the Django application framework. As with all BitNami Stacks, the BitNami OSQA Stack contains everything you need in order to run OSQA and is available free of charge as a native installer, VMWare virtual appliance and Amazon Machine Image. Over the next few days, we will also add it to our BitNami Cloud offering. Together with the Amazon Free Tier, it will mean you can host and run your own OSQA site on the Cloud, completely for free! Below you can find a couple of screenshots of OSQA in action

Bitnami Ruby on Rails stack provides a complete development environment for Ruby on Rails. It includes the latest stable release of Ruby, Rails, rbenv, Apache, NGINX, MariaDB, PostgreSQL, Memcached, Redis, Git, Node.js, PHP, Python and phpMyAdmin, as well as popular gems like Rake and Passenger. BitNami RubyStack for Mac. By BitNami Free. Developer's Description. By BitNami Ruby on Rails is a full-stack MVC framework for database-backed web applications that is optimized for. [email protected]:/stack$ sudo./rubyconsole You will be asked for the bitnami user password. Bitnami’s Rubystack for 32 bit Linux; VirtualBox 4.2.12 as the VM; Vagrant 1.22 to help manage the install; Ubuntu precise32 Linux; Create the base machine. The Vagrantfile is configured to support networking from the host machine and to run a configuration script (script.sh) as part of the provisioning. There is a small bit of logic to avoid.

In my Software Engineering Projects class, we are going to do a RAILS-basedproject. Based on feedback from last year’s class, I am furnishing studentswith an almost configured RAILS system for development. The system is based on Live home 3d.

BitNami
  • VirtualBox 4.2.12 as the VM
  • Vagrant 1.22 to help manage the install
  • Ubuntu precise32 Linux

Create the base machine

The Vagrantfile is configured to support networking from the host machineand to run a configuration script (script.sh) as part of the provisioning.There is a small bit of logic to avoid re-provisioning things each time themachine is brought up.

I make it by following roughly the following procedure:

  1. Install Virtualbox
  2. Install Vagrant
  3. Create a directory to place files add in
    • The bitnami linux installer file
    • Vagrantfile
    • script.sh
  4. Do an install: vagrant up
  5. SSH into the running host: vagrant ssh
  6. Use Linux as needed
  7. Exit back to the host OS: exit
  8. Shutdown the virtual machine (saving the contents): vagrant halt
  9. Package the machine post configuration with vagrant package default --output rails3r2e13.box

  10. Restart the machine and continue work: vagrant up

Install the base machine on student computer

OS X/Linux commands are given here, change the direction of the / (to ) for Windows.

  1. Install Virtualbox
  2. Install Vagrant
  3. Create a vms directory for your development use mkdir vms
  4. Create a machine1 directory mkdir vms/machine1 It will be accessible to both Linux and your operating system.
  5. cd vms/machine1
  6. vagrant init rails3r2e13.box url_to_image
  7. uncomment config.vm.network :private_network, ip: '192.168.33.10' in Vagrantfile
  8. vagrant up # first time will download the vm machine
  9. vagrant ssh # if this fails, you need to put SSH on the path

SSH for Windows

Windows does not include SSH by default. Two options are to 1) install Git locally and then use it’s SSH implementation and 2) install PuTTY.

RubyStack

Limitations

Bitnami Rubystack For Sale

The file .bashrc has a line at the end of it that maps the rails commands ontothe path along with library linkage as well. This messes up some local commandsnano and others. One solution is to comment out the line and re-log into theVM.

Other vagrant commands

Bitnami Rubystack Wordpress

  • vagrant destroy eliminate the virtual machine so next time it will be rebuilt
  • vagrant reload combination of of halt then up
  • vagrant suspend pause machine copying state to disk, resume with `vagrant resule“