-
Notifications
You must be signed in to change notification settings - Fork 149
Perform Preinstallation Computer Setup
Prior to installing Esri Geoportal Server and its components, you need to update your syustem's software packages; install some support programs; create some new directories; and create the geoportal user, which will perform the installation process.
This tutorial relies exclusively on the Linux Bash console. Opening the Bash console varies greatly from distribution to distribution. Some, such as Arch Linux, don't include a graphical user interface (GUI) and log in directly to the console by default. However, most distributions do include a default GUI, such as KDE or Gnome. Access to the console is usually provided in a System, Utilities, or Accessories menu or folder. Refer to the web help for your specific distribution to learn how to open the Bash console.
Updating your system's existing software packages from the command line depends on your specific distribution of Linux. Here are the most common:
Arch Linux and Related | pacman -Syu |
Debian, Ubuntu, and Related | sudo apt-get upgrade |
Fedora, CentOS, and Related | sudo yum upgrade |
Follow the below table to install additional required software.
Distribution | Arch Linux | CentOS/RHEL | Fedora | Debian/Ubuntu |
---|---|---|---|---|
Installation Command | pacman -S <program name> | sudo yum install <program name> | sudo apt-get install <program name> | |
Program Names | sudo | gcc | gcc | libreadline6-dev |
gcc | readline-devel | readline-devel | zlib1g-dev | |
make | zlib-devel | zlib-devel | openjdk-6-jre | |
unzip | make | make | ||
openjdk6 | java-1.6.0-openjdk | chkconfig | ||
java-1.6.0-openjdk | ||||
wget |
Depending on your distribution of Linux, some additional software may be required.
Create the geoportal, lucene, and assertion directories by entering the following:
- $ sudo mkdir /usr/local/etc/geoportal
- $ sudo mkdir /usr/local/etc/lucene
- $ sudo mkdir /usr/local/etc/lucene/assertion
Arch Linux and Related |
For Arch Linux and related, you need to create the user, add it to the wheel group, and make the wheel group a superuser group.
|
---|---|
Debian, Ubuntu, and Related |
For Debian and related, you need to create the geoportal user and add it to the sudo group.
|
Fedora, CentOS, and Related |
For Fedora and related, you need to create the user and its password.
|
You will perform the rest of the installation, except where noted, as the geoportal user. Switch to the geoportal user by entering the following:
- $ su geoportal
Next Step: Set Up Systemwide Environment Variables
How to Set Up an Esri Geoportal Server on Linux | Perform Preinstallation Computer Setup | Set Up Systemwide Environment Variables | Install PostgreSQL 9.1.2 | Install Apache Tomcat 6 | Install Esri Geoportal Server | Configure geoportal User and Schema in the PostgreSQL Database | Deploy the Geoportal Web Application | Configure the gpt.xml File | Install the JDBC .jar Files | Log In to the Geoportal | Register ArcGIS for Server with the Geoportal