-
Notifications
You must be signed in to change notification settings - Fork 1
Install Fedora 4.7.1
Anusha Ranganathan edited this page Oct 14, 2017
·
2 revisions
Instructions to install Fedora 4.7.1
Open port 8080 to incoming traffic in the Azure portal (add inbound rule)
Install Jetty 9
sudo apt-get install jetty9
sudo service jetty9 status
Add these options to Jetty (at the end of the file)
sudo vim /etc/default/jetty9
JAVA_OPTIONS="${JAVA_OPTIONS} -Dfcrepo.modeshape.configuration=classpath:/config/file-simple/repository.json -Dfcrepo.home=/opt/fedora-data"
Create the fedora-data directory and set the permissions
sudo mkdir /opt/fedora-data
sudo chown -R jetty:jetty /opt/fedora-data/
Download Fedora 4.7.1 war file
wget https://github.com/fcrepo4/fcrepo4/releases/download/fcrepo-4.7.1/fcrepo-webapp-4.7.1.war
Move it to Jetty webapps
sudo mv fcrepo-webapp-4.7.1.war /var/lib/jetty9/webapps/
ls -l /var/lib/jetty9/webapps/
sudo chown jetty:adm /var/lib/jetty9/webapps/fcrepo-webapp-4.7.1.war
Restart Jetty
sudo systemctl restart jetty9
check fcrepo is running by visiting http://localhost:8080/fcrepo-webapp-4.7.1/