Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. First stop your Fedora instance by running:$FEDORA_HOME/tomcat/bin/shutdown.sh
  2. Remove the deny-purge policies:

    Code Block
    languagebash
    titleCommand Line to remove "deny-purge" policies
    $ rm -v /usr/local/fedora/data/fedora-xacml-policies/repository-policies/default/deny-purge-*


  3. Remove the anonymous-user policiesNavigate to the Fedora "repository-policies" directory:

    Code Block
    languagebash
    titleCommand 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


  4. Download / Clone the Islandora specific XACML policies from the Islandora GitHub XACML Policies repo

    Code Block
    languagebash
    $ git clone https://github.com/Islandora/islandora-xacml-policies.git islandora


  5. Remove the anonymous-user policies:

    Code Block
    languagebash
    titleCommand 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
    languagebash
    $ 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

 

For information on using Fedora, make use of the tutorials at the Fedora Commons site.

...