...
- First stop your Fedora instance by running:$FEDORA_HOME/tomcat/bin/shutdown.sh
Remove the deny-purge policies:
Code Block |
---|
language | bash |
---|
title | Command Line to remove "deny-purge" policies |
---|
|
$ rm -v /usr/local/fedora/data/fedora-xacml-policies/repository-policies/default/deny-purge-* |
Remove the anonymous-user policiesNavigate to the Fedora "repository-policies" directory:
Code Block |
---|
language | bash |
---|
title | Command Line to remove "deny-purge" create islandora specific policies |
---|
|
$ rmcd -v /usr/local/fedora/data/fedora-xacml-policies/repository-policies/islandora/permit-apim-to-anonymous-user.xml
$ rm -v /usr/local/fedora/data/fedora-xacml-policies/repository-policies/islandora/permit-upload-to-anonymous-user.xml |
Navigate to the Fedora "repository-policies" directory
Download / Clone the Islandora specific XACML policies from the Islandora GitHub XACML Policies repo
Code Block |
---|
|
$ git clone https://github.com/Islandora/islandora-xacml-policies.git islandora |
Remove the anonymous-user policies:
Code Block |
---|
language | bash |
---|
title | Command Line to create islandora specific remove "deny-purge" policies |
---|
|
$ rm cd-v /usr/local/fedora/data/fedora-xacml-policies/repository-policies/ |
Download / Clone the Islandora specific XACML policies from the Islandora GitHub XACML Policies repo
Code Block |
---|
|
$ git clone https://github.com/Islandora/islandora-xacml-policies.git islandoraislandora/permit-apim-to-anonymous-user.xml
$ rm -v /usr/local/fedora/data/fedora-xacml-policies/repository-policies/islandora/permit-upload-to-anonymous-user.xml |
The Islandora XACML policies should now be located in "/usr/local/fedora/data/fedora-xacml-policies/repository-policies/islandora". There should be remain only these 4 policies:
...
Warning |
---|
NOTE: If you can not access the above link for ingestion then something went wrong with your installation. Please retrace your steps carefully, and be sure not to miss anything. |
Create a milestone 1 snapshot backup:
Code Block |
---|
# $FEDORA_HOME/tomcat/bin/shutdown.sh
# /etc/init.d/mysql stop
# /usr/local
# tar -cvzf fedora-milestone1.tar.gz fedora
# cd /var/lib
# tar -cvzf -cvzf mysql-milestone1.tar.gz mysql
# /etc/init.d/mysql startmysql-milestone1.tar.gz mysql
# /etc/init.d/mysql start
# $FEDORA_HOME/tomcat/bin/startup.sh |
Automatically starting/restating tomcat:
- If you simply want to automatically start on boot you may want to add this lines to the /etc/rc.local:
Code Block |
---|
sleep 10
# $FEDORA_HOME/tomcat/bin/startup.sh |
- To get a more elegant init.d wrapper just follow the hints on this ubuntu post.
For information on using Fedora, make use of the tutorials at the Fedora Commons site.
...