Installing ArcGIS for Server silently
The following steps guide you through the ArcGIS for Server silent installation process on one machine. Performing a silent installation of ArcGIS for Server doesn't require an X display or user interaction during the installation process. If you're installing ArcGIS for Server on multiple machines, see the instructions in Installing ArcGIS for Server on multiple machines.
![Note Note](rsrc/note.png)
Installing 10.1 SP1? For more information, see About ArcGIS 10.1 SP1 for Server.
How to prepare to install ArcGIS for Server
- Obtain an authorization file for the machine on which you're installing ArcGIS for Server.
- Verify that your site meets the system requirements. For more information, see System requirements.
- Make sure the user has full permissions to the ArcGIS for Server installation directory. Group users and all others must have at least execute permissions to the ArcGIS for Server installation directory.
- Navigate to the directory where the ArcGIS for Server tar file was uncompressed, or insert the ArcGIS for Server media into the appropriate drive and browse for Setup to launch the setup program.
![Note Note](rsrc/note.png)
You cannot install ArcGIS for Server on a shared network directory (NFS mounted folder). The directory must be local on the target system.
How to install ArcGIS for Server silently
The instructions below describe how to install ArcGIS for Server silently from the command line. For instructions on installing ArcGIS for Server from the setup user interface, see Installing ArcGIS for Server on one machine.
![Tip Tip](rsrc/tip.png)
The installation mode that you choose will determine the default uninstallation mode. For example, if you choose to install silently from the command line, the uninstallation will default to uninstalling silently from the command line.
- Before beginning the installation, read the license agreement located at <CD_ROOT or untar directory>/Documentation/ServerLicense.pdf and accept the terms.
- Run the setup silently and authorize by passing an authorization (.ecp) or a provisioning (.prvc) file. See sample syntax shown below:
<CD_ROOT or untar directory>/Setup -m silent -l yes -a <fullpath to .ecp or .prvc file>
Usage: Setup [Options]
Option
Description
-m; --mode MODE
Optional. Defaults to GUI.
MODE is one of silent, console, or gui.
-l; --license-agreement CHOICE
Required for silent mode. CHOICE is either Yes or No.
Yes indicates that you have read and agreed to the Esri License Agreement (E204, E300). Visit Licensing Terms of Use to read the license agreement.
-a; --authorization-file FULL_PATH_TO_AUTHORIZATION_FILE or FULL_PATH_TO_PROVISIONING_FILE
Optional. If this option is not used, you will need to authorize the software after installation.
FULL_PATH_TO_AUTHORIZATION_FILE is the full, absolute path to the authorization (.ecp) file provided by Esri.
FULL_PATH_TO_PROVISIONING_FILE is the full, absolute path to the provisioning (.prvc) file provided by Esri.
-d; --directory DIRECTORY
Optional. By default, ArcGIS for Server is installed to your $HOME directory. DIRECTORY specifies a different installation directory.
The path /arcgis/server/ is appended to the installation directory.
The name of the installation directory should be lowercase. The samples and data bundled with the installation require the data path to be lowercase.
-v; --verbose
Installer runs in verbose mode.
-h; --help
Displays command line help and exits.
-e; --examples
Displays usage examples of these options and exits.
Note:
The authorization tool can also be launched silently after ArcGIS for Server has been installed. For a complete list of available parameters, run the authorization script with the help parameter as shown below (based on default install location):
${HOME}/arcgis/server/tools/authorizeSoftware --help
- Once the installation finishes, the installation status message appears. If the installation completed successfully, you will be able to access ArcGIS Server Manager from Firefox or any supported web browser by navigating to http://<server name>:6080/arcgis/manager. See the ArcGIS Server help for more information.
- Configure ArcGIS for Server to be started with the operating system by following these instructions:
- Switch to root user.
- Copy <ArcGIS for Server installation directory>/framework/etc/scripts/arcgisserver shell script to the appropriate supported Linux distribution-based locations provided below:
- RHEL: /etc/rc.d/init.d/
- SUSE: /etc/init.d/
- Change directory to the applicable init.d folder and check the arcgisserver script to make sure that root has at least read and execute permissions.
- Edit the arcgisserver script as follows:
Update the agshome variable to the ArcGIS for Server installation directory, for example, /home/username/arcgis/server.
For RHEL only, add the line below just before # Description: ArcGIS Server Service:
# chkconfig: 35 99 01
Save the edits to the arcgisserver script.
- Still as root user, run the following command to automatically create the links in /etc/rc*.d with the appropriate run levels:
- RHEL:
$ chkconfig --add arcgisserver $ chkconfig arcgisserver on
- SUSE:
$ insserv arcgisserver $ chkconfig arcgisserver on
- RHEL:
- End the root user session.
- Reboot the operating system and verify that ArcGIS for Server restarts properly.
- If you are preparing your site for a production deployment, you should install the ArcGIS Web Adaptor. The Web Adaptor provides a link between your enterprise web server and your ArcGIS Server site. It allows you to choose the port, address, and authentication settings that you want to use for incoming requests. It also prevents outside users from accessing Manager and the Administrator Directory. For more information, see About the ArcGIS Web Adaptor.
- Most of your work publishing services occurs in ArcGIS for Desktop, where you create your maps, globes, geodatabases, and so forth. To publish a service directly from ArcGIS for Desktop, define a connection to your server using ArcCatalog or the Catalog window in ArcMap. Once you've done this, the connection information is saved on your machine and you can then reference it whenever you want to publish a service. If you make the connection with administrative privileges, you can also perform some server administration functions from ArcGIS for Desktop. See Making an administrative connection to ArcGIS Server in ArcGIS for Desktop for instructions.
- Ensure that ArcGIS for Server can access all the data referenced by its services. For more information, see Making your data accessible to ArcGIS Server.
- With a connection to the server established, you can begin publishing your GIS resources as services. To add a service, follow the directions in How to publish a service.
- Once you add services to your GIS server, you can use them in many types of applications. These include applications that you create with the ArcGIS web APIs, or preconstructed web applications such as ArcGIS Explorer Online, the ArcGIS.com map viewer, or the ArcGIS viewers for Flex and Silverlight. Alternatively, you can view services in desktop-based applications, such as ArcGIS Explorer, ArcMap, or ArcGlobe. Mobile devices, such as the iPhone, Android devices, and Windows Phone, can also use your GIS services. See About creating web GIS applications to get started.