Showing posts with label dms. Show all posts
Showing posts with label dms. Show all posts

Friday, December 16, 2011

Document Management - Knowledge Tree

As explaining about installing Alfresco before, it's time to install Knowledge Tree this time.
  • System Information
The platform is the same with before when installing Alfresco.
OS                   CentOS release 5.7 (Final)        
Kernel         2.6.18-274.el5 x86_64
Package group   Development Libraries
 Dialup Networking Support
 GNOME Software Development
 Legacy Software Development
 Legacy Software Support
 Mail Server
 Network Servers
 System Tools
 Yum Utilities
Knowledge Tree 3.7


Let's see the process of installing Knowledge Tree.
# echo "exclude=mod-php-5.3*,php-5.3*,zend-server-php-5.3*" >> /etc/yum.conf
  • Get the binary and extract it
# wget http://repos.knowledgetree.com/downloads/ktdms-ce-linux-latest
# tar zxf kt-ce-linux-universal-installer-3.7.tgz
# cd knowledgetree-ce-linux-universal-installer-3.7
  •  Install Knowledge Tree ( After hitting <Enter>, the script begins installing via YUM.
# ./knowledgetree-community.sh
Running this script will preform the following:
* Configure your package manager to use the KnowledgeTree repository
* Install KnowledgeTree on your system using your package manager

Hit ENTER to install KnowledgeTree, or Ctrl+C to abort now.
...
Complete!

KnowledgeTree was successfully installed.

Please open your Internet browser and browse to http://127.0.0.1/KnowledgeTree/ to continue setup.
  • show the listening sockets
# netstat -lnpt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
tcp        0      0 0.0.0.0:10081               0.0.0.0:*                   LISTEN      6996/lighttpd
tcp        0      0 0.0.0.0:10082               0.0.0.0:*                   LISTEN      6996/lighttpd
tcp        0      0 127.0.0.1:10083             0.0.0.0:*                   LISTEN      6801/httpd
tcp        0      0 0.0.0.0:80                  0.0.0.0:*                   LISTEN      6801/httpd
tcp        0      0 0.0.0.0:22                  0.0.0.0:*  
    
    
    • check that the service of zend-server is enable
    # chkconfig --list zend-server
    zend-server     0:off   1:off   2:on    3:on    4:on    5:on    6:off
    • initialize the mysql data directory
    # mysql_install_db --datadir=/var/lib/mysql
    • begin the mysql daemon
    # /etc/init.d/mysql start
    MySQL を起動中:                                            [  OK  ]
    • secure mysql users, drop test database
    # mysql_secure_installation
    ...
    Set root password? [Y/n] Y
    New password:
    Re-enter new password:
    ...
    Remove anonymous users? [Y/n] Y
    ...
    Disallow root login remotely? [Y/n] Y
    ...
    Remove test database and access to it? [Y/n] Y
    ...
    Reload privilege tables now? [Y/n] Y
    ...
    Thanks for using MySQL!
    • license agreement

    • installation type
    • checking PHP dependencies
    • system configuration
    • checking service dependencies
    • confirming database configuration
    • registering Knowledge Tree
    • finalizing system information
    • installation completed
    • enter the login page
    • Dashboard
    • setup mysql user for Knowledge Tree (When you failed in loggin in with the password, mysql user might not have been created.)
    # mysql -uroot -p -e "GRANT ALL ON dms.* TO dmsadmin@'127.0.0.1' IDENTIFIED BY 'password'; FLUSH PRIVILEGES;"

    Sunday, December 11, 2011

    Document Management - Alfresco

    Recenty, I've got more opportunities of making document, such as technical specifications, operating manuals, report for stress test, etc than before. The more I make document, the more it costs to manage several kinds of document. Especially, it is quite tiresome to even upload the document which I make at local PC to the fileserver, when it needs to be updated often.

    To reduce the cost to manage the document, I consider introducing DMS(Document Management System) or ECM(Enterprise Content Management) systems. In addtion, I wanted to write operating manuals more efficiently and easier, alternative to wiki such as pukwiki or MS Office products.

    Currently, I am thinking of using the software below and list the installation of them.
    I will list the details or pros and cons after introducing the installations of them.


    • System Information
    The summary of the OS and the Middle wares is below.

    OS                   CentOS release 5.7 (Final)        
    Kernel         2.6.18-274.el5 x86_64
    Package group   Development Libraries
     Dialup Networking Support
     GNOME Software Development
     Legacy Software Development
     Legacy Software Support
     Mail Server
     Network Servers
     System Tools
     Yum Utilities
    Alfresco alfresco-community-4.0.b


    First of all, I'm going to list the process of installing Alfresco.
    • Get the binary
    # wget http://dl.alfresco.com/release/community/build-3835/alfresco-community-4.0.b-installer-linux-x64.bin 
    • Install alfresco ( The comment is Japanese as I chose the installtion language as Japanese)
    
    
    # chmod +x ./alfresco-community-4.0.b-installer-linux-x64.bin
    # ./alfresco-community-4.0.b-installer-linux-x64.bin --mode text
    Language Selection
    
     Please select the installation language
     [1] English - English
     [2] French - Francais
     [3] Spanish - Espanol
     [4] Italian - Italiano
     [5] German - Deutsch
     [6] Japanese - 日本語
     Please choose an option [1] : 6
     ----------------------------------------------------------------------------
     ようこそ Alfresco Community セットアップウィザードへ。
    
     ----------------------------------------------------------------------------
     インストール・タイプ
    
     [1] 簡易 - サーバをデフォルト設定でインストールします
     [2] Advanced - Configures server ports and service properties.: Also choose optional components to install.
     オプションを選択してください [1] : 2
    
     ----------------------------------------------------------------------------
     インストールするコンポーネントを選択してください。準備ができたら“次へ“をクリックしてください。
    
     Java [Y/n] :Y
    
     PostgreSQL [Y/n] :Y
    
     Alfresco : Y (Cannot be edited)
    
     SharePoint [Y/n] :Y
    
     Web Quick Start [y/N] : Y
    
     OpenOffice [Y/n] :Y
    
     上記選択部分が正しいことを確認してください。 [Y/n]: Y
    
     ----------------------------------------------------------------------------
     インストール・フォルダ
    
     Alfresco Communityをインストールするフォルダを選んでください
    
     フォルダを選択して下さい。 [/opt/alfresco-4.0.b]:
    
     ----------------------------------------------------------------------------
     データベースのサーバ・パラメータ
    
     データベースのポートを入力してください
    
     データベースのサーバ・ポート [5432]:
    
     ----------------------------------------------------------------------------
     Tomcat ポート設定
    
     TOMCATに必要なパラメータを入力してください。
    
     Webサーバドメイン: [127.0.0.1]:
    
     Tomcat サーバ・ポート: [8080]:
    
     Tomcat シャットダウン・ポート: [8005]:
    
     Tomcat SSL ポート [8443]:
    
     Tomcat AJP ポート: [8009]:
    
     ----------------------------------------------------------------------------
     Alfresco FTPポート
    
     統合されたAlfrescoFTPサーバに使用するポート番号を選択してください。
    
     ポート: [21]:
    
     ----------------------------------------------------------------------------
     Alfresco RMIポート
    
     リモートコマンドの実行に使用するAlfrescoのポート番号を選択してください。
    
     ポート: [50500]:
    
     ----------------------------------------------------------------------------
     Adminパスワード
    
     Alfrescoの管理者アカウントに使用するパスワードを入力します。
    
     Adminパスワード: :
     繰り返しパスワードを入力して下さい。 :
     ----------------------------------------------------------------------------
     Alfresco SharePointポート
    
     SharePointプロトコル用のポート番号を選択してください。
    
     ポート: [7070]:
    
     ----------------------------------------------------------------------------
     サービスとしてインストール
    
     オプションで、Alfresco Community をサービスとして登録する事ができます。 これによりマシンを起動する度にそれを自動起動できるようになります。
    
     サービスとして Alfresco Community をインストールしますか。 [Y/n]: y
    
    
     ----------------------------------------------------------------------------
     OpenOfficeサーバ・ポート
    
     OpenOFFICEサーバのデフォルト LISTENポートを入力してください。
    
     OpenOfficeサーバ・ポート [8100]:
    
     ----------------------------------------------------------------------------
     お使いのコンピュータに Alfresco Community をインストールする準備が整いました。
    
     続けますか? [Y/n]: y
    
     ----------------------------------------------------------------------------
     しばらくお待ちください。 Alfresco Community をお使いのコンピュータにインストール中です。
    
     インストール中
     0% ______________ 50% ______________ 100%
     #########################################
    
     ----------------------------------------------------------------------------
     セットアップウィザードによる Alfresco Community のインストールが完了しました。
    
     Readme ファイルを表示 [Y/n]: Y
    
     Alfresco Community Shareを起動 [Y/n]: n
    
     README
     Alfresco Community 4.0
     ======================
    
     For Enterprise subscribers, refer to http://support.alfresco.com for release
     notes and detailed information on this release.
    
     For Community members, refer to the Alfresco wiki for more information on this
     release.
    
     続けるには [Enter] キーを押してください :
    • Activate the service
    
    
    # chkconfig alfresco on
    
    
    • Start alfresco
    # /etc/init.d/alfresco start
    /opt/alfresco-4.0.b/postgresql/scripts/ctl.sh : postgresql  started at port 5432
    Using CATALINA_BASE:   /opt/alfresco-4.0.b/tomcat
    Using CATALINA_HOME:   /opt/alfresco-4.0.b/tomcat
    Using CATALINA_TMPDIR: /opt/alfresco-4.0.b/tomcat/temp
    Using JRE_HOME:        /opt/alfresco-4.0.b/java
    Using CLASSPATH:       /opt/alfresco-4.0.b/tomcat/bin/bootstrap.jar
    /opt/alfresco-4.0.b/tomcat/scripts/ctl.sh : tomcat started 
    • Check the startup
    # /etc/init.d/alfresco status
    tomcat already running
    postgresql already running 
    • show the listening sockets
    # netstat -lntp | sort -k 5
    tcp        0      0 0.0.0.0:21                  0.0.0.0:*                   LISTEN      12407/java
    tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      2149/sshd
    tcp        0      0 0.0.0.0:139                 0.0.0.0:*                   LISTEN      12407/java
    tcp        0      0 0.0.0.0:445                 0.0.0.0:*                   LISTEN      12407/java
    tcp        0      0 0.0.0.0:775                 0.0.0.0:*                   LISTEN      1865/rpc.statd
    tcp        0      0 0.0.0.0:7070                0.0.0.0:*                   LISTEN      12407/java
    tcp        0      0 0.0.0.0:8009                0.0.0.0:*                   LISTEN      12407/java
    tcp        0      0 0.0.0.0:8080                0.0.0.0:*                   LISTEN      12407/java
    tcp        0      0 0.0.0.0:8443                0.0.0.0:*                   LISTEN      12407/java
    tcp        0      0 0.0.0.0:47859               0.0.0.0:*                   LISTEN      12407/java
    tcp        0      0 0.0.0.0:50500               0.0.0.0:*                   LISTEN      12407/java
    tcp        0      0 0.0.0.0:50508               0.0.0.0:*                   LISTEN      12407/java
    tcp        0      0 0.0.0.0:56950               0.0.0.0:*                   LISTEN      12407/java
    tcp        0      0 0.0.0.0:59863               0.0.0.0:*                   LISTEN      12407/java
    tcp        0      0 127.0.0.1:5432              0.0.0.0:*                   LISTEN      12387/postgres
    tcp        0      0 127.0.0.1:8005              0.0.0.0:*                   LISTEN      12407/java
    tcp        0      0 127.0.0.1:8100              0.0.0.0:*                   LISTEN      12502/soffice.bin
    ID admin
    PW admin
    • Dash board

        iJAWS@Doorkeeper