...
Code Block | ||
---|---|---|
| ||
sudo cp geoserver.war /var/lib/tomcat6/webapps/ |
...
4. Access web page for geoserver admin
...
at http://[your_server]/geoserver and Login
The inital access to the admin page will initialize the setting of geoserver. Therefore you have to access it at least once.
4. Login with default admin pw
u: admin
p: geoserver
5. Follow the security instructions at the admin page
Here are example instrucitons:
- open /var/lib/tomcat6/webapps/geoserver/data/security/masterpw.info
- make a note of the master pw from the file and delete the file
- delete /var/lib/tomcat6/webapps/geoserver/data/security/users.properties.old-
6. Change the password of "admin" user
- go to "Security/users, groups, roles" - "users/groups tab"
...
- click "admin" user
...
- change the password and save
...
7. Clean the example layers at geoserver
...
- go to Workspaces
...
- select all workspaces
...
- remove selected workspace
...
8. Add new workspace for medici with the following information
Name: medici
Namespace URI: http://medici.ncsa.illinois.edu
Default workspace: true
Settings: Enabled
Services: Check WMS
Setting up Geoserver Extractor
The following software are needed for the Geoserver Extractor. Also it needs the "identify" command from Magik. Since Image Extractor is usually installed as default, we assume that it's already installed.
1. Install GDAL libraries
Code Block | ||||
---|---|---|---|---|
| ||||
sudo apt-get install python-software-properties sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable sudo apt-get update sudo apt-get install gdal-bin sudo apt-get install python-gdal sudo apt-get install proj sudo apt-get install libgdal-dev |
Geoserver (http://geoserver.org)
...
2. Update the extractor configuration
- Edit /home/medici/extractor/server.properties with the following info:
Code Block | ||
---|---|---|
| ||
geoserver.server=http://lowermississippi.ncsa.illinois.edu/geoserver
geoserver.owsserver=http://lowermississippi.ncsa.illinois.edu/geoserver/wms
geoserver.username=admin
geoserver.password=[password] |
3. Restart Extractor Service
Code Block | ||
---|---|---|
| ||
sudo /etc/init.d/medici-extractor restart |
...