Web content Management System Magnolia installation and use-mining excellent architecture (2)

Source: Internet
Author: User
Tags magnolia cms

Install the Community Edition on WindowsTomcat Integrated version

The Magnolia CMS Community version is free of charge and does not require any license under the terms of the GNU General Public License Agreement (3rd edition) (this License agreement allows you to redistribute and modify the software under specific terms and conditions). It is important to read this authorization to understand your rights and obligations.

    • Pre-conditions
      • Java Development environment
      • Check Java_home environment variables
      • Setting Java_home Environment variables
    • Download
    • Installation
    • Start
    • Update
    • Login
    • Fault Handling

Prerequisites Java Development environment

The Magnolia CMS requires a Java Development toolkit (Java Development kit,jdk) on Windows. Use the Java tester to check if the system has Java installed. The Java Live environment (Java Runtime ENVIRONMENT,JRE) cannot be used because it cannot be recognized by the Tomcat application server.

What's the difference?

    • The JRE is a Java Virtual machine implementation that is used to actually execute Java programs.
    • The JDK is a software package that you can use to develop Java-based applications.

If you do not have a JDK, download and install it from http://java.sun.com/javase/downloads/index.jsp. By default, the JDK is installed C:\Program Files (x86)\java\jdk<version> under the path. You can also choose a different location.

Check Java_home environment variables
    1. Open a command Prompt window.
    2. In this command Prompt window, enter set and press ENTER.
    3. Locate it in the displayed results JAVA_HOME , and verify that it matches your JRE installation directory, such as C:\Program Files (x86)\java\jre6 .
    4. 如果找不到JAVA_HOME,或指向错误的目录,参看Set the JAVA_HOME environment variable. If everything is OK, go to download Magnolia CMS.
Setting Java_home Environment variables
  1. Right -click My Computer and select properties .
  2. Open the Advanced tab.
    (in Windows 7, right-click the computer and select Advanced system Settings , then select Environment variables.) )
  3. 如果JAVA_HOME环境变量在用户变量or the system variable does not exist, you can create it this way:
    • The user variable applies only to the currently logged-on user. If you want to JAVA_HOME apply only to the currently logged-in user, create it here. These variables take precedence over system variables.
    • System Variables apply to all users. If you want to JAVA_HOME apply to all users, create it here. You must modify the system environment variables as an administrator.
  4. Set JAVA_HOME the value for your JDK installation path, such as C:\Program Files (x86)\java\jdk1.7.0_11 .
  5. Optional steps: For your convenience to start the Magnolia CMS start and stop commands (no need to enter the installation directory), you can PATH add Magnolia cms directory in the variable, bin such as C:\Program Files\magnolia\apache-tomcat-5.5.27\bin , using the English semicolon (; ) to separate the path from the existing path. Also, you need to add the environment variable CATALINA_HOME and set its value to the Tomcat installation directory, asC:\Program Files\magnolia\apache-tomcat-5.5.27。
  6. Click OK .
  7. Open a new command Prompt window (this is because each dialog has a specific environment variable) to test that the system can find the environment variable and set the correct value.

You can also use batch file Settings JAVA_HOME . Add the following line of code to the /apache-tomcat/bin/magnolia_control.bat。set command to run automatically at Magnolia startup, create an JAVA_HOME environment variable, and set its value to the JDK directory.

set JAVA_HOME=C:\Program Files (x86)\java\jdk1.7.0_11
Download

Download the Magnolia CMS Tomcat compressed file package from the Nexus. The file name depends on the published version, for example magnolia-tomcat-bundle-5.0-tomcat-bundle.zip . The latest version.

Installation

Unzip the zip file to a C:\Program Files different directory on your computer.

The folder structure of the export is as follows:

magnolia-5.0   add-ons   apache-tomcat      bin      conf      logs      webapps         MagnoliaAuthor         MagnoliaPublic         ROOT

Start
    1. Open a command Prompt window and go to the Magnolia CMS installation directory. To do this, type in the command Prompt window:

      cd C:\Program files\magnolia- 4.2 3 \apache-tomcat- 5.5 27 \bin
    2. Enter Magnolia_control.bat start and press ENTER. Magnolia reports the start-up message in a new Tomcat window. If the startup fails, you can find the reason in the report. Refer to Troubleshooting to resolve the issue. In a successful boot, the last row is displayed:
      info:server Startup in 12345 Ms
Tips

To stop Magnolia CMS, enter magnolia_control.bat stop and press ENTER.

Update

To run a network update:

    1. 在浏览器里打开http://localhost:8080。
    2. Click the Run the Web update on the author instance link.
      The list of modules that need to be updated is displayed.
    3. Click Start Install.
      The module was updated.
    4. Click Start up Magnolia.

Repeat this update on the public instance.

    1. 在浏览器里打开http://localhost:8080。
    2. Click the Run the Web update on the public instance link.
      The list of modules that need to be updated is displayed.
    3. Click Start Install.
      The module was updated.
    4. Click Start up Magnolia.

Login

    1. Open in Browserhttp://localhost:8080/magnoliaAuthor/.magnolia/admincentral。
    2. On the login page, log in with the following user name and password:
      • 用户名:superuser
      • Password:superuser

The Application Launcher is displayed.

Information

Superuser is a system administrator account that has permissions for each feature. The account should not be used by end users. See the user's instructions on how to create a user account, and the default user account you can use to test immediately.

Fault Handling

You got a problem? See Known issues.

Web content Management System Magnolia installation and use-mining excellent architecture (2)

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.