2016年1月17日 星期日
Confluence-Hardware Spectiction
可參考這個網址的建議:https://confluence.atlassian.com/doc/server-hardware-requirements-guide-30736403.html
2016年1月7日 星期四
2016年1月5日 星期二
Confluence-Dashboard調整layout方式EX1
Step1: Edit Site Layouts as shown as below
Step2:
修改下列程式碼
<div class="dashboard-group left">
#dashboard_renderGlobalActions("dashboardActionsId", ["system.dashboard"] )
#foreach ($webPanel in $webInterfaceManager.getDisplayableWebPanels("atl.dashboard.left", {}))
<div class="dashboard-item">
$!webPanel.getHtml($req.getParameterMap())
</div>
#end
</div>## left
<div class="dashboard-group right">
$helper.renderConfluenceMacro("{recently-updated-dashboard:dashboard|showProfilePic=true}")
</div>## right
新的程式碼
<div>
$helper.renderConfluenceMacro("{include:DAS:dashboard}")
</div>## right
Ubuntu-更改sources.list
參考下列文章說明 sourcelist
Step1:cp -a /etc/apt/sources.list /etc/apt/sources.list.bak
Step2:rm -rf /etc/apt/sources.list (或是直接改內容)
or
Step3: sudo vi /etc/apt/sources.list
#deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ubuntu.stu.edu.tw/ubuntu/ lucid main restricted
deb-src http://ubuntu.stu.edu.tw/ubuntu/ lucid main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://ubuntu.stu.edu.tw/ubuntu/ lucid-updates main restricted
deb-src http://ubuntu.stu.edu.tw/ubuntu/ lucid-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://ubuntu.stu.edu.tw/ubuntu/ lucid universe
deb-src http://ubuntu.stu.edu.tw/ubuntu/ lucid universe
deb http://ubuntu.stu.edu.tw/ubuntu/ lucid-updates universe
deb-src http://ubuntu.stu.edu.tw/ubuntu/ lucid-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ubuntu.stu.edu.tw/ubuntu/ lucid multiverse
deb-src http://ubuntu.stu.edu.tw/ubuntu/ lucid multiverse
deb http://ubuntu.stu.edu.tw/ubuntu/ lucid-updates multiverse
deb-src http://ubuntu.stu.edu.tw/ubuntu/ lucid-updates multiverse
## Uncomment the following two lines to add software from the ‘backports’
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://tw.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
# deb-src http://tw.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical’s
## ‘partner’ repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu lucid partner
# deb-src http://archive.canonical.com/ubuntu lucid partner
deb http://ubuntu.stu.edu.tw/ubuntu/ lucid-security main restricted
deb-src http://ubuntu.stu.edu.tw/ubuntu/ lucid-security main restricted
deb http://ubuntu.stu.edu.tw/ubuntu/ lucid-security universe
deb-src http://ubuntu.stu.edu.tw/ubuntu/ lucid-security universe
deb http://ubuntu.stu.edu.tw/ubuntu/ lucid-security multiverse
deb-src http://ubuntu.stu.edu.tw/ubuntu/ lucid-security multiverse
Step1:cp -a /etc/apt/sources.list /etc/apt/sources.list.bak
Step2:rm -rf /etc/apt/sources.list (或是直接改內容)
or
Step3: sudo vi /etc/apt/sources.list
#deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ubuntu.stu.edu.tw/ubuntu/ lucid main restricted
deb-src http://ubuntu.stu.edu.tw/ubuntu/ lucid main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://ubuntu.stu.edu.tw/ubuntu/ lucid-updates main restricted
deb-src http://ubuntu.stu.edu.tw/ubuntu/ lucid-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://ubuntu.stu.edu.tw/ubuntu/ lucid universe
deb-src http://ubuntu.stu.edu.tw/ubuntu/ lucid universe
deb http://ubuntu.stu.edu.tw/ubuntu/ lucid-updates universe
deb-src http://ubuntu.stu.edu.tw/ubuntu/ lucid-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ubuntu.stu.edu.tw/ubuntu/ lucid multiverse
deb-src http://ubuntu.stu.edu.tw/ubuntu/ lucid multiverse
deb http://ubuntu.stu.edu.tw/ubuntu/ lucid-updates multiverse
deb-src http://ubuntu.stu.edu.tw/ubuntu/ lucid-updates multiverse
## Uncomment the following two lines to add software from the ‘backports’
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://tw.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
# deb-src http://tw.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical’s
## ‘partner’ repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu lucid partner
# deb-src http://archive.canonical.com/ubuntu lucid partner
deb http://ubuntu.stu.edu.tw/ubuntu/ lucid-security main restricted
deb-src http://ubuntu.stu.edu.tw/ubuntu/ lucid-security main restricted
deb http://ubuntu.stu.edu.tw/ubuntu/ lucid-security universe
deb-src http://ubuntu.stu.edu.tw/ubuntu/ lucid-security universe
deb http://ubuntu.stu.edu.tw/ubuntu/ lucid-security multiverse
deb-src http://ubuntu.stu.edu.tw/ubuntu/ lucid-security multiverse
Confluence-如何製作DB備份(將資料匿名)
參考這篇文章說明: db ,依照您所使用的資料庫來調整方式
Step1: 將身分別切換到postgres,使用指令 su - postgres
Step2:pg_dump -U postgres confluenceDB > /tmp/outfile.dump
Step3:createdb -U postgres tempDB
Step4:psql -U username tempDB < outfile.dump
Step5:
Step1: 將身分別切換到postgres,使用指令 su - postgres
Step2:pg_dump -U postgres confluenceDB > /tmp/outfile.dump
Step3:createdb -U postgres tempDB
Step4:psql -U username tempDB < outfile.dump
Step5:
update
BODYCONTENT
set
BODY=
'a'
;
update
CWD_USER
set
CREDENTIAL=
'{PKCS5S2}ymGp6ZB7V+CS6xORA4DEDNDnv+RHyLlZl43Rc25gJ+Vw7ZTUGpzxuDhJv7hAgruT'
;
Confluence-如何指定80 port啟動confluence服務
Step1: 新增confluence_user帳號 (useradd)
Step2: 將此帳號加入到 sudo 群組 : sudo confluence_user sudo
Step3: 切換到confluence_user帳號並執行下列指令啟用confluence 服務
Step2: 將此帳號加入到 sudo 群組 : sudo confluence_user sudo
Step3: 切換到confluence_user帳號並執行下列指令啟用confluence 服務
Confluence-如何解決SPAM內容及清除
可參考下列文章說明,目前還沒有實際測試,待實際測試後再與大家分享
https://confluence.atlassian.com/doc/preventing-and-cleaning-up-spam-211651563.html
https://confluence.atlassian.com/doc/preventing-and-cleaning-up-spam-211651563.html
訂閱:
文章 (Atom)