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.
Download the 64-bit Linux Railo with Tomcat install from http://getrailo.org
This will give you the most automated install, suitable for a clean Fedora VM.
Create a railo user. This user will own the installation.
sudo useradd railo -p password
Then, add the webdev user to the railo user group so that webdev can create and edit Railo files.
sudo usermod -a -G railo webdev
Change permissions on the download file so that it can be executed.
chmod 755 railo-4.2.1.000-pl1-linux-x64-installer.run
Run the Railo installer.
After the splash screen, choose your language.
Choose “I accept…”
Install to opt/railo
Set Railo Administrator password
Choose your ports. I chose 8000 for the Tomcat Web Server Port.
Set the Tomcat System User to railo, which we created at the beginning of this post.
Start at boot? Yes
Install Apache Connector? No
Ready to Install
Click Next to complete the install.
The installation progress screen will run for a few minutes.
Open the Welcome Screen? Yes
After the Railo Welcome Screen loads, scroll down and click on the Server Administrator link.
Login using the password created when you installed Railo.
Navigate to the Datasource page.
In the “Create New Datasource” section, enter the name of your new datasource, set the type to MySQL and click Create.
The Name of the datasource should carry over from the Create New Datasource form.
Accept the defaults for now and click “create”.
The Datasources page should return with your new datasource listed.
Now that we Railo installed and a datasource configured, we can begin creating a ColdFusion application in the next post.