Restart DSpace and then type the following to test. If the test build works then add the switch"-Pxpdf-mediafilter-support" to the dspace rebuild script, so that: To install, type the following: (Replace XXX with your DSpace version number)Ĭd $HOME/source/dspace/target/dspace-XXX-build Mvn -U clean package -Pxpdf-mediafilter-support Then replace ". = Adobe PDF" with the following:į. = Adobe PDFį. = Adobe PDFĪbove the comment, "#Custom settings for PDFFilter", add the following: BrandedPreviewJPEGFilter = Branded Preview JPEG PowerPointFilter = PowerPoint Text Extractor, \ ![]() Search for "ugins" and replace with the following.Ĭhange the MediaFilter plugin configuration to remove the old ".PDFFilter" and add the new filters ".XPDF2Text = PDF Text Extractor" and ".XPDF2Thumbnail = PDF Thumbnail". # maximum width and height of generated thumbnails Lastly, be sure there is a value for thumbnail.maxwidth and that it corresponds to the size you want for preview images for the UI. Then, search for the following and change as needed: Nano $HOME/source/dspace/config/dspace.cfgįirst enable thumbnails, search for following and change to true: Wget -no-check-certificate mvn install:install-file \ Step 3B - Install "jai_core.jar" mkdir $HOME/temp Dfile=jai_imageio-1_1/lib/jai_imageio.jar \ ![]() Step 3 - Install the java packages Step 3A - Install "jai_imageio.jar" mkdir $HOME/tempĬurl -O tar -xzvf jai_imageio-1_ Sudo apt-get install xpdf poppler-utils curl This filter has been disabled as these branded previews are not important to us.Ĭomplete ALL of the following as the "dspace" user! Step 2 - Install the Ubuntu software packages We isolated the problem to the "Branded Preview JPEG" filter. 12 Step 10 - Item list preview settingsĪfter a while we noticed our server load increasing radically when doing the nightly media-filter jobs.8 Step 6 - Update dspace rebuild script.5.1 Step 3A - Install "jai_imageio.jar".4 Step 2 - Install the Ubuntu software packages.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |