云计算学习路线教程大纲课堂笔记:构建企业级WIKI及工单系统
admin
2023-03-29 09:01:56
0

云计算学习路线教程大纲课堂笔记:构建企业级WIKI及工单系统:

-Author: bavdu

-Email: bavduer@163.com

-Github: https://github.com/bavdu

部署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 4Server 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 https://www.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 http://localhost:8090

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

http://confluence.atlassian.com/display/DOC/Confluence+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 javaagentconflfluence-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 https://bavdu.io -s BINK-R6C4-STKK-S227

====================================================

======= Atlassian Crack Agent =======

======= https://zhile.io =======

======= 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

gxZVxeoduejtjh4GLFe+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 https://bavdu.io -s BINK-R6C4-STKK-S227

##刷新页面测试连接数据库

conflfluence-test

相关内容

热门资讯

原创 硬... 近日,中国华瀛能源果断出手,分别在北京、上海两地法院,起诉摩根大通与花旗集团。起因是两家外资银行盲从...
OTA 升级后续航减 200 ... 系统 OTA 升级后续航从 500km 变 300km?央视揭秘新能源汽车「锁电」真相 5 月 1...
他信假释出狱,小女儿佩通坦到场... 据《曼谷邮报》、路透社报道,当地时间5月11日,泰国前总理他信假释出狱。现场画面显示,他信留着利落短...
特朗普拒绝伊朗方案,油价应声上... 【文/观察者网 王恺雯】美国总统特朗普拒绝伊朗提出的结束战争方案后,国际油价大幅上涨。美东时间5月1...
广东省地震局将发送地震预警科学... 2026年5月12日是第18个全国防灾减灾日。 为让全省公众能及时接收地震预警信息,增强公众防灾减灾...
空调匹数对应多大面积 空调匹数与房间面积的对应关系会受到多种因素的影响,例如房间的朝向、隔热性能、楼层高度、人员数量等。一...
冰柜从哪排水 冰柜是通过排水口进行排水,一般都是在冰柜的最底端的最左侧,打开后面盖子就可以看到那个排水孔了,一般有...
签约服务走过十年 家庭医生如何... 基层群众了解较少、基层医生待遇较低、基层资源落实较难……家庭医生签约服务面临“成长烦恼”签约服务走过...
告诉下风暖浴霸温度达到50度正... 风暖浴霸的温度通常是在20~40度左右,那正常的都是会开到30度左右,差不多也就够用了。如果你家的温...
空调挂机漏水怎么维修 空调挂机是现代生活中必不可少的电器之一,尤其在夏季时更是被广泛使用。但是,如果当你发现你的空调挂机不...