Run dotCMS on Docker, AWS, on bare metal, or compile the source from GitHub.
Need enterprise features? Simply request a free 30 day trial license once you login to your dotCMS instance.
Running dotCMS in Docker is the simplest way to get started with dotCMS on any platform. In order to run dotCMS successfully, we recommend having at least 2 CPUS and at least 6GB RAM assigned to your docker environment.
Run the command below if you want to start dotCMS with demo content and data. The docker compose file that is run is downloaded directly from our github examples repo. It includes all the content/data from our demo site.
curl -o docker-compose.yml https://dotcms.com/run/demo && docker-compose up
If you want to start fresh, you can also start up a clean installation with no data. Again, this comes from our github examples repo.
curl -o docker-compose.yml https://dotcms.com/run/clean && docker-compose up
Once your dotCMS is up and running, you can connect to it by going to http://localhost:8080
To login to the administrative console, go to
http://localhost:8080/dotAdmin
and login with:
admin@dotcms.com / admin
This example shows how to install dotCMS on Amazon's Linux 2 via docker. There are many ways to configure dotCMS in docker - for a list of options that can be applied to our docker images see our documentation site.
Make sure your server has appropriate memory and disk space. We recommend a minimum of 7.5GB of memory and 50GB of disk space.
For more information on dotCMS memory usage, see the Memory Configuration documentation.
Place the box in a Security Zone that allows for access to port 22, 80 and 443
ssh -i ~/keys/your-key.pem ec2-user@{servers.amazon.public.ip}
Cut and paste these commands into your ssh terminal. These commands will download and install docker, set up a dotcms user and fire up an example dotCMS installation.
sudo yum update -y
sudo yum install docker git -y
## set elasticsearch virtual memory settings
## Elasticsearch will not start up without this
sudo sysctl -w vm.max_map_count=262144
sudo sysctl -w fs.file-max=100000
## make sure they stick
sudo sh -c "echo 'vm.max_map_count=262144' >> /etc/sysctl.conf"
sudo sh -c "echo 'fs.file-max=100000' >> /etc/sysctl.conf"
sudo sysctl -p
## edit docker file limits
sudo sh -c "echo \"OPTIONS='--default-ulimit nofile=65536:65536'\" >> /etc/sysconfig/docker"
## Start docker
sudo service docker start
## install docker-compose
sudo curl -L "https://github.com/docker/compose/releases/download/1.24.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
## set exec perms
sudo chmod +x /usr/local/bin/docker-compose
## Symlink it to your path
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
## test that it works
docker-compose --version
## dotCMS docker image runs with uid 1000000000
sudo useradd -u 1000000000 -U -G docker -d /data dotcms
## make data readable
sudo chmod -R 755 /data
## Change to dotcms user
sudo su dotcms -
## mk installation directory
mkdir /data/dotcms && cd /data/dotcms
## copy one of the example docker-compose templates
wget https://raw.githubusercontent.com/dotCMS/core/master/docker/docker-compose-examples/single-node-demo-site/docker-compose.yml
## fire it up!
docker-compose up -d && docker-compose logs -f
dotCMS can be downloaded and run on bare metal. To run dotCMS this way requires Java 1.8, a database and an accessable Elasticsearch installation.
The latest Agile release and latest LTS releases can be downloaded as a Unix/MacOs .tar.gz or as a windows.zip
Release Type | Version | Linux and OS-X | Windows |
---|---|---|---|
Agile Release | dotCMS 22.05 | .tar.gz | .zip |
LTS Release | dotCMS 22.03.1 | .tar.gz | .zip |
LTS Release | dotCMS 21.06.7 | .tar.gz | .zip |
LTS Release | dotCMS 5.3.8.10 | .tar.gz | .zip |
The instructions to install dotCMS on bare metal can be found on our documentation site. See:
https://dotcms.com/docs/latest/installing-from-release
for detailed instructions on how to install and configure dotCMS.
It is easy to roll your own custom dotCMS build. Our open source code is on GitHub and can be downloaded, modified and reused as needed.
Run the following command to clone the repository.
git clone https://github.com/dotCMS/core.git
Once you have cloned dotCMS, you can `git checkout` the branch you want to compile. In this case, we will compile the `master` branch. dotCMS uses Gradle as our build tool. You need to be in the `core/dotCMS` branch to use it. The gradle task `createDist` will download and package a complete dotCMS distribution.
cd core
git checkout master
cd dotCMS
./gradlew createDist
After gradle is done, you will find your newly built dotCMS distros (both tar and .zip) under the `/core/dist` folder. This is the complete dotCMS package, including a Tomcat app server needed to run dotCMS.
At this point, the newly minted dotCMS build can be deployed just like our distribution. For instructions on how to do this, see:
https://dotcms.com/docs/latest/installing-from-release
for detailed instructions on how to install and configure dotCMS.
We offer complimentary evaluation support, allowing you to get the most out of your time and effort. To get started, complete the form below, and let us show you how we can help in your CMS evaluation.
After a quick conversation to understand your requirements, we will spin-up a dotCMS Cloud sandbox and work with you to build out your most business critical use-cases for the best possible evaluation experience. It is our investment in you without any commitment or cost. Of course, we are still happy to fill out the spreadsheets and answer all your questions in writing, but what better way to evaluate a CMS than to use it? No Hassles. No commitment.