Skip to content

Instantly share code, notes, and snippets.

@jclausen
Last active August 29, 2015 14:14
Show Gist options
  • Save jclausen/81911335aeeb127d9b1e to your computer and use it in GitHub Desktop.
Save jclausen/81911335aeeb127d9b1e to your computer and use it in GitHub Desktop.
Railo to Lucee In One Shot
# This series of commands was used to migrate an existing Railo installation to Lucee
# I didn't rename the railo_ctl shell so as not to muck with the existing auto-start configuration, but I'll update this later when I do
# You might want to run these one at a time on your own server - unless you're feeling brave :)
cd /tmp && \
tar -cvfz railo.bak.tar.gz /opt/railo && \
mkdir lucee_upgrade && \
cd lucee_upgrade && \
wget https://bitbucket.org/lucee/lucee/downloads/lucee-4.5.0.042-jars.zip && \
unzip lucee-4.5.0.042-jars.zip && \
httpd -k stop && \
/opt/railo/railo_ctl stop && \
rm -f /opt/railo/lib/railo.jar && \
mv -f ./* /opt/railo/lib/ && \
/opt/railo/railo_ctl start && \
httpd -k start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment