Rob Myers edited this page Jan 12, 2016 · 3 revisions


Note that the installer script will install MariaDB. If MySQL is installed, this will remove it.

The installer script will create a database and user, you do not need to create them prior to installation.



In the examples here, "creativecommons.devel" is the name of your local domain, if you are using a different local domain (or IP) then substitute that.

Set up local dns for development domains or add the following to /etc/hosts:       creativecommons.devel

Then create self-signed ssl keys

sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/creativecommons.devel.key -out /etc/ssl/private/creativecommons.devel.crt


Install the ssh keys and intermediate certificate.


Ensure that some basic dependencies are installed::

apt-get update
apt-get install git sudo apache2 # Apache2 to ensure /var/www exists

Other dependencies will be installed by the install script.

Check out the repository into a directory that the web server can access, e.g. /var/www/:

cd /var/www
git clone https://github.com/creativecommons/creativecommons.org.git

Run the install script. Subsitute for creativecommons.devel for local installation, or the server's DNS name for deployment:

cd creativecommons.org
scripts/bootstrap.sh <hostname> ccwpdb ccwpuser <ccwpuser-password> localhost



And after running the install script comment out the last line of the Apache .conf file for the site :

#SSLCACertificateFile /etc/ssl/certs/RapidSSL_CA_bundle.pem

then restart the web server:

sudo apachectl restart

Web Install

After installing the software on the command line, open the web site in a web browser and finish installation there.