Du viser støtteinnhold for versjon:
- 6.4
- 6.2
- Eldre versjoner
This section describes the options available when installing a standalone AEM instance. You can also read Storage Elements for more information on choosing the backend storage type after freshly installing AEM 6.
The default port for AEM is 4502. If that port is not available or already in use, Quickstart automatically configures itself to use the first available port number as follows: 4502, 8080, 8081, 8082, 8083, 8084, 8085, 8888, 9362, <random>.
You can also set the port number by renaming the quickstart jar file, so that the file name includes the port number; for example, cq5-publish-p4503.jar or cq5-author-p6754.jar.
There are various rules to be followed when renaming the quickstart jar file:
- When you rename the file, it must start with cq; as in cq5-publish-p4503.jar.
- It is recommended that you always prefix the port number with -p; as in cq5-publish-p4503.jar or cq5-author-p6754.jar.
Merk:
This is to ensure that you do not need to worry about fulfiling the rules used for extracting the port number:
- the port number must be 4 or 5 digits
- these digits must come after a dash
- if there are any other digits in the filename, then the port number must be prefixed with -p
- the "cq5" prefix at the beginning of the filename is ignored
Merk:
You can also change the port number by using the -port option in the start command.
Run modes allow you to tune your AEM instance for a specific purpose; for example, author or publish, test, development, intranet etc. These modes also allow you to control the use of sample content. This sample content is defined before the quickstart is built and can include packages, configurations, etc. This can be particularly useful for production-ready installations when you want to keep your installation lean and without sample content. For more information see:
By default the folder crx-quickstart/install is watched for files.
This folder does not exist, but simply can be created at runtime.
If a bundle, configuration or content package is put into this directory, it is automatically picked up and installed. If it's removed, it gets uninstalled.
It is another way to put bundles, content packages or configurations to the repository.
This is especially interesting for several use cases:
- During development, it might be easier to put something into the file system.
- If something goes wrong, the web console and the repository are not reachable. With this you can put additional bundles into this directory and they should get installed.
- The crx-quickstart/install folder can be created before quickstart is started, and additional packages can be put there.
Merk:
See also How to install CRX packages automatically on server startup for examples.
Merk:
Be sure to perform the following procedure while logged on as Administrator or start/run these steps using the Run As Administrator context-menu selection.
Being logged on as a user with administrator privileges is insufficient. If you are not logged on as Administrator when completing these steps you receive Access Denied errors.
-
If you are configuring a 64-bit Windows server, replace all instances of prunsrv with one of the following commands, according to your operating system:
- prunsrv_amd64
- prunsrv_ia64
This command invokes the appropriate script that starts the Windows service daemon in 64-bit Java instead of 32-bit Java.
-
Open Command Prompt, change the current directory to the crx-quickstart/opt/helpers folder of the AEM installation, and enter the following command to create the service:
instsrv.bat cq5
To verify that the service is created, open Services in the Administrative Tools control panel or type start services.msc in Command Prompt. The cq5 service appears in the list.
Merk:
The property values in the instsrv.bat file are used when creating the Windows service. If you edit the property values in instsrv.bat, you must uninstall and then reinstall the service.
To uninstall the service, either click Stop in the Services control panel or in the command line, navigate to the folder and type instsrv.bat -uninstall cq5. The service gets removed from the list in the Services control panel or from the list in the command line when you type net start.
The default location of the temporary folder of the java machine is /tmp. AEM uses this folder too, for example when building packages.
If you want to change the location of the temporary folder (for example, if you need a directory with more free space) then define a <new-tmp-path> by adding the JVM parameter:
-Djava.io.tmpdir="/<new-tmp-path>"
to either:
- the server startup command line
- the CQ_JVM_OPTS environment parameter in the serverctl or start script
Further options and renaming conventions are described in the Quickstart help file, which is available through the –help option. To access the help, type:
Loading quickstart properties: default Loading quickstart properties: instance Setting properties from filename '/Users/Desktop/AEM/cq-quickstart-5.6.0.jar' -------------------------------------------------------------------------------- Adobe Experience Manager Quickstart (build 20130129) -------------------------------------------------------------------------------- Usage: Use these options on the Quickstart command line. -------------------------------------------------------------------------------- -help (--help,-h) Show this help message -quickstart.server.port (-p,-port) <port> Set server port number -contextpath (-c,-org.apache.felix.http.context_path) <contextpath> Set context path -debug <port> Enable Java Debugging on port number; forces forking -gui Show GUI if running on a terminal -nobrowser (-quickstart.nobrowser) Do not open browser at startup -unpack Unpack installation files only, do not start the server (implies -verbose) -v (-verbose) Do not redirect stdout/stderr to files and do not close stdin -nofork Do not fork the JVM, even if not running on a console -fork Force forking the JVM if running on a console, using recommended default memory settings for the forked JVM. -forkargs <args> [<args> ...] Additional arguments for the forked JVM, defaults to '-Xmx1024m -XX:MaxPermSize=256m '. Use -- to specify values starting with -, example: '-forkargs -- -server' -a (--interface) <interface> Optional IP address (interface) to bind to -pt <string> Process type (main/fork) - do not use directly, used when forking a process -r <string> [<string> [<string> [<string> [<string> [<string> [<string> [<string> [<string> [<string>]]]]]]]]] Runmode(s) - Use this to define the run mode(s) -b <string> Base folder - defines the path under which the quickstart work folder is created -low-mem-action <string> Low memory action - what to do if memory is insufficient at startup -use-control-port Start a control port -ll <level> Define launchpad log level (1 = error...4 = debug) -------------------------------------------------------------------------------- Quickstart filename options -------------------------------------------------------------------------------- Usage: Rename the jar file, including one of the patterns shown below, to set the corresponding option. Command-line options have priority on these filename patterns. -------------------------------------------------------------------------------- -NNNN Include -NNNN.jar or -pNNNN in the renamed jar filename to run on port NNNN, for example: quickstart-8085.jar -nobrowser Include -nobrowser in the renamed jar filename to avoid opening the browser at startup, example: quickstart-nobrowser-8085.jar -publish Include -publish in the renamed jar filename to run cq5 in "publish" mode, example: cq5-publish-7502.jar -------------------------------------------------------------------------------- The license.properties file -------------------------------------------------------------------------------- The license.properties file stores licensing information, created from the licensing form displayed on first startup and stored in the folder from where Quickstart is run. -------------------------------------------------------------------------------- Log files -------------------------------------------------------------------------------- Once Quickstart has been unpacked and started, log files can be found under ./crx-quickstart/logs. --------------------------------------------------------------------------------
When installing AEM on an Amazon Elastic Compute Cloud (EC2) instance, if you install both author and publish on the EC2 instance, the Author instance is installed correctly by following the procedure on Installing Instances of AEM Manager; however, the Publish instance becomes Author.
Before installing the Publish instance on your EC2 environment, do the following:
The following links can be used to verify that your installation is operational (all examples are on the basis that the instance is running on port 8080 of the localhost, that CRX is installed under /crx and Launchpad under /):
- http://localhost:8080/crx/de
The CRXDE Lite console. - http://localhost:8080/system/console
The Web Console.
Although there are many possibilities to configure AEM WCM, certain actions should be taken, or at least reviewed immediately after installation:
Consult the Security Checklist for tasks required to ensure that your system remains secure.
Review the list of default users and groups which are installed with AEM WCM. Check whether you want to take action on any other accounts - see Security and User Administration for further details.
- CRXDE Lite - used to access and manage the repository
- Web Console - used to manage or configure the OSGi bundles (also known as the OSGi Console)
To open CRXDE Lite you can select CRXDE Lite from the welcome screen or use your browser to navigate to
http://<host>:<port>/crx/de/index.jsp
For example:
http://localhost:4502/crx/de/index.jsp

To access the Adobe CQ Web console you can select OSGi Console from the welcome screen or use your browser to navigate to
http://<host>:<port>/system/console
For example:
http://localhost:4502/system/console
or for the Bundles page
http://localhost:4502/system/console/bundles

See OSGi Configuration with the Web Console for further details.
Because AEM installs into a single directory, there is no need for an uninstall utility. Uninstalling can be as simple as deleting the entire installation directory, although how you uninstall AEM depends on what you want to achieve and what persistent storage you use.
If persistent storage is embedded in the installation directory, for example, in the default TarPM installation, deleting folders removes data as well.
Merk:
Adobe highly recommends that you back up your repository before deleting AEM. If you delete the entire <cq-installation-directory>, you will delete the repository. To keep the repository data before deleting, move or copy the <cq-installation-directory>/crx-quickstart/repository folder somewhere else before deleting the other folders.