Skip to content

Perform Preinstallation Computer Setup

mhogeweg edited this page Dec 26, 2012 · 2 revisions

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.

Table of Contents

Update Your System's Software Packages

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

Install Support Software for the Installation

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 New Directories

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

Create the geoportal User

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.
$ sudo adduser geoportal
Accept all defaults, except when asked if you want the new user included in any additional groups, enter wheel. Modify the sudo file by entering:
$ sudo visudo
Uncomment the line that says, %wheel ALL(all) ALL by deleting the # at the beginning of the line. Note: For basic information about vi and how to use it, read An Introduction to vi.
Debian, Ubuntu, and Related For Debian and related, you need to create the geoportal user and add it to the sudo group.
$ sudo adduser geoportal
$ sudo addgroup geoportal sudo
Fedora, CentOS, and Related For Fedora and related, you need to create the user and its password.
$ sudo adduser -g wheel geoportal
$ sudo passwd geoportal
Verify that the wheel group has superuser permissions in the sudo file by entering the following:
$ sudo visudo
If it is not already, uncomment the line that says, %wheel ALL(all) ALL by deleting the # at the beginning of the line. Note: For basic information about vi and how to use it, read An Introduction to vi.

Switch to the geoportal User

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
Clone this wiki locally