User Tools

Site Tools


en:extra:fedora

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:extra:fedora [2014/11/02 21:21] – external edit 127.0.0.1en:extra:fedora [2023/03/13 01:46] (current) – external edit 127.0.0.1
Line 1: Line 1:
-======Installing Fedora (2.2.1/3.0) and Fedora-related information======+ 
 + 
 + 
 +====== Fedora ====== 
 + 
 +  * [[en:user_advanced:fli|FLI]]: Fedora Librarian Interface 
 + 
 +=====Installing Fedora (2.2.1/3.0) and Fedora-related information=====
  
 Here, we're following [[http://www.fedora.info/download/2.2.1/userdocs/distribution/installation.html|the official Fedora instructions for installing Fedora 2.2.1]] Here, we're following [[http://www.fedora.info/download/2.2.1/userdocs/distribution/installation.html|the official Fedora instructions for installing Fedora 2.2.1]]
Line 184: Line 191:
  
   * To run the Fedora Librarian Interface (FLI) which uses Greenstone to build and export documents into a Fedora repository, see [[en:user_advanced:fli]].   * To run the Fedora Librarian Interface (FLI) which uses Greenstone to build and export documents into a Fedora repository, see [[en:user_advanced:fli]].
 +
 +===== G Old Fedora Installation Notes =====
 +
 +These were written 2005, much earlier than the above. I have included them here just in case they are useful to someone.
 +
 +  * Install Prerequisite Software:
 +     *Java software development kit, v1.4
 +     *Database: MySQL v3.23.x, MySQL 4.x or Oracle 9i, or McKoi v0.94
 +
 +  * Download:
 +There are multiple distribution packages in release. The server binaries, the client binaries, and the entire source code which can be downloaded from the website: [[http://www.fedora.info/release/]]
 +
 +  *Set up Database:
 +Before running Fedora, the database should be set. It appears that Fedora will access the MYSQL in the /tmp/mysql.sock (I haven't found the place to change the setting yet). Therefore, Fedora in toetoe is running its databases as the same as GS3.
 +   $ mysql-config /research/chi/gsdl3/packages/mysql root "" fedoraAdmin fedoraAdmin fedora008
 +
 +  * Modify Fedora's Configuration
 +Before starting for the first time, you will want to make some changes in Fedora's main configuration file, server/config/fedora.fcfg. See installation document. [[http://www.fedora.info/release/1.2.1/userdocs/distribution/installation.html]]
 +
 +  * Fedora in toeote
 +     *The fedora is installed in /home/chi/local/fedora-1.2.1
 +     *The fedora source is installed /home/chi/local/fedora-1.2.1-src
 +
 +  * Start Fedora
 +     *Step 1: Start Database Server
 +<code> *$ cd /research/chi/gsdl3
 + *$ source gs3-setup.sh
 + *$ gs3-launch.sh</code>
 +
 +     *Step 2: Start Fedora Server
 +<code>  *$ fedora-start</code> 
 +
 +     *Step 3: To Access the Admin GUI use the command:
 +<code>  *$ fedora-admin localhost 8100 fedoraAdmin fedoraAdmin
 +    (fedora-admin [[hostname]] [port] [[username]] [password])</code> 
 +
 +     *To ingest the demos from the command line (recommended), use the command:
 +<code>  *$ fedora-ingest-demos [[hostname]] [port] [[username]] [password]</code> 
 +
 +     *Step 4:Stop Fedora
 +<code>  *$fedora-stop</code> 
 +
 +     *Step 5: Stop MYSQL==>GS3
 +<code>  *$ gs3-launch.sh shutdown</code> 
 +
 +  *Installation of Fedora 2.0
 +The installation is similar to Fedora -1.2.0
 +<code>  *$ /home/chi/local/fedora-2.0
 + *$ /home/chi/local/fedora-2.0-src
 + *$ host name: toetoe
 + *$ port :8200
 + *$ user =fedoraAdmin
 + *$ password = fedoraAdmin
 + *$ http://toetoe:8200/fedora/search</code> 
 +  
 +  * Technical issues
 +<code>  *$ copy /home/chi/local/fedora-2.0/client/client.jar /research/chi/gsdl3/lib/java/.
 + *$ some of fedora_server classes were not included in client.jar , therefore, I have
 +  to create fedora_server.jar (can be found in /research/chi/gsdl3/lib/java/.
 + *$ different between fedora-1.2.0 fedora-2.0 which would affect FedoraGS
 + * AutoFinder in the different path fedora-2.0: /fedora/client/utility/AutoFinder
 + * axis version seems different, so need to copy fedora-2.0-src/lib/axis.jar to
 + * /research/chi/gsdl3/lib/java/. also lib/commons-discovery.jar need to copy to
 + * /research/chi/gsdl3/lib/java/</code> 
 +
 +  *Fedora in GSIII
 +     *fedoraImport.sh: By using this script, you can download metadata for all the required Fedora data objects. All the downloaded data will be stored in /research/chi/gsdl3/src/java/org/greenstone/gsdl3/Fedora directory. Using this data you can then build a new collection in GSIII, thus in GSII, you can search this data through GSIII interface.
 +     *fedoraSearch.sh: This script helps to search Fedora objects in the Fedora repository based on the critiera given.
 +     */research/chi/gsdl3/src/java/org/greenstone/gsdl3/service/FedoraSearch.java: this program helps to search Fedora Objects in the Fedora repository by using Fedora search classes. This is to be added in the Service Rack in GSIII.
 +
 +  *Setting
 +The following two files needs to be properly set.
 +     * The setting of the collectionConfig.xml please see 
 +     * /research/chi/gsdl3/web/sites/localsite/collect/FedoraGS/etc
 +     * The setting of buildConfig.xml
 +
 +<code>  *<buildConfig>
 +  <metadataList />
 +  <serviceRackList>
 +     <serviceRack name="GS3MGSearch">
 +        <indexList>
 +           <index name="sectext" />
 +           <index name="doctext" />
 +           <index name="sectitle" />
 +        </indexList>
 +        <defaultIndex name="sectext" />
 +        <baseIndexPrefix name="mgsearch" />
 +        <indexStem name="index" />
 +     </serviceRack>
 +     <serviceRack name="FedoraSearch">
 +        <fedoraServer url ="http://toetoe:8200"/></serviceRack>
 +     <serviceRack name="GS3MGRetrieve">
 +        <defaultIndex name="sectext" />
 +        <baseIndexPrefix name="mgsearch" />
 +           <indexStem name="index" />
 +     </serviceRack>
 +     <serviceRack name="GS3Browse">
 +        <classifierList>
 +           <classifier name="CLTit" />
 +           <classifier name="" />
 +           <classifier name="" />
 +           <classifier name="" />
 +           </classifierList>
 +     </serviceRack>
 +  </serviceRackList>
 + *</buildConfig></code> 
 +
 +Be careful, whenever recreate the collection, the buildConfig.xml will be overwritten. All these tasks are talking to the Fedora Repository in the local machine.
en/extra/fedora.1414963319.txt.gz · Last modified: 2018/08/27 01:19 (external edit)