...
Multiexcerpt macro | ||
---|---|---|
| ||
Setting the CollectionSpace Environment VariablesFor the CollectionSpace server to install and run properly, it requires the following shell environment variables to be defined for the
By default, all but the "
Your CollectionSpace instance can be configured to fetch data from another CollectionSpace instance. For example, the Materials profile/tenant can be configured to fetch shared authority and vocabulary data from a CollectionSpace instance that is set up to share common authority data. The following environment variables can used to create a connection to that CollectionSpace instance.
The example below is for a Linux Bash shell. As the Now edit the Add the following lines of text to the end of the .bashrc file: Save your changes and exit the vim editor. Next, make sure to source your ~/.bashrc so the environment variables are set and available. The next time you login to the WARNING: Use difficult to guess values for the password environment variables above -i.e., the ones ending with " |
...
If successful, you should see output that looks something like this:
Code Block |
---|
HTTP/1.1 200 CacheVary: Origin Vary: Access-Control-Request-Method Vary: no-cache, no-store, max-age=0, must-revalidate Pragma: no-cache Expires: 0Access-Control-Request-Headers Set-Cookie: JSESSIONID=24D1AC4DA8CFDA0DE2D144C2D3971889; Path=/cspace-services; HttpOnly X-Content-Type-Options: nosniff X-XSS-Protection: 1; mode=block X-Frame-Options: DENY X-Content-Type Cache-Control: no-cache, no-store, max-age=0, must-revalidate Pragma: no-cache Expires: 0 X-Frame-Options: nosniffDENY Content-Type: application/xml Content-Length: 560580 Date: ThuTue, 2219 JunMar 20232024 1917:3933:3227 GMT <?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:system_info_common xmlns:ns2="http://collectionspace.org/services/systeminfo"><displayName>CollectionSpace Services v7v8.2<0</displayName><instanceId>_default</instanceId><version><major>7<instanceId><version><major>8</major><minor>2<major><minor>0</minor><patch>0<minor><patch>0-SNAPSHOT</patch><build>0cb870d<patch><build>c049973</build></version><javaVersionString>1.8.0_362<402</javaVersionString><host>Architecture:amd64aarch64 Name:Linux Version:6.5.15.0-75-generic<13-orbstack-00122-g57b8027e2387</host><hostTimezone>UTC</hostTimezone><hostLocale>en-US</hostLocale><hostCharset>UTF-8</hostCharset></ns2:system_info_common> |
...