• Install Alfresco on Ubuntu 10.10

     

    Install

    wget http://dl.alfresco.com/release/community/build-3835/alfresco-community-4.0.b-installer-linux-x64.bin

    sudo chmod 55 alfresco-community-4.0.b-installer-linux-x64.bin

    sudo ./alfresco-community-4.0.b-installer-linux-x64.bin

    Advanced setting:

    Locationl:  /opt/alfresco

    Database Server Port: 5434

    Web Server Domain:  doc.zhenglei.net

    Tomcat Server Port:         8118

    Tomcat Shutdown Port:   8119

    Tomcat SSL Port:              8120

    Tomcat AJP Port:              8121

    FTP port:                          8122

    RMI port:                          50500

    Sharepoint Port:               7070

    Install as service:             Yes

    OpenOffice Sevice Port:   8100

     

     

    Launch Alfresco

    /opt/alfresco/manager-linux-x64.run

     

    Modify Alfresco Global Properties

    alf_data parameter identifies the location of alfresco data store, where all the documents will be stored. Make sure this is pointing to an absolute path.

       cat /opt/alfresco/tomact/shared/classes/alfresco-global.properties

     

    Using ubuntu default  openoffice

       Modify ooo.exe property of /opt/alfresco/tomact/shared/classes/alfresco-global.properties:

    ooo.exe=/usrlib/openoffice/program/soffice.bin

    jodconverter.officehome=/usr/lib/openoffice

     

    Using ubuntu default  ImageMagick

    img.root=/usr

     

     

     Change alf_data location:

        Modify /opt/alfresco/tomact/shared/classes/alfresco-global.properties

        Copy /opt/alfresco/alf_data/* to the new location:

    cp -r /opt/alfresco/alf_data/*   /data/alfresco/

     

    Launch java with command line option:

    All global properitie can be change with java command line option:

    Just set environment variable JAVA_OPTS, eg:

       export JAVA_OPTS=-Ddir.root=/data/alfresco

     

     

     

     

     

  • Install OpenKM on Ubuntu 10.10

    Install leptonica:

    http://www.leptonica.com/source/leptonica-1.68.tar.gz

    tar xvfz leptonica-1.68.tar.gz

    ./configure

    make

    sudo make install

    sudo ldconfig

     

    Install  Tesseract

     

    Install swftools

     

    Install OpenKM

    cd /opt

    wget http://downloads.sourceforge.net/project/openkm/5.1/OpenKM-5.1.7_JBoss-4.2.3.GA.zip

    tar xvfz OpenKM-5.1.7_JBoss-4.2.3.GA.zip

    Modify OpenKM.cfg

    #system.ocr=/usr/bin/cuneiform
    system.ocr=/usr/local/bin/tesseract
    #system.openoffice.path=/usr/lib/openoffice
    system.openoffice.path=/usr/lib/openoffice
    #system.imagemagick.convert=/usr/bin/convert
    system.imagemagick.convert=/usr/bin/convert
    #system.swftools.pdf2swf=/usr/bin/pdf2swf
    system.swftools.pdf2swf=/usr/local/bin/pdf2swf
    #system.antivir=/usr/bin/clamscan
    system.antivir=/usr/bin/clamscan
    hibernate.dialect=org.hibernate.dialect.HSQLDialect
    hibernate.hbm2ddl=create
    #application.url=http://localhost:8080/OpenKM/com.openkm.frontend.Main/index.jsp

  • Install swftools on ubuntu 10.10

    wget http://www.swftools.org/swftools-2011-10-10-1647.tar.gz

     sudo apt-get install libfreetype6-dev

    sudo apt-get install libgif-dev

    cd swftools-2011-10-10-1647/

    ./configure

    make

    sudo make install

    sudo ldconfig

  • Tesseract installation on Ubuntu 10.10

    sudo apt-get install build-essential

    sudo apt-get install autoconf

     

    sudo apt-get install libpng12-dev

    sudo apt-get install libjpeg62-dev

    sudo apt-get install libtiff4-dev

    sudo apt-get install zlib1g-dev

     

    wget http://www.leptonica.com/source/leptonica-1.68.tar.gz

    tar xvfz leptonica-1.68.tar.gz

    cd leptonica-1.68

    ./configure

    make

    sudo make install

    sudo ldconfig

     

    wget http://tesseract-ocr.googlecode.com/files/tesseract-3.01.tar.gz

    tar xvfz tesseract-3.01.tar.gz

    cd tesseract-3.01

    ./autogen

    ./configure 

    make

    sudo make install

    sudo ldconfig

     

     

     

  • organization member cost

    WIFI:                      Regular member                          $15000

    UPNP:                    Implementer member:                   $5000

    DLNA:                    Contributor member:                  $10000

    WAC:                     Associate member:                      £28,000

    SD:                        General member:                            $2000

    USB:                       Member                                         $4000

    BT:                         Adopter member:                           0

                                 Associate member:                       $7500

    HDMI:                    Member:                                        $3000

    NFC Forum:           Implementer member:                    $5000

    EMVCO:                 Subscriber                                       $750

                                 Company Subscriber                      $2500


     

  • bridge setup in ubuntu

    sudo ifconfig eth0 down
    sudo ifconfig eth0 0.0.0.0
    sudo brctl addbr br0
    sudo brctl addif br0 eth0
    sudo ifconfig eth0 up
    sudo ifconfig br0
    sudo dhclient br0

  • flash video metadata

    flvtool2

    yamdi

    flvmeta

     

  • flv metadata injector

    flvmdi  ==> Only for windows

    http://www.buraks.com/flvmdi/

    flvtool2  ==> Ruby program

    http://www.inlet-media.de/flvtool2/

    yamdi  ==>  windows and linux platform

    http://yamdi.sourceforge.net/

  • Setup XBMC on Ubuntu 10

    • sudo apt-get update
    • sudo apt-get upgrade
    • sudo add-apt-repository ppa:team-xbmc
    • sudo apt-get update
    • sudo apt-get install xbmc
    • sudo apt-get update
    • sudo apt-get upgrade