Enterprise Edition on Windows
- Check the prerequisites
- Java Development Environment (JDK)
- Check JAVA_HOME environment variable
- Set JAVA_HOME environment variable
- Register for license key
- Download, install and run Magnolia CMS
- Run the Web update
- Register
- Log in to author instance
- Troubleshooting
Check the prerequisites
Java Development Environment (JDK)
Magnolia CMS needs a Java Development Environment (JDK) on Windows. Use the Java Tester to check if you already have Java. The Java Runtime Environment (JRE) is not adequate because the Tomcat application server does not recognize it.What is the difference? JRE is an implementation of the Java Virtual Machine which actually executes Java programs. JDK is a bundle of software that you can use to develop Java based applications.
If you don't have JDK yet, download and install it from http://java.sun.com/javase/downloads/index.jsp. By default JDK is installed in C:\Program Files (x86)\java\jdk<version>. You can choose another location.
Check JAVA_HOME environment variable
- Open a command prompt window.
- At the command prompt, type
setand press ENTER. - Find
JAVA_HOMEin the command output and verify that it matches the path to your JDK installation directory, for exampleC:\Program Files (x86)\java\jre6k. - If
JAVA_HOMEis missing or points to the wrong directory, see Set JAVA_HOME environment variable. If everything is OK, go to Download Magnolia CMS.
Set JAVA_HOME environment variable
- Right-click My Computer and select Properties.
- Go to the Advanced tab.
(In Windows 7, right-click Computer and select Advanced System Settings, then Environment variables.) - If the
JAVA_HOMEenvironment variable does not exist in User variables or System variables, create it: - User variables apply to the currently signed-in user only. Create
JAVA_HOMEhere if you want it to apply only to the currently logged in user. These variables take precedence over system variables. - System variables apply to all users. Create
JAVA_HOMEhere if you want it to apply to all users. You must be an administrator to modify a system environment variable.

- Set the value of
JAVA_HOMEto the path of your JRE installation directory, for exampleC:\Program Files (x86)\java\jre6. - Optional step: Add the Magnolia CMS
bindirectory to thePATHvariable, for exampleC:\Program Files\magnolia\apache-tomcat-5.5.27\bin. Setting thePATHallows you to issue the Magnolia CMSstartandstopcommands from anywhere without navigating to the installation directory first. Separate the path from existing paths with a semicolon ( ; ). If you do this, you also need to addCATALINA_HOMEto environment variables. Set the value ofCATALINA_HOMEto the Tomcat installation directory, for exampleC:\Program Files\magnolia\apache-tomcat-5.5.27 - Click OK.
- Test that the variable is found and has the correct value. You need to open a new command prompt since environment variables are session specific.
Register for license key
Magnolia CMS Enterprise Edition is available for a free 60-day trial. To get a license key you must register.
- Go to http://registration.magnolia-cms.com/.
- Fill the form with your details. A license key will be sent to the email address you provide.
Download, install and run Magnolia CMS
Download
- Go to http://files.magnolia-cms.com/.
- Click the latest Magnolia CMS version.
- Download the "Installer for Bundle with Tomcat" JAR file. The file name depends on the release, for example
magnolia-enterprise-installer-4.2.3.jar.
Install
- Double-click the JAR file you downloaded. The installer starts.
- Select an installation language and click OK.
- Click Next.
- Accept the license terms and click Next.
- Optional: Configure Magnolia CMS to use a Java Runtime Environment other than your default JRE. The default is usually fine. Click Next.
- Click Next.
- Select the installation path. Default is
C:\Program Files\MagnoliaEnterpriseEdition. - Click Next. Installation will start.
- Click Next.
- Click Done.
C:\Program Files
MagnoliaEnterpriseEdition
add-ons
apache-tomcat
bin
common
conf
logs
server
shared
webapps
MagnoliaAuthor
MagnoliaPublic
ROOT
Run
Use the Start and Stop icons that the installer adds on your desktop or Programs menu.
You can also start Magnolia CMS using the command line.
- Open a command prompt and go to the Magnolia CMS installation directory.
cd C:\Program Files\magnolia-4.2.3\apache-tomcat-5.5.27\bin - Start Magnolia CMS
magnolia_control.bat start
INFO: Server startup in 12345 ms
To stop Magnolia CMS, type ./magnolia_control.bat stop and press ENTER.
Run the Web update
- Open a browser and go to
http://localhost:8080. - Click the Run the Web update on the author instance link.
A list of modules that need updating is displayed. - Click Start install.
The modules are updated. - Click Start up Magnolia.
- Open a browser and go to
http://localhost:8080. - Click the Run the Web update on the public instance link.
A list of modules that need updating is displayed. - Click Start install.
The modules are updated. - Click Start up Magnolia.
Register
Now you need the license key that was sent to your email address. Copy only the key string part from the message. Fill in the same email address that you used when registering.
Before you paste the license key make sure that it is a continuous string of characters with no spaces or line breaks. If you have any problems you can paste the key to Notepad or another plain text editor first to strip out any formatting.
Log in to author instance
At the login page, sign in with:
- Username:
superuser - Password:
superuser
Superuser is a system administration account that has permission to every function. End users should not use this account. See Users for instructions how to create new user accounts and Default users for accounts that you can use for testing right away.
The AdminCentral is displayed.