深圳雲端計算培訓學習:構建企業級WIKI及工單系統 --【千鋒】
深圳雲端計算培訓學習: 構建企業級 WIKI 及工單系統 -- 【千鋒】
-Author: bavdu
-Email: bavduer@163.com
-Github:
部署 Conflfluence Wiki 方案 (10000)
部署 JIRA 企業級工單系統 ( 作業 )
DNS 解析流程分析 ( 瞭解 )
##### 部署 Conflfluence Wiki 方案 (10000)
## 準備安裝環境
[root@confluence ~] # ntpdate -b ntp1.aliyun.com
10 Mar 17 :41:47 ntpdate[7249]: step time server 120 .25.115.20 offset 0 .122855 sec
[root@confluence ~] # systemctl stop firewalld
[root@confluence ~] # systemctl disable firewalld
[root@confluence ~] # sed -ri s/SELINUX=enforcing/SELINUX=disabled/g /etc/selinux/config
[root@confluence ~] # reboot
[root@confluence ~] # yum -y install java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.x86_64 - 安裝
Java
[root@confluence ~] # java -version -- 檢視 java 版本 , 出現以下資訊及代表成功
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1 .8.0_191-b12)
OpenJDK 64 -Bit Server VM (build 25 .191-b12, mixed mode)
## 部署資料庫
[root@confluence ~] # yum -y install mariadb-server mariadb -- 安裝資料庫
[root@confluence ~] # vim /etc/my.cnf
[mysqld]
...
transaction-isolation = READ-COMMITTED
...
[root@confluence ~] # systemctl start mariadb -- 啟動資料庫服務
[root@confluence ~] # systemctl enable mariadb -- 設定開機啟動
[root@confluence ~] # mysqladmin -uroot -p password "123456" -- 修改 mariadb 密碼
Enter password:< 此處直接回車即可 >
[root@confluence ~] # mysql -uroot -p123456 -- 登入驗證密碼
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 4 Server version: 5 .5.60-MariaDB MariaDB Server
Copyright (c) 2000 , 2018 , Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]>
## 設定 confluence 資料庫
MariaDB [(none)]> create database confluence default character set utf8 collate utf8_bin;
Query OK, 1 row affected ( 0.00 sec)
MariaDB [(none)]> exit
Bye
$ wget .atlassian.com /software/confluence/downloads/binary/atlassian-confluence-
6.14.2 -x64 .bin --- 下載 confluence
[root @confluence ~] # chmod 755 atlassian-confluence-6.14.2-x64.bin -- 增加程式執行許可權
## 部署 Confluence Wiki
[root@confluence ~] # ./atlassian-confluence-6.14.2-x64.bin
Unpacking JRE ...
Starting Installer ...
This will install Confluence 6 .14.2 on your computer.
OK [o, Enter], Cancel [c]
Click Next to continue, or Cancel to exit Setup.
Choose the appropriate installation or upgrade option.
Please choose one of the following:
Express Install (uses default settings) [1],
Custom Install (recommended for advanced users) [2, Enter],
Upgrade an existing Confluence installation [3]
1
See where Confluence will be installed and the settings that will be used.
Installation Directory: /opt/atlassian/confluence
Home Directory: /var/atlassian/application-data/confluence
HTTP Port: 8090
RMI Port: 8000
Install as service : Yes
Install [i, Enter], Exit [e]
i
Extracting files ...
Please wait a few moments while we configure Confluence.
Installation of Confluence 6 .14.2 is complete 伺服器輸入 http://192.168.161.100:8090 並根據提示到達下面的介面 :
conflfluence
Start Confluence now?
Yes [y, Enter], No [n]
y
Please wait a few moments while Confluence starts up.
Launching Confluence ...
Installation of Confluence 6 .14.2 is complete
Your installation of Confluence 6 .14.2 is now ready and can be accessed via
your browser.
Confluence 6 .14.2 can be accessed at
Finishing installation ...
## 破解操作
[root@confluence ~] # JAVA_OPTS="-javaagent:/opt/data/atlassian-agent.jar"
/opt/atlassian/confluence/bin/start-confluence.sh
To run Confluence in the foreground, start the server with start-confluence.sh -fg
executing using dedicated user: confluence
If you encounter issues starting up Confluence, please see the Installation guide at
+ Installation + Guide
/opt/atlassian/confluence/bin/setenv.sh: 第 33 行 :cd: /root: 許可權不夠
Server startup logs are located in /opt/atlassian/confluence/logs/catalina.out
---------------------------------------------------------------------------
Using Java: /opt/atlassian/confluence/jre//bin/java
2019 -03-10 18 :35:01,349 INFO [main] [atlassian.confluence.bootstrap.SynchronyProxyWatchdog]
A Context element for ${confluence.context.path} /synchrony-proxy is found in
/opt/atlassian/confluence/conf/server.xml. No further action is required
---------------------------------------------------------------------------
Using CATALINA_BASE: /opt/atlassian/confluence
Using CATALINA_HOME: /opt/atlassian/confluence
Using CATALINA_TMPDIR: /opt/atlassian/confluence/temp
Using JRE_HOME: /opt/atlassian/confluence/jre/
Using CLASSPATH:
/opt/atlassian/confluence/bin/bootstrap.jar:/opt/atlassian/confluence/bin/tomcat-juli.jar
Using CATALINA_PID: /opt/atlassian/confluence/work/catalina.pid
Tomcat started.
[root@confluence ~] # ps aux | grep javaagent conflfluence-mysql
conflue + 8295 97 .6 79 .4 3193692 790984 ? Sl 18 :35 0 :15
/opt/atlassian/confluence/jre//bin/java -
Djava .util.logging.config .file = /opt/atlassian/confluence/conf/logging.properties -
Djava .util.logging .manager = org.apache.juli.ClassLoaderLogManager -
javaagent :/opt/data/atlassian-agent.jar -Djdk .tls .ephemeralDHKeySize = 2048 -
Djava .protocol.handler .pkgs = org.apache.catalina.webresources -
Dorg .apache.catalina.security.SecurityListener .UMASK = 0027 -XX :ReservedCodeCacheSize = 256m -
XX : + UseCodeCacheFlushing -Dconfluence .context .path = -Datlassian .plugins.startup .options = -
Dorg .apache.tomcat.websocket .DEFAULT_BUFFER_SIZE = 32768 -Dsynchrony .enable.xhr .fallback = true
-Xms1024m -Xmx1024m -XX : + UseG1GC -Datlassian .plugins.enable .wait = 300 -
Djava .awt .headless = true -XX :G1ReservePercent = 20 -Xloggc :/opt/atlassian/confluence/logs/gc-
2019-03-10_18-35-01.log -XX : + UseGCLogFileRotation -XX :NumberOfGCLogFiles = 5 -
XX :GCLogFileSize = 2M -XX :-PrintGCDetails -XX : + PrintGCDateStamps -XX :-
PrintTenuringDistribution -Dignore .endorsed .dirs = -classpath
/opt/atlassian/confluence/bin/bootstrap.jar:/opt/atlassian/confluence/bin/tomcat-juli.jar -
Dcatalina .base = /opt/atlassian/confluence -Dcatalina .home = /opt/atlassian/confluence -
Djava .io .tmpdir = /opt/atlassian/confluence/temp org.apache.catalina.startup.Bootstrap start
root 8319 0 .0 0 .0 112724 980 pts/0 R + 18 :35 0 :00 grep --color = auto
javaagent
將 server ID 複製( -m 郵箱 -n 使用者名稱 -o 公司名 -s SERVER ID )
[root@confluence ~] # java -jar /opt/data/atlassian-agent.jar -p conf -m aaa@bbb.com -n
my_name -o -s BINK-R6C4-STKK-S227
====================================================
======= Atlassian Crack Agent =======
======= =======
======= QQ Group: 30347511 =======
====================================================
Your license code(Don 't copy this line!!!):
AAABOQ0ODAoPeJxtUF1rgzAUfc + vCOzZ1mi7j0Jgm/ogVTtqu9dxtbdrQKMkUeZ + /VJ1exiFCyHn5
J6cc + 7yTtIUFGUuZY8b345Pg/xAPZc9kUAhGNHIEAzyK + K4vsNcEvVQdSPDz1BpJCHqUol2RI6yE
rUweKKVKFFqpMVAL8a0erNcfl9EhQvRkJ36BCn0JPLLFtCfuitbNvK8gNKIHrlRHZKgkcbeoxREx
QHguSiKRdnU08vcgDKoZjMjlEx/H4YWM6iRB7s0jfZB/JIQqyENSpAlRl + tUMMc79HGe7BD5t045
Ekc5lHmJGy99jy28pm/9j2So + pRWfo1zrbO/j5YOflhu3Vyz/tbvq381qnyAhr/Fzo39Y5KX/vwp
gxZVxeoduejtjh3GLFe + A0/czljznr4kPb8AelxmHIwLQIVAITGL6aJW04mqhU1zEosdVIsel/2A
hQwsIpSmc6gZ3Gc3lMa /eixM5NTFw == X02fn
[root@confluence ~] #
[root@confluence ~] # wget https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-
java-5.1.47.tar.gz
[root@confluence ~] # tar xf mysql-connector-java-5.1.47.tar.gz
[root@confluence ~] # cd mysql-connector-java-5.1.47
[root@confluence mysql-connector-java-5.1.47] # ls
build.xml COPYING mysql-connector-java-5.1.47.jar README.txt
CHANGES mysql-connector-java-5.1.47-bin.jar README src[root@confluence mysql-connector-java-5.1.47] # cp *.jar
/opt/atlassian/confluence/confluence/WEB-INF/lib/
## 重新啟動
[root@confluence ~] # /opt/atlassian/confluence/bin/shutdown.sh
[root@wiki mysql-connector-java-5.1.47] # JAVA_OPTS="-javaagent:/opt/data/atlassian-
agent.jar" /opt/atlassian/confluence/bin/start-confluence.sh
[root@confluence ~] # java -jar /opt/data/atlassian-agent.jar -p conf -m aaa@bbb.com -n
my_name -o -s BINK-R6C4-STKK-S227
## 重新整理頁面測試連線資料庫
conflfluence-test
最後安裝成功的介面 :
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/69947096/viewspace-2663107/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 深圳雲端計算培訓學習:部署網校系統 edusoho--【千鋒】
- 深圳雲端計算培訓學習:Apache 訪問控制--【千鋒】Apache
- 雲端計算學習路線教程大綱課堂筆記:構建企業級WIKI及工單系統筆記
- 深圳雲端計算培訓學習:雲端計算正在殺死運維嗎?–【千鋒】運維
- 深圳雲端計算培訓學習:女生做雲端計算運維容易嗎?–【千鋒】運維
- 深圳java培訓:構建xml文件--【千鋒】JavaXML
- 大資料和雲端計算的關係是什麼?-千鋒深圳雲端計算培訓大資料
- 深圳Java培訓學習:MyBatis Plus 介紹--【千鋒】JavaMyBatis
- 深圳Web前端培訓學習:js中的模組化--【千鋒】Web前端JS
- 運維工程師怎樣才能更好的進階?-千鋒深圳雲端計算培訓運維工程師
- 深圳Python培訓學習:Python3 簡介–[千鋒]Python
- 深圳軟體測試培訓學習:Java Random介紹--【千鋒】Javarandom
- 深圳軟體測試培訓學習:Java連線MySQL--【千鋒】JavaMySql
- 深圳雲端計算培訓學習:是不是有了阿里雲,對於運維工程師的需求就減少了呢?–【千鋒】阿里運維工程師
- 深圳Web前端學習:學 Web 前端開發,培訓還是自學靠譜?-千鋒Web前端
- 學習雲端計算需要培訓嗎?雲端計算需要學習什麼內容?
- 培訓Linux學校,雲端計算學習感悟Linux
- 深圳軟體測試培訓學習:Android常用自動化測試工具【千鋒】Android
- 深圳Web前端培訓學習:5G對Web前端發展的影響--【千鋒】Web前端
- 北京學Linux雲端計算哪個培訓機構好?Linux
- 深圳大資料學習:泛型--【千鋒】大資料泛型
- 千鋒長沙Java培訓:鴻蒙系統入門講解Java鴻蒙
- 千鋒雲端計算畢業設計論文:企業級私有云平臺設計報告目錄加緒論
- 深圳Java培訓:MyBatis為什麼在國內相當流行?【千鋒】JavaMyBatis
- 學習雲端計算簡單嗎?專科生學習雲端計算就業前景如何?就業
- 好程式設計師雲端計算培訓分享學了雲端計算將來就業怎麼樣?程式設計師就業
- 企業培訓小程式用得好有哪些體現?企業培訓系統原始碼對職工的益處原始碼
- 深圳大資料學習:方法的巢狀--【千鋒】大資料巢狀
- 深圳大資料學習:高階函式--【千鋒】大資料函式
- 參加千鋒長沙Java培訓機構怎麼樣?Java
- 千鋒雲端計算教程全新升級!碾壓式迭代變革,構築技術壁壘
- 深圳Web前端學習:如何給網頁劃分合適的結構--【千鋒】Web前端網頁
- 雲端計算時代的深度學習訓練深度學習
- 企業內部專用,企業培訓系統原始碼原始碼
- 深圳Java學習:小白速懂Https協議-千鋒JavaHTTP協議
- 不想敲程式碼雲端計算瞭解下?千鋒雲端計算教程限時領取
- 雲端計算工程師培訓須知工程師
- .NET企業級系統架構設計架構