Skip to content

Instantly share code, notes, and snippets.

@kmontenegro
Last active May 19, 2016 20:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kmontenegro/29640179a0c9ccbc7ccdb81150ca7fd3 to your computer and use it in GitHub Desktop.
Save kmontenegro/29640179a0c9ccbc7ccdb81150ca7fd3 to your computer and use it in GitHub Desktop.
Install document for Open Pika legal case management system on Google Compute Engine (GCE)

#Step By Step Instructions for OpenCMS on GCE ###Notes This document assumes the installation is on CentOS 7 and Google Compute Engine as the environment.

###Create GCE Machine

###Post Machine Creation & Shell Access Installation All commands should be run using sudo as GCE doesn't give you native root access.

  • sudo yum install php httpd
  • sudo yum install mod_ssl
  • sudo yum install mysqld mysql
  • sudo yum install php-mysql php-cli php-xml php-mcrypt php-mbstring php-soap
  • "mcrypt unavailable"
  • sudo rpm -Uvh http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
  • sudo yum update && sudo yum upgrade
  • sudo yum install mysql-server
  • sudo yum update && sudo yum upgrade
  • sudo systemctl start mysqld
  • sudo systemctl start httpd
  • sudo yum install wget zip unzip
  • cd /var/www/html/
  • sudo mysql_secure_installation more information here
    • accept defaults
  • sudo mysql -u root -p
  • directions in cms doc
  • mysql> exit;
  • sudo wget https://github.com/aworley/ocm/archive/master.zip
  • sudo unzip master.zip
  • cd ocm-master
  • sudo mv cms /var/www/html/
  • sudo mv cms-custom /var/www/html/
  • ls
  • sudo rm -rf ocm-master
  • sudo mysql -u -p cms < new_install.sql
  • sudo service httpd restart
  • sudo service mysqld restart
  • sudo nano /etc/my.cnf
  • add query cache settings to my.cnf example settings here
  • edit variable for caching
  • restart httpd & mysqld
  • create users per documentation ###To Do Domain name updating on GCE & integrating GApps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment