KM (E-DMC: 企業文件管理中心) 工作項目
12 月 04
0. 工作項拆解(心智圖)
1. 工作執行的指派
2. 區分成員角色
3. 文件分類設定與例外處理
4. 操作訓練
5.
隨手筆記
12 月 04
未分類 document, forum, note, openkm, 文件 No Comments
Official Web Site (Community edition)
http://www.openkm.com/en/community.html
On-line document
http://wiki.openkm.com/index.php/Main_Page
6.3之後會重建在
http://docs.openkm.com/kcenter/
Forum
http://forum.openkm.com/
版本升級指南
http://wiki.openkm.com/index.php/Migration_Guide
— notes here —
1.基本應該知道的
http://wiki.openkm.com/index.php/Basic_application_knowledge
預設使用者: okmAdmin
預設密碼: admin
預設情況下, maximum file upload size 是沒有限制的 (應確認Java環境下的上限)
系統環境設定: $TOMCAT_HOME/conf/server.xml
OpenKM啟動指令: $TOMCAT_HOME/bin/catalina.sh start
2. 版本升級時遇到 HSQL 的問題
java -jar hsqldb.jar
選擇一般的 standalone
檔案路徑為 /opt/openkm-6.3.0-community/tomcat/repository/okmdb
建議可改掉 OpenKM.war 及 catalina 的目錄, 讓 OpenKM 自行重新產生目錄
3. 瀏覽器支援
因為必須有 NPAPI 來引導 java run time, 但chrome在2015/9起不支援該方法
目前 IE, firefox, opera均可
4. 20151224遭遇http://forum.openkm.com/viewtopic.php?t=5315的問題
原系統由4GB降到1.5G, 所以再調回2GB, 就OK了
—————————–
OpenKM想要檢索中日文
http://wiki.openkm.com/index.php/Indexing_configuration
—-
OpenKM 6.0 has more flexible indexing configuration, based in Apache Lucene.
For example, depending on the lenguage used in the documents and properties, you have obtain better search results configuring a proper Lucene Analyzer. This can be done editing the OpenKM.cfg file and setting the hibernate.search.analyzer configuration property.
By default, OpenKM use the org.apache.lucene.analysis.standard.StandardAnalyzer which works fine with english and most languages, but you can get better search results configuring more specific analyzer for you language. Some of them are listed here:
—-
OpenKM 預設已有 smartcn 的中文解析 3.1.0 版本
也可以另行下載 lucene-smartcn-3.6.2.jar
http://central.maven.org/maven2/org/apache/lucene/lucene-
smartcn/3.6.2/lucene-smartcn-3.6.2.jar
放到以下目錄
cd /opt/openkm-6.3.0-community/tomcat/webapps/OpenKM/WEB-INF/lib/
12 月 02
1. 閱讀遊戲手冊(愈強大的程式語言, 所需的手冊愈厚, 例如創世紀/荒野遊俠)
2. 試玩看看(Hello World)
3. 找多一點人來玩 (試各種不同情境, 不同人/情境, 會發生什麼事?) :這個挺花時間的
例如: 寫一個可以發mail的程式
4. 熟練它 (遭遇愈多狀況, 一開始本來就玩得不好, 要愈玩愈厲害)
5. 參加全國大賽, 看看別人怎麼玩, 有什麼新玩法。
6. 建立遊戲戰術方法, (程式框架/模版)
7. 變成遊戲大師, 開課分享技巧(有天分的就理解得快, 上手的快)
8. 遊戲變種, 同樣是躲迷藏, 不同地區的人, 玩法不同, 甚至改點小規則, 但不影響精神本質。
12 月 01
未分類 convert, openkm, 轉檔 No Comments
enable the OpenOffice conveting function
使 OpenOffice 格式轉為可線上閱讀的版本
apt-get install libreoffice
/usr/bin/soffice “-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager” -nologo -headless -nofirststartwizard &
pdf2swf (轉檔用)
apt-get install swf_tools
如有pdf2swf轉檔失敗, 有以下訊息
Truetype wasn’t able to load glyph 69
10 月 21
Alfresco, 未分類 alfresco No Comments
Install Guide
http://docs.alfresco.com/community/concepts/download-community.html
Download file (about 750MB)
http://dl.alfresco.com/release/community/5.0.d-build-00002/alfresco-community-5.0.d-installer-linux-x64.bin
Step 1: install with root permission in text mode
$ sudo /bin/bash ./alfresco-community-5.0.d-installer-linux-x64.bin –mode text
Step 2: setting by defaults
Step 3: login the system with web browser
http://your-ip:8080/share
or
https://your-ip:8443/share
—
#CIFS setting, 編輯 alfresco-global.properties
cifs.enabled=true
cifs.serverName=km.twnet.ga
cifs.tcpipSMB.port=445
cifs.netBIOSSMB.namePort=137
cifs.netBIOSSMB.datagramPort=138
cifs.netBIOSSMB.sessionPort=139
# FTP service
ftp.enabled=true
ftp.port=21
10 月 14
可簡寫為ELK
相關資訊與軟體,均可在以下網址取得
https://www.elastic.co/downloads
[環境]
0.Hardware:
CPU: 2 cores
H.D: 80G
RAM: 2GB
1.OS:
“Ubuntu Server 14.04.3 LTS” in Virtualbox VM 5.0.6(x64)
WM and DM: xfce4 and lightdm
(註:如需變更桌面管理或視窗管理, 可參考http://blog.dgps.kh.edu.tw/blog/jimjye/ubuntuc/2012/06/26/3657)
2.Install setting:
Service: SSH only
H.D Layout: LVM for whole the disk
User: joechen / niuxxxcc
3.Install ELK
3.0 install JDK
sudo apt-get install openjdk-7-jre
3.1 install ElasticSearch
Download and install the Public Signing Key:
wget -qO – https://packages.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add –
Save the repository definition to /etc/apt/sources.list.d/elasticsearch-{branch}.list:
echo “deb http://packages.elastic.co/elasticsearch/1.7/debian stable main” | sudo tee -a /etc/apt/sources.list.d/elasticsearch-1.7.list
# sudo apt-get update && sudo apt-get install elasticsearch
Configure Elasticsearch to automatically start during bootup, (for Ubuntu 14.0.3 LTS server)
# sudo update-rc.d elasticsearch defaults 95 10
# service elasticsearch start
then, you can check the service by typing “netstat -tln”
3.2 install logstash
wget https://download.elastic.co/logstash/logstash/packages/debian/logstash_1.5.4-1_all.deb
sudo dpkg -i logstash_1.5.4-1_all.deb
3.3 install logstash-forwarder
wget https://download.elastic.co/logstash-forwarder/binaries/logstash-forwarder_0.4.0_amd64.deb
sudo dpkg -i logstash-forwarder_0.4.0_amd64.deb
3.4 install kibana
wget https://download.elastic.co/kibana/kibana/kibana-4.1.2-linux-x64.tar.gz
cd /opt
tar zxvf kibana-4.1.2-linux-x64.tar.gz ; mv kibana-4.1.2-linux-x64 kibana
# /opt/kibana/bin/kibana &
netstat -tln (to check if port 5601 is used)
3.5 install Shield
3.6 install Packetbeat
3.7 install topbeat
3.8 kibana plugin
https://github.com/sirensolutions/sentinl/wiki/SENTINL-Installation
Centos
sudo yum install fontconfig freetype
Kibana 4.x
Snapshot Plugin Install
Browse to our releases and choose the relevant version, ie: tag-4.6.4-4 to use for installing the plugin:
/opt/kibana/bin/kibana plugin --install sentinl -u https://github.com/sirensolutions/sentinl/releases/download/tag-4.6.4-4/sentinl.zip
參考文件
http://www.code123.cc/docs/kibana-logstash/v4/setup.html
另一篇適合安裝新手的
https://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-logstash-and-kibana-4-on-ubuntu-14-04