Configuration environment: Install ArcGIS 10_01 on Linux Virtual Machine and yum source configuration. The installation time is: 2012-12-25 installation media: ArcGIS_Server_Ent_Linux_101_129046.iso 1.50G installation account: ags/ags, which belongs to the esri group. Server manager account: arcgis/arcgis, which has been set to start automatically after startup. Ect/hosts configuration: 192.168.147.141 arcgisserver arcgisserver.esri.com virtual machine version: Red Hat Enterprise Linux 5_5 64-bit + ArcGISServer10.1.zip 1.95G Official installation instructions: uninstall.
========================================================== ==================
Install ArcGIS 10 on Linux:
Install ArcGIS 10_01 on Linux to install Linux Virtual Machine and yum source configuration
Install ArcGIS 10_02 on Linux and Oracle11gR2
Install ArcGIS 10_03 on Linux to install ArcSDE 10
Install ArcGIS 10_04 on Linux to install ArcGIS Server 10
Install ArcGIS 10.1 _ 01 on Linux to install ArcGIS Server 10.1
========================================================== ==================
Step 1: Verify system requirements 1. Ensure the system requirements of ArcGIS 10.1 for Server on the official website. Note: 32-bit operating systems are no longer supported! The ArcGIS for Server Installation program can be executed only when the operating system is 64-bit. Step 2: create a user [root @ localhost ~] # Groupadd esri // create an esri Group
[Root @ localhost ~] # Useradd ags-g esri // create the ags user, which belongs to the esri Group
[Root @ localhost ~] # Passwd ags // set the password. Here it is set to the official note of ags: For security reasons, the root account cannot be used as the ArcGIS Server account or the software installation. Note: It is installed in/home/ags/arcgis/server by default, so no authorization is required. If it is installed in another directory, make sure that the ags user has the relevant permissions on the installation directory. Step 3: Check handle restriction dependencies Note: When my colleague pj is installed in linux6.0, CheckPackagePrerequisites. sh cannot be executed. Pj later found that the CheckPackagePrerequisites check script used the lsb_release command to query the linux operating system kernel information. If the system does not install the RedHat-lsb package, the script cannot be executed. Solution: Install the redhat-lsb package. In VMware, connection in VM-> Settings...-> CD/DVD (IDE) uses Use ISO image file to point to the installation file. Mount the iso image, locate the installation file, and execute sh CheckPackagePrerequisites. sh to check whether the system meets the requirements.
[Root @ localhost ~] # Mkdir/opt/cdrom [root @ localhost ~] # Mount/dev/cdrom/mnt/cdrommount: block device/dev/cdrom is write-protected, mounting read-only [root @ localhost ~] # Su-ags // Note: switch to the su user here to ensure that the subsequent handle settings are for the ags user rather than the root user. [Ags @ localhost ~] # Cd/mnt/cdrom/ArcGISServer [ags @ localhost ArcGISServer] # sh CheckPackagePrerequisites. shThis script will check the packages installed on your machine against a list of known packages required by ArcGIS 10.1 for Server. wocould you like to continue? ([Y]/n) yOS found: RedHatEnterpriseServerVersion found: 5.5For ArcGIS for Server to run properly, the file handle limits for the installuser are required to be set to 65535 and the number of processes limits set to25059. The current file handle limit is 1024 and the number of processeslimit is 33024.To set these limits, you'll need to edit the/etc/security/limits. conffile as super user and add Following lines: ags soft nofile 65535 // note that this is for ags users. Ags hard nofile 65535ags soft nproc 25059ags hard nproc 25059In order for the new values to take effect, you'll need to log out and then logback in as the ags user. to verify, run: ulimit-HaFor additional details, see the ArcGIS 10.1 for Server installation guide.
The above prompt is about handle restrictions (For details, refer to the official instructions ). Modify the/etc/security/limits. conf file under the root user as required (corresponding command: [root @ localhost ~] Vi/etc/security/limits. conf), add the following content: ags soft nofile 65535
Ags hard nofile 65535
Ags soft nproc 25059
Ags hard nproc 25059 and then exit the root user, and then log on again to make the change take effect. Run CheckPackagePrerequisites again to check the dependencies. The following message is displayed:
Now checking this machine for the following packages:glibc libxml2 freetype fontconfig mesa-libGL mesa-libGLU libXtst libXext libX11 libXi libXdmcp libXau compat-libf2c-34[Missing Packages]compat-libf2c-34
Configure the yum source by referring to "Install arcgis 10_01 create virtual machine on linux", install the missing package, and run CheckPackagePrerequisites again to ensure that all dependencies have been installed. Installation Package command: [root @ localhost ~] # Yum install compat-libf2c-34. Note: If you configure a local yum source, you need to switch back and forth between the linux installation disc and the arcgis server installation disc. Run the following command to uninstall an iso image: [root @ localhost ~] # Umount/mnt/cdom, Unmount and remount the required iso image. Step 4: Modify/etc/hosts1. use [root @ localhost ~] # The IP address of the ifconfig command machine. The local machine is 192.168.147.1412. Add 192.168.147.141 arcgisserver arcgisserver.esri.com to the/etc/hosts file and use arcgisserver as the machine name Editing Command [root @ localhost ~] # Vi/etc/hosts remarks: We recommend that you use the method provided on the official website to place arcgisserver before arcgisserver.esri.com. 3. Change the Host Name: [root @ localhost ~] # Hostname arcgisserver: log out of the terminal and restart the terminal to [root @ arcgisserver ~]. Note: As to whether the above content must be added to the hosts file, the author tried to install arcgisserver smoothly, but there will be an error when creating the site. After the installation is complete, add the IP settings to/etc/hosts. The author's skill is not strong enough. This part of content will be updated after the mechanism is clarified. I will discuss the problem of IP address replacement in a later article. I found that there is no problem with IP addresses in the NAT and Host-only modes. If an error occurs in the bridge mode, I will be prompted: failed to configure the server machine 'arcgisserver '. port assignment failed as it exceeds the upper bound set on the machine. step 5: Install ArcGIS Server
[Root @ arcgisserver ~] # Xhost ++ // you need to execute the command. Otherwise, the user interface will be destroyed. Access control disabled, clients can connect from any host [root @ arcgisserver ~] # Su-ags // switch to the ags user [ags @ arcgisserver ~] $ Cd/mnt/cdrom/ArcGISServer // locate the installation file directory [ags @ arcgisserver ArcGISServer] $./Setup // execute the installation
The installation process is very simple, and no modification is allowed. After the installation is complete, the service is automatically started and the arcgis server manager is opened in the browser. However, the Firefox browser that comes with 5.5 is not supported. You need to upgrade or install a more advanced version.
Step 6: Create An ArcGIS Server site. After correctly upgrading or installing the browser, enter http: // arcgisserver: 6080/arcgis/manager/to open the arcgis server manager. Then, create a site step by step. The operation is simple. In this process, the user and password (arcgis/arcgis) of the website administrator will be created, and the distinction between the account of the website administrator and the account of the operating system will be made, for more information, see <ArcGIS 10.1 for Server account management>. Official Note: Only ArcGIS Server can recognize this name and password. This account is not an operating system account and is managed separately from the user account in your user storage. The primary site administrator has unlimited access to the ArcGIS Server site. This account is usually used to create an ArcGIS Server site and configure and manage security. Do not confuse the master site administrator account with the ArcGIS Server account provided during ArcGIS Server installation.