OpenCms Construction Station (i)

Source: Internet
Author: User

Java-developed CMS recommends Magnolia, Infoglue and OpenCms.

PHP CMS recommended Joomla, Drupal.

One, OpenCms 10 installation

Download the latest version of OpenCms in Http://www.opencms.org/en/download/opencms.html, the current version 10.0.0-march 23, 2016. If the download is binary distribution version, after decompression as shown.


Turn on the install.html and install as required. The main steps are as follows:

(1) Install the Java SDK, version 7 or newer

Download Address http://www.oracle.com/technetwork/java/javase/downloads/index.html

Install JDK 7 or 8, note that it is not a JRE and that Java environment variables are properly configured.

(2) Install Tomcat, support Tomcat 6.x, Tomcat 7.x and Tomcat 8.x.

Download Address http://tomcat.apache.org/

There are currently Tomcat 9, compatibility OpenCms has not been tested.

After installation, configure the Catalina_home environment variable, which is the installation path for Tomcat, such as C:\Tomcat 8.0.

The environment variables are tested in the following diagram.


You can also combine Tomcat with the Apache Web server, "because it's important for your site to use Apache to elevate the processing performance of static files in your Web site, such as pictures and other binaries."

(3) Install MySQL

Download the address http://www.mysql.com/downloads/and support MySQL 5.x. Note that the Windows MYSQL system is installed on the C disk and registered with the service%mysql_home%/bin/mysqld-install (prompted in the Setup wizard).


The following modifies the MySQL configuration file My.ini. Find the My.ini location first, get the My.ini path by looking at the corresponding properties-> executable path for the MySQL boot entry for the Windows service. For example:

"C:\Program files\mysql\mysql server 5.7\bin\mysqld.exe"--defaults-file= "C:\ProgramData\MySQL\MySQL server 5.7\ My.ini "MySQL57 that My.ini path is C:\ProgramData\MySQL\MySQL Server 5.7\my.ini. Modify the value in which Max_allowed_packet is above 32M.


(4) Deployment of Opencms.war files.

Copy Opencms.war to Tomcat's/webapps/directory and reboot Tomcat to complete deployment. After the deployment is complete, be aware that Tomcat is turned off and the war package is removed to prevent the restart of Tomcat coverage of installed OpenCms.

(5) Use the Installation Wizard to install OpenCms.

Open the Setup Wizard page http://localhost:8080/opencms/setup/. For database and module configuration, notice that the browser allows the address to play the window.


Select Yes, click Continue>>, and go to the component Detection page. If the following page does not appear, it may be because the Tomcat environment variable is not configured, the MySQL service process is not started, and so on, you need to first start MySQL, restart Tomcat, and then try to install OpenCms.


Next, go to the Database Settings page. Select the MySQL database, the setup Connection (installation connection) is for OpenCms installation only, OpenCms Connection is used for post installation OpenCms work (you can create a separate user for OpenCms in MySQL if you want).


Next, the maximum allowable file hint.


Next, the database and table creation is successful.


Next, the module chooses the default setting.


Next, OpenCms settings, MAC address, URL, OpenCms server name, by default.


Next, do the installation for about 3 minutes.


Next, OpenCms uses the browser configuration prompt. OpenCms Workspace supports Chrome, Firefox, Internet Explorer and Safaribrowsers (IE version or newer). Browsers are required to support JavaScript, allow Windows, and allow cookies.


Next, complete the installation.


Open the OpenCms Welcome page.



If an error occurs during Setup, uninstall Tomcat, remove the OpenCms database, and then reinstall.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.