Part 3: Railo on Fedora 20 on a Windows Host with VirtualBox

This is the third in a series of articles on how to install Railo (ColdFusion) and MariaDB (MySQL) on a Fedora virtual machine (VM) using VirtualBox.  The first post discusses the creation of a Fedora VM. The second post discusses the installation and setup of MariaDB. In this post we will cover the installation and setup of Railo including connecting to the MariaDB datasource.

Fixing ‘gem install rails’

While trying to install Ruby on Rails in Fedora Core 19, I ran into some errors with the ‘gem install rails’ command. [mark@localhost ~]$ gem install rails Fetching: i18n-0.6.9.gem (100%) Successfully installed i18n-0.6.9 Fetching: multi_json-1.8.2.gem (100%) Successfully installed multi_json-1.8.2 Fetching: tzinfo-0.3.38.gem (100%) Successfully installed tzinfo-0.3.38 Fetching: minitest-4.7.5.gem (100%) Successfully installed minitest-4.7.5 Fetching: atomic-1.1.14.gem (100%) Building native extensions. This could take a while… ERROR: Error installing rails: ERROR: Failed to build gem native extension. /usr/bin/ruby extconf.rb […]

Quick Tip: Printing from ColdFusion

What you need to do: print something to a Windows printer from your ColdFusion application on Linux. How to do it: use the samba tool suite to execute a print command, sending a file to a printer. I use a small form to collect the data that I need to print. The form results are written to a file and then the file is sent to the printer using cfexecute. <cfexecute name=”/usr/bin/smbclient” arguments=” //print_server_ip/virtual_printer_folder my_password […]