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
- Open a command Prompt window.
- In this command Prompt window, enter
set
and press ENTER.
- 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
.
如果找不到JAVA_HOME,或指向错误的目录,参看
Set the JAVA_HOME environment variable. If everything is OK, go to download Magnolia CMS.
Setting Java_home Environment variables
- Right -click My Computer and select properties .
- Open the Advanced tab.
(in Windows 7, right-click the computer and select Advanced system Settings , then select Environment variables.) )
如果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.
- Set
JAVA_HOME
the value for your JDK installation path, such as C:\Program Files (x86)\java\jdk1.7.0_11
.
- 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。
- Click OK .
- 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
-
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 |
-
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:
在浏览器里打开http://localhost:8080。
- Click the Run the Web update on the author instance link.
The list of modules that need to be updated is displayed.
- Click Start Install.
The module was updated.
- Click Start up Magnolia.
Repeat this update on the public instance.
在浏览器里打开http://localhost:8080。
- Click the Run the Web update on the public instance link.
The list of modules that need to be updated is displayed.
- Click Start Install.
The module was updated.
- Click Start up Magnolia.
Login
- Open in Browser
http://localhost:8080/magnoliaAuthor/.magnolia/admincentral。
- 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)