Here is some information I've collected for setting up and using a Bitnami Virtual Appliance. Specifically, I was using a couple of appliances to test a plugin in different versions of Redmine.

 
For more details on some of these items: see http://bitnami.org/faq/virtual_machines
 
 
This page assumes you are using the appliance for development only, and as such, disregards a bunch of security rules. If you're providing access for production, you'll need to follow proper security guidelines.
 
 
So you don't have to keep typing sudo (and possibly a password), enter this command:
sudo su
The rest of the commands on this page assume you are doing them in sudo.
 
bitnami items are located at
/opt/bitnami
If you want to move bitnami's home folder, edit the home folder setting for bitnami in
nano /etc/passwd

Location

Redmine items are located at (other apps are similar):
/opt/bitnami/apps/redmine
The /conf folder has apache configuration settings.
The /htdocs folder has the actual application (i.e. this is the real redmine root)
 
To restart Apache (or other services), run one of the commands below.
Restarting Apache also restarts the Ruby application.
/opt/bitnami/ctlscript.sh (start|stop|restart|status)

/opt/bitnami/ctlscript.sh (start|stop|restart|status) mysql

/opt/bitnami/ctlscript.sh (start|stop|restart|status) apache
or 
/opt/bitnami/apache2/bin/apachectl restart
 
To copy files from the host to the VM perform this command:
mv /etc/init/ssh.conf.back /etc/init/ssh.conf

start ssh
Then you can use FileZilla to copy the files.
  1. Add a new site (File > Site Manager > New Site)
  2. Enter the IP address of the VM (192.168.56.101 or similar)
  3. Leave the port blank.
  4. Set the protocol to SFTP.
  5. Set user to 'bitnami' and password to 'bitnami'
  6. Click Connect.
  7. This should take you to the bitnami user's home folder, but you'll probably want to change to /opt/bitnami.
You can edit files from FileZilla by right-clicking and select View/Edit. This will open the file in an editor or associated program.
 
To connect, set the network adapter to 'host only' and then point your browser (on the host) the address below.
The exact address may be different if you have more than one VM running. If so, run ifconfig to find the one that's similar.
192.168.56.101 
 
To enable phpmyadmin, find the file at
/opt/bitnami/apps/phpmyadmin/conf/phpmyadmin.conf
Change the line 'Allow from 127.0.0.1' to
Allow from 192.168.56.1
or 'Allow from all' or whatever you need.
Change the long wiki address for the phpMyAdmin link in /opt/bitnami/apache2/htdocs/index.html.en to "phpmyadmin/"
Restart Apache.
Go to http://192.168.56.101/ (refresh may be needed) and then click on the big "Access phpMyAdmin" button.
Login to phpmyadmin with user 'root', pass 'bitnami'.
 
To enable running rake manually, you'll have to set proper mysql permissions for whatever user you want to run rake from.
Without any changes, you'll get an error like
Access denied for user 'bitnami'@'localhost' to database 'redmine_development'
In phpmyadmin, change the host for the bitnami user to 'Any host' (or %) and set other privileges you need.
In /opt/bitnami/apps/redmine/htdocs/config/database, change the development database to 'bitnami_redmine'
 
To get better logging/debugging and use the development environment...
In /opt/bitnami/apps/redmine/conf/redmine.conf, change/add lines to match below
PassengerFriendlyErrorPages on

PassengerLogLevel 3

RailsEnv development
Restart Apache.
 

 

Traffic Question 15: Mailing a letter

Traffic Question 15:

During a period of heavy traffic, you want to mail a letter and then head in the direction of the pink arrow. How do you do it?

  1. Stop at Mailbox A, then do a U turn
  2. Park in a spot near Mailbox A, then turn left out of the parking lot
  3. Use Mailbox A, then use the left turn lane at the intersection to do a legal U turn
  4. Turn right at the main street, turn left into the parking lot for Mailbox B, then go through the intersection in the desired direction

Traffic Question 14: A traffic light turns yellow and you’re not quite going to make it through before it turns red... what do you do?

Traffic Question 14:

A traffic light turns yellow and you’re not quite going to make it through before it turns red... what do you do?

  1. Stomp on the gas pedal and zoom through
  2. Continue through the intersection without any change in speed
  3. Wait until the last second and then stomp on the brake
  4. Start coming to a gradual stop immediately
  5. None of the above

Traffic Question 9: If you get a phone call while you’re driving, what do you do?

traffic-09q.pngTraffic Question 9: If you get a phone call while you’re driving, what do you do?

A. Answer it right away

B. Wait until you get to a stop light and call back.

C. Stop at a stop sign and call back.

D. See who it is. If you think it might be an emergency, park the car in a designated parking area and then call back.

(Yes, this is pretty similar to #2 If you get a text while you’re driving... The main difference is, texting on the phone is illegal whereas talking on the phone is legal. At least in Moline.)

Traffic Question 12: Which of the following are factors in whether or not a vehicle is going to be slower than normal?

Traffic Question 12:

Which of the following are factors in whether or not a vehicle is going to be slower than normal?

* Car is Buick, Cadillac, or similar type

* One or more children are present

* Vehicle is a minivan

* Age of driver is over 60

* Handicapped license plates

* Driver is using cell phone

* Vehicle is a "sporty" color

* Driver is female

Traffic Quiz 6: Is it possible to back out of a driveway and use only one lane?

traffic-06q.pngTraffic Question 6:

The blue dots indicate the path used to pull IN the driveway.

Is it possible to back out of a driveway and head in the direction indicated by the pink arrow, using only one lane of the road?

A. No, one lane is not enough room.

B. Yes, it can be done in one lane.