Skip to Content
  • +31 653-919-302
Cafayate.Net
  • 0
  • 0
  • Sign in
  • Nederlands English (US) Español (AR)
  • Contact Us
  • Home
  • Blog
  • Jobs
  • Contact us
Cafayate.Net
  • 0
  • 0
    • Home
    • Blog
    • Jobs
    • Contact us
  • +31 653-919-302
  • Nederlands English (US) Español (AR)
  • Sign in
  • Contact Us

Install OpenKM 6.3 on Ubuntu 14.04 Trusty

  • All Blogs
  • Tech Blog
  • Install OpenKM 6.3 on Ubuntu 14.04 Trusty
  • March 5, 2021 by
    Administrator

    This is not a complete guide, but rather a short note on how I did it.

    1. Installing OpenKM

    Step #1.1: Of course I did it in LXC container:

    1
    2
    3
    4
    lxc–create –n openkm.example.net –t download — –d ubuntu –r trusty –a amd64
    # configure container, uidmapshift, and configure network in container
    lxc–start –n openkm.example.net
    lxc–attach –n openkm.example.net

    Step #1.2: Install Java first:

    1
    apt–get install openjdk–7–jdk openjdk–7–jre

    Step #1.3: Install OpenKM second:

    1
    2
    3
    4
    5
    6
    wget http://sourceforge.net/projects/openkm/files/6.3/openkm-6.3.0-community-linux-x64-installer.run
    chmod 700 openkm–6.3.0–community–linux–x64–installer.run
    ./openkm–6.3.0–community–linux–x64–installer.run
    # A few basic questions will follow (license, destdir), keep defaults.
    # As we are installing without GUI, the error will appear about installer not being able to create menu shortcuts. Ignore.

    Step #1.4: Start the daemon:

    1
    /opt/openkm–6.3.0–community/tomcat/bin/startup.sh

    Start it at boot too:

    1
    2
    echo “/opt/openkm-6.3.0-community/tomcat/bin/startup.sh” >> /etc/rc.local
    # WARNING: Watch this step here, as by default this line is appender after “exit 0” command. You get the picture.

    Step #1.5: Visit your fresh OpenKM installation at the following location:
    http://YOUR.CONFIGURED.IP:8080/

    Default username: okmAdmin
    Defualt password: admin
    And this is it!

    2. Adding OCR support

    Step #2.1: Install Tessaract software:

    1
    apt–get install tesseract–ocr tesseract–ocr–eng tesseract–ocr–slv

    Step #2.2: Configure OpenKM to use Tessaract as ORC engine:

    1
    2
    3
    edit /opt/openkm–6.3.0–community/tomcat/OpenKM.cfg
    # set “system.ocr=/usr/bin/tesseract”
    # set “system.ocr.rotate=90;180;270;”

    Step #2.3: Restart OpenKM:

    1
    2
    kill –15 `pidof java`
    /opt/openkm–6.3.0–community/tomcat/bin/startup.sh

    Resources used:

    • http://wiki.openkm.com/index.php/Quick_Install_-_OpenKM_6.2
    • http://www.unixmen.com/install-openkm-document-management-system-in-ubuntu-15-04/

     

    in Tech Blog
    Odoo shortcut

    Designed for companies

    We are a team of passionate people whose goal is to improve everyone's life through disruptive products. We build great products to solve your business problems. Our products are designed for small to medium size companies willing to optimize their performance.

    Get in touch

    Plantexel
    Pedernera
    Salta Capital 
    Argenina

    • +31 653-919-302
    • [email protected]
    Follow us
    Copyright © Plantexel
    Nederlands | English (US) | Español (AR)