Loading a Package at the Command Line
Loading a package at the command line is useful for issuing updated publications to existing Content Delivery instances, batch-loading packages, or performing testing independent of the installer program.
Procedure
- If you have received the package as a ZIP file, unzip the contents to any directory.
- Navigate to the directory where Content Delivery is installed.
- At a command prompt, type the following command: loaddb.{sh, bat}-Dlc.host=host_name -Dlc.port=port_number -Dlc.context=context -Dlc.package=package_name.pac loadpac where:
Option Description sh, bat sh for Solaris or Linux, bat for Windows. host_name Host name of the Content Delivery instance to upload the package to. port_number Port number on which the Content Delivery instance is running. context Application name (by default, /LiveContent) in the Content Delivery Web server. package_name Name and path of the package to load. To load a package elsewhere on your network, include the path to the package, for example, \\neptune\NewContent\help-v3-2010-11-18T1336.pac To load all the packages in a directory, specify just the directory path and not the package name. For example, C:\July_Packages.