Hippo CMS

A CentOS 6 virtual machine was setup for the installation of Hippo CMS. After installing CentOS, the following software was installed:

  • Oracle Java 1.8
  • Apache Maven 3.3.9

The JAVA_HOME environment variable was set to use the newly installed Oracle Java.

[mikeb@cent6vm2 ~]$ mvn -version
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T11:41:47-05:00)
Maven home: /usr/local/apache-maven-3.3.9
Java version: 1.8.0_74, vendor: Oracle Corporation
Java home: /usr/java/jdk1.8.0_74/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.32-573.18.1.el6.x86_64", arch: "amd64", family: "unix"

[mikeb@cent6vm2 ~]$ echo $JAVA_HOME
/usr/java/default/
[mikeb@cent6vm2 ~]$ 

Using the instructions for the Hippo getting started guide, the following example shows the installation.

mvn archetype:generate \
-DarchetypeGroupId=org.onehippo.cms7 \
-DarchetypeArtifactId=hippo-project-archetype \
-DarchetypeVersion=3.2.0 \
-DarchetypeRepository=http://maven.onehippo.com/maven2



[INFO] Using property: projectName = My Hippo Project
Confirm properties configuration:
groupId: org.example
artifactId: myhippoproject
version: 0.1.0-SNAPSHOT
package: org.example
projectName: My Hippo Project
 Y: : 
[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Archetype: hippo-project-archetype:3.2.0
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: org.example
[INFO] Parameter: artifactId, Value: myhippoproject
[INFO] Parameter: version, Value: 0.1.0-SNAPSHOT
[INFO] Parameter: package, Value: org.example
[INFO] Parameter: packageInPathFormat, Value: org/example
[INFO] Parameter: package, Value: org.example
[INFO] Parameter: version, Value: 0.1.0-SNAPSHOT
[INFO] Parameter: projectName, Value: My Hippo Project
[INFO] Parameter: groupId, Value: org.example
[INFO] Parameter: artifactId, Value: myhippoproject
[INFO] project created from Archetype in dir: /home/mikeb/myhippoproject
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 58.319 s
[INFO] Finished at: 2016-03-09T16:09:20-05:00
[INFO] Final Memory: 17M/153M
[INFO] ------------------------------------------------------------------------

Build the project using the following commands:

cd myhippoproject
mvn clean verify

Start the Hippo CMS application.

mvn -Pcargo.run -Drepo.path=storage

Reference

Hippo Getting Started Guide