Setting up the ArcGIS Server service on startup in a Linux environment

Source: Internet
Author: User

ArcGIS Server is deployed in a Linux system with CentOS 6.5 installed in VMware 11.0, which does not automatically start the service when it is installed, and it is cumbersome to start it manually (as shown) each time it is powered on. This document documents the process of setting up the boot ArcGIS Server service from startup.

1. Log in to Linux as root and copy the boot file (arcgisserver) to the/ETC/RC.D/INIT.D path;

① Execute command: CP/HOME/ARCGIS/ARCGIS/SERVER/FRAMEWORK/ETC/SCRIPTS/ARCGISSERVER/ETC/RC.D/INIT.D

After copying

② Manual Copy

2, switch to the/ETC/RC.D/INIT.D path, and then edit the script, change the content as follows (other services similar):

Add two lines

①# chkconfig:35 99 01
②agshome=/home/arcgis/arcgis/server//arcgis Server installation directory

Command # chkconfig:35 99 01, 35 for the start level, 99 for the system boot priority, the smaller the priority, the higher the first start, 01 for the system to shut down the service priority, the smaller the value the higher the priority, the more the first shutdown.

3. Add the service to the list and set it to boot, then check.

Command: Chkconfig--add arcgisserver//Add to Service list
Chkconfig arcgisserver on//set to boot from

Chkconfig//View the list of services

Reference Documentation:

①http://server.arcgis.com/zh-cn/server/latest/install/linux/silently-install-arcgis-server.htm Official installation configuration

②https://jingyan.baidu.com/article/bea41d43b8a2f4b4c51be6a5.html

③http://blog.csdn.net/smss007/article/details/77581809

Setting up the ArcGIS Server service on startup in a Linux environment

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.