|
| 1 | +--- |
| 2 | +title: Running the zip distribution |
| 3 | +--- |
| 4 | + |
| 5 | +If you prefer not to [use Docker](/getting_started/docker.md), another way to get ArchivesSpace up and running is to download the latest distribution `.zip` |
| 6 | +file and use your own-managed Database and Solr services. This requires more effort to get all requirements in place, as explained below. |
| 7 | + |
| 8 | +## System requirements |
| 9 | + |
| 10 | +See [System Requirements](/getting_started/system_requirements) |
| 11 | + |
| 12 | +## Software Dependencies |
| 13 | + |
| 14 | +When using the zip distribution of ArchivesSpace, the following software dependencies are required: |
| 15 | + |
| 16 | +### Java Runtime Environment |
| 17 | + |
| 18 | +You will need to have Java installed on your machine. You can check your Java version by running the command: |
| 19 | + |
| 20 | + java -version |
| 21 | + |
| 22 | +We recommend using [OpenJDK](https://openjdk.org/projects/jdk/). The following table lists the supported Java versions for each version of ArchivesSpace: |
| 23 | + |
| 24 | +| ArchivesSpace version | OpenJDK version | |
| 25 | +| --------------------- | --------------- | |
| 26 | +| ≤ v3.5.1 | 8 or 11 | |
| 27 | +| ≥ v4.0.0 | 11 or 17 | |
| 28 | + |
| 29 | +If you are running an earlier version of java upgrade to one of the supported ones (not the newest one). If you are running a newer version of Java you should revert back to or force your machine to use a supported version. |
| 30 | + |
| 31 | +### Solr |
| 32 | + |
| 33 | +Up to ArchivesSpace v3.1.1, the zip file distribution includes an embedded Solr v4 instance, which is deprecated and not supported anymore. |
| 34 | + |
| 35 | +ArchivesSpace v3.2.0 or above requires an external Solr instance. The table below summarizes the supported Solr versions for each ArchivesSpace version: |
| 36 | + |
| 37 | +| ArchivesSpace version | External Solr version | |
| 38 | +| --------------------- | ------------------------- | |
| 39 | +| ≤ v3.1.1 | no external solr required | |
| 40 | +| v3.1.1 up to v3.5.1 | 8 (8.11) | |
| 41 | +| ≥ v4.0.0 | 9 (9.4.1) | |
| 42 | + |
| 43 | +Each ArchivesSpace version is tested for compatibility with the corresponding Solr version listed in the table above, both during development and automated testing. |
| 44 | + |
| 45 | +It may be possible to use ArchivesSpace with an older version of Solr. However in that case it is important to check the [release notes](https://github.com/archivesspace/archivesspace/releases) |
| 46 | +for any potential version compatibility issues. |
| 47 | + |
| 48 | +**Note: the ArchivesSpace Program Team can only provide support for Solr deployments using the "officially" supported version with the standard configuration provided by |
| 49 | +the application. Everything else will be treated as "best effort" community-led support.** |
| 50 | + |
| 51 | +See [Running with external Solr](/provisioning/solr) for more information on installing and upgrading Solr. |
| 52 | + |
| 53 | +### Database |
| 54 | + |
| 55 | +While the ArchivesSpace zip distribution does include an embedded database for demonstration purposes, MySQL is required for production use. (While not officially supported by ArchivesSpace, some community members use MariaDB so there is some community support for version 10.4.10 only.) |
| 56 | + |
| 57 | +**The embedded database is for testing purposes only. You should use MySQL or MariaDB for any data intended for production, including data in a test instance that you intend to move over to |
| 58 | +a production instance.** |
| 59 | + |
| 60 | +All ArchivesSpace versions can run on MySQL version 5.x or 8.x. See [MySQL](/provisioning/mysql) for detailed instructions on setting up MySQL for ArchivesSpace. |
| 61 | + |
| 62 | +## Downloading and Installing |
| 63 | + |
| 64 | +Once you have Java, MySQL and Solr in place, you are ready to download and install ArchivesSpace. **Do not proceed until MySQL and Solr are running.** The latest version of the ArchivesSpace zip distribution (and all older ones) are available at: [https://github.com/archivesspace/archivesspace/releases](https://github.com/archivesspace/archivesspace/releases) |
| 65 | + |
| 66 | +When you extract the `.zip` file, it will create a directory called `archivesspace`. |
| 67 | + |
| 68 | +It is now time to download and install the [JDBC driver for MySQL](https://docs.archivesspace.org/provisioning/mysql/#download-mysql-connector). |
| 69 | + |
| 70 | +### Start ArchivesSpace |
| 71 | + |
| 72 | +To run the system, just execute the appropriate startup script for your platform. On Linux and OSX: |
| 73 | + |
| 74 | + cd /path/to/archivesspace |
| 75 | + ./archivesspace.sh |
| 76 | + |
| 77 | +and for Windows: |
| 78 | + |
| 79 | + cd \path\to\archivesspace |
| 80 | + archivesspace.bat |
| 81 | + |
| 82 | +This will start ArchivesSpace running in foreground mode (so it will shut down when you close your terminal window). Log output will be written to the file `logs/archivesspace.out` (by default). |
| 83 | + |
| 84 | +**Note:** If you're running Windows and you get an error message like `unable to resolve type 'size_t'` or `no such file to load -- bundler`,make sure that there are no spaces in any part of the |
| 85 | +path name in which the ArchivesSpace directory is located. |
| 86 | + |
| 87 | +The first time it starts, the system will take a minute or so to start up. You can then [login and verify](/getting_started/first_steps) that it is running correctly. |
0 commit comments