Creating a New Data DirectoryΒΆ
The easiest way to create a new data directory is to copy one that comes with a standard GeoServer installation.
If GeoServer is running in Standalone mode the data directory is located at <installation root>/data_dir
.
Platform | Example Location |
---|---|
Windows | %PROGRAMDATA%\Boundless\OpenGeo\geoserver |
Windows XP | %PROGRAMDATA%\Boundless\OpenGeo\geoserver |
Mac OSX | ~/Library/ApplicationSupport/GeoServer/data_dir |
If GeoServer is running as Web Archive mode inside of a servlet container, the data directory is located at <web application root>/data
.
Platform | Example Location |
---|---|
Linux | /var/lib/opengeo/geoserver |
Once the data directory has been found copy it to a new external location. To point a GeoServer instance at the new data directory proceed to the next section Setting the Data Directory.