Community:NDR/Releases/1.3/INSTALL/Fedora Default Install

From NSDLWiki

Jump to: navigation, search

The following steps may be followed to install Fedora using default settings (for evaluation purposes).

  1. Download the Fedora installer jar
  2. Create a directory on your machine in which to install Fedora. Set the FEDORA_HOME environment variable to point to this directory
    • The FEDORA_HOME environment variable is necessary for Fedora to run, every time it is started. You may with to set that environment variable in your login profile.
  3. Install postgresql. Create a user fedoraAdmin and create two databases: fedora22 and ri owned by fedoraAdmin
  4. Run the installer: java -jar fedora-2.2.4-installer.jar. The installer will ask several questions. For a default install, answer the questions as follows:
    1. Installation type. Type custom
    2. Fedora home directory. Your fedora directory should appear as a default value. If so, just press enter. If not, type in the path to the Fedora home created in step 2.
    3. Fedora Administrator password type in fedoraAdmin
    4. Fedora server host<code> press enter for default (localhost)
    5. <code>Authentication requirement for API-A. Press enter for default (false)
    6. SSL availability. Press enter for default (true)
    7. SSL required for API-A. Press enter for default (false)
    8. SSL required for API-M. Press enter for default (true)
    9. Servlet engine Press enter for default (included)
      1. Tomcat home directory Press enter for default ($FEDORA_HOME/tomcat)
        • This will have Fedora install a tomcat cocntainer in $FEDORA_HOME/tomcat. If you are installing other web applications in the same container at a later point, keep this location in mind.
      2. Tomcat http port Press enter for default (8080)
      3. Tomcat shutdown port. Press enter for default (8005)
    10. Tomcat Secure HTTP port. Press enter for default (8443)
    11. Keystore file. Type included to use default self-signed cert
    12. Policy enforcement enabled. Press enter for default (true)
    13. Database. Type postgresql
      1. Postgresql JDBC driver. Press enter for default (included)
      2. Database username. Type fedoraAdmin
      3. Database password. Type fedoraAdmin
      4. JDBC URL. Press enter for default (jdbc:postgresql://localhost/fedora22)
      5. JDBC DriverClass. Press enter for default ( org.postgresql.Driver)
    14. Deploy local services and demos. Press enter for true.
  5. Copy the provided fedora.fcfg file into $FEDORA_HOME/server/config.
  6. Start up Fedora.
    • This is done by starting Fedora's tomcat container. Execute $FEDORA_HOME/tomcat/bin/startup.sh (or .bat, for windows).
Personal tools