win_installer.rst 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. .. _installation_windows_installer:
  2. Windows installer
  3. =================
  4. The Windows installer provides an easy way to set up GeoServer on your system, as it requires no configuration files to be edited or command line settings.
  5. #. Make sure you have a Java Runtime Environment (JRE) installed on your system. GeoServer requires a **Java 11** or **Java 17** environment, as provided by `Adoptium <https://adoptium.net>`__ Windows installers.
  6. .. note:: For more information about Java and GeoServer, please see the section on :ref:`production_java`.
  7. #. Navigate to the :website:`GeoServer Download page <download>`.
  8. #. Select the version of GeoServer that you wish to download. If you're not sure, select :website:`Stable <release/stable>` release.
  9. .. only:: snapshot
  10. This documentation covers GeoServer |version|-SNAPSHOT which is under development and
  11. is available as a :website:`Nightly <release/main>` release.
  12. Nightly releases are used to
  13. test out try out new features and test community modules and do not provide a windows
  14. installer. When GeoServer |version|.0 is released a windows installer will be provided.
  15. .. only:: not snapshot
  16. These instructions are for GeoServer |release|.
  17. #. Click the link for the :guilabel:`Windows Installer`.
  18. .. figure:: images/win_download.png
  19. Downloading the Windows installer
  20. #. After downloading, double-click the file to launch.
  21. #. At the Welcome screen, click :guilabel:`Next`.
  22. .. figure:: images/win_welcome.png
  23. Welcome screen
  24. #. Read the :ref:`license` and click :guilabel:`I Agree`.
  25. .. figure:: images/win_license.png
  26. GeoServer license
  27. #. Select the directory of the installation, then click :guilabel:`Next`.
  28. .. figure:: images/win_installdir.png
  29. GeoServer install directory
  30. #. Select the Start Menu directory name and location, then click :guilabel:`Next`.
  31. .. figure:: images/win_startmenu.png
  32. Start menu location
  33. #. Enter the path to a **valid Java Runtime Environment (JRE)**. GeoServer requires a valid JRE in order to run, so this step is required. The installer will inspect your system and attempt to automatically populate this box with a JRE if it is found, but otherwise you will have to enter this path manually. When finished, click :guilabel:`Next`.
  34. .. note:: A typical path on Windows would be :file:`C:\\Program Files\\Java\\jre8`.
  35. .. note:: Don't include the :file:`\\bin` in the JRE path. So if :file:`java.exe` is located at :file:`C:\\Program Files (x86)\\Java\\jre8\\bin\\java.exe`, set the path to be :file:`C:\\Program Files (x86)\\Java\\jre8`.
  36. .. note:: For more information about Java and GeoServer, please see the section on :ref:`production_java`.
  37. .. figure:: images/win_jre.png
  38. Selecting a valid JRE
  39. #. Enter the path to your GeoServer data directory or select the default. If this is your first time using GeoServer, select the :guilabel:`Default data directory`. When finished, click :guilabel:`Next`.
  40. .. figure:: images/win_datadir.png
  41. Setting a GeoServer data directory
  42. #. Enter the username and password for administration of GeoServer. GeoServer's :ref:`web_admin` requires authentication for management, and what is entered here will become those administrator credentials. The defaults are :guilabel:`admin / geoserver`. It is recommended to change these from the defaults. When finished, click :guilabel:`Next`.
  43. .. figure:: images/win_creds.png
  44. Setting the username and password for GeoServer administration
  45. #. Enter the port that GeoServer will respond on. This affects the location of the GeoServer :ref:`web_admin`, as well as the endpoints of the GeoServer services such as :ref:`wms` and :ref:`wfs`. The default port is :guilabel:`8080`, though any valid and unused port will work. When finished, click :guilabel:`Next`.
  46. .. figure:: images/win_port.png
  47. Setting the GeoServer port
  48. #. Select whether GeoServer should be run manually or installed as a service. When run manually, GeoServer is run like a standard application under the current user. When installed as a service, GeoServer is integrated into Windows Services, and thus is easier to administer. If running on a server, or to manage GeoServer as a service, select :guilabel:`Install as a service`. Otherwise, select :guilabel:`Run manually`. When finished, click :guilabel:`Next`.
  49. .. figure:: images/win_service.png
  50. Installing GeoServer as a service
  51. #. Review your selections and click the :guilabel:`Back` button if any changes need to be made. Otherwise, click :guilabel:`Install`.
  52. .. figure:: images/win_review.png
  53. Verifying settings
  54. #. GeoServer will install on your system.
  55. .. figure:: images/win_install_process.png
  56. Install progress
  57. #. When finished, click :guilabel:`Finish` to close the installer.
  58. .. figure:: images/win_completing.png
  59. Completing
  60. #. If you installed GeoServer as a service, it is already running. Otherwise, you can start GeoServer by going to the Start Menu, and clicking :guilabel:`Start GeoServer` in the GeoServer folder.
  61. #. Navigate to ``http://localhost:8080/geoserver`` (or wherever you installed GeoServer) to access the GeoServer :ref:`web_admin`.
  62. If you see the GeoServer Welcome page, then GeoServer is successfully installed.
  63. .. figure:: images/success.png
  64. GeoServer Welcome Page
  65. Uninstallation
  66. --------------
  67. GeoServer can be uninstalled in two ways: by running the :file:`uninstall.exe` file in the directory where GeoServer was installed, or by standard Windows program removal.