Express Installation
The express version of ContentBox is a fully embedded running server powered by Lucee, an open-source CFML engine, and Tomcat. It comes bundled with a JRE for your operating system or one without a JRE can be downloaded as well.

Requirements

Make sure your system has a working Java Runtime 1.7+ environment if you are downloading the express version with no JRE. A quick test to see if your system supports Java is to open a terminal or command prompt and typing:
1
java -version
Copied!
You should see something like this:
1
java version "1.8.0_40"
2
Java(TM) SE Runtime Environment (build 1.8.0_40-b27)
3
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
Copied!
Just make sure what it is Java 1.7+.

Step 1: Download Express

The first step is for you to download ContentBox (https://www.ortussolutions.com/products/contentbox) or you can use the command below:
1
# stable no-jre
2
wget https://www.ortussolutions.com/parent/download/contentbox?type=express
3
# stable with jre for windows
4
wget https://www.ortussolutions.com/parent/download/contentbox?type=express-win
5
# stable with jre for mac
6
wget https://www.ortussolutions.com/parent/download/contentbox?type=express-mac
7
# stable with jre for linux
8
wget https://www.ortussolutions.com/parent/download/contentbox?type=express-linux
9
10
# bleeding edge no-jre
11
wget https://www.ortussolutions.com/parent/download/contentbox?type=express&version=be
12
# bleeding edge with jre for windows
13
wget https://www.ortussolutions.com/parent/download/contentbox?type=express-win&version=be
14
# bleeding edge with jre for mac
15
wget https://www.ortussolutions.com/parent/download/contentbox?type=express-mac&version=be
16
# bleeding edge with jre for linux
17
wget https://www.ortussolutions.com/parent/download/contentbox?type=express-linux&version=be
Copied!
Once downloaded expand the archive
1
unzip contentbox-express-{version}.zip
Copied!
This will expand into the folder of your liking.

Step 2: Permissions

On some operating systems like Linux or Mac, you will need to enable run permissions. So drop into a shell or terminal in that folder you expanded and type:
1
chmod -R 777 bin
Copied!
This will add execution and write permissions to the bin folder which is required.

Step 3: Run it

Go into the bin folder and execute either the startup.bat or startup.sh or startup.app according to your OS. Then visit the site in a browser on port 8085 by default.

Step 4: Setup Server Passwords

Make sure you visit the following URLs and set up a server and web application password for the underlying engines:
1
# server password
2
http://localhost:8085/lucee/admin/server.cfm
3
# web password
4
http://localhost:8085/lucee/admin/web.cfm
Copied!

Step 5: Create A Datasource

You can now visit your application under http://localhost:8085 and you will be presented with our datasource wizard. Since we are in express edition, just choose the embedded database and follow the instructions.

Step 6: Run ContentBox Installer

That's it! We are now ready to run the ContentBox installer wizard. ContentBox will automagically create all the necessary database tables, indexes, and constraints for you. After it does this, it will present you with our ContentBox installer, where you will fill in:
    Administrator Account
    Site Information
    Notification Emails
    Email Information
    URL Rewriting
    Enjoy your ContentBox installation!
Caution We recommend that after you install ContentBox that you remove the installer and datasource wizard modules from the disk. You can do so manually or via the Dashboard once you log in. {Root}/modules/contentbox-installer and {Root}/modules/contentbox-dsncreator

Changing the Default Port

Go to the conf/server.xml and look for the following:
1
<Connector port="8085" protocol="HTTP/1.1"
2
connectionTimeout="20000"
3
redirectPort="8443" />
Copied!
Just update the port to whatever you desire.
Last modified 7mo ago