0. 系统版本
0 1 2 3 4 5 6 7 8 9 10 |
$ cat /etc/redhat-release CentOS Stream release 9 $ uname -a Linux confluence.t4x.org 5.14.0-437.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 9 12:57:02 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux -rwxr-xr-x. 1 root root 938656129 Apr 24 12:54 atlassian-confluence-8.8.1-x64.bin -rw-r--r--. 1 root root 977312 Apr 25 13:11 Crack.jar -rw-r--r--. 1 root root 141600542 Apr 25 16:56 jdk-8u401-linux-x64.tar.gz -rw-r--r--. 1 root root 666559924 Apr 25 16:52 mysql-5.7.36-linux-glibc2.12-x86_64.tar.gz -rw-r--r--. 1 root root 3362563 Nov 19 19:10 mysql-connector-java-5.1.49.tar.gz |
1. JDK安装
1:JDK下载:https://www.oracle.com/java/technologies/javase/javase8u211-later-archive-downloads.html
SourceByrd's Weblog-https://note.t4x.org/other/install-confluence-crack/
01234567 $ dnf install vim wget net-tools tar -y$ tar zxf jdk-8u401-linux-x64.tar.gz$ mv jdk1.8.0_401 /opt/$ cat /etc/profile|tail -3export JAVA_HOME=/opt/jdk1.8.0_401export CLASSPATH=${JAVA_HOME}/lib/export PATH=$PATH:${JAVA_HOME}/bin:${CLASSPATH}:/usr/local/mysql/bin$ source /etc/profile
2. MySQL安装SourceByrd's Weblog-https://note.t4x.org/other/install-confluence-crack/
2.1 MySQL下载
0123456 $ wget https://mirrors.sohu.com/mysql/MySQL-5.7/mysql-5.7.36-linux-glibc2.12-x86_64.tar.gz$ tar zxf mysql-5.7.36-linux-glibc2.12-x86_64.tar.gz$ mv mysql-5.7.36-linux-glibc2.12-x86_64 /opt/$ ln -s /opt/mysql-5.7.36-linux-glibc2.12-x86_64 /usr/local/mysql$ wget https://mirrors.sohu.com/mysql/MySQL-8.0/mysql-8.0.28-linux-glibc2.12-x86_64.tar.xz$ tar xf mysql-8.0.28-linux-glibc2.12-x86_64.tar.xz
2.2 MySQL初始化
0123456789101112 $ dnf install libaio ncurses-devel -y$ mkdir -p /data/mysql/sql_log/$ mkdir -p /data/mysql/3306$ groupadd -r mysql -g 27$ useradd -r mysql -u 27 -g mysql -s /sbin/nologin$ mkdir /usr/local/mysql/tmp$ chown -R mysql.mysql /usr/local/mysql/tmp/$ chown -R mysql.mysql /data/mysql/$ /usr/local/mysql/bin/mysqld --defaults-file=/etc/my.cnf --initialize-insecure --user=mysql --basedir=/usr/local/mysql/ --datadir=/data/mysql/3306/$ mkdir /etc/init.d$ cp /usr/local/mysql/support-files/mysql.server /etc/init.d/mysqld$ chmod +x /etc/init.d/mysqld$ /etc/init.d/mysqld start
2.3 配置文件
012345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 $ cat /etc/my.cnf[client]port = 3306socket = /usr/local/mysql/tmp/mysql.sock[mysqld]character-set-server=utf8mb4collation-server=utf8mb4_bindefault-storage-engine=INNODBuser = mysqlport = 3306socket = /usr/local/mysql/tmp/mysql.sockbasedir = /usr/local/mysqldatadir = /data/mysql/3306open_files_limit = 10240back_log = 600max_connections = 3000max_connect_errors = 6000external-locking = FALSEmax_allowed_packet = 256Mtransaction-isolation=READ-COMMITTEDbinlog_format=rowlog_bin_trust_function_creators = 1sort_buffer_size = 2Mjoin_buffer_size = 2Mthread_cache_size = 300query_cache_size = 64Mquery_cache_limit = 4Mquery_cache_min_res_unit = 2kthread_stack = 192Ktransaction_isolation = READ-COMMITTEDtmp_table_size = 128Mmax_heap_table_size = 128Mlong_query_time = 2log-error = /usr/local/mysql/tmp/error.logpid-file = /usr/local/mysql/tmp/mysql.pidlog-bin = /data/mysql/sql_log/mysql-binrelay_log = /data/mysql/sql_log/relay-binrelay-log-info-file = /data/mysql/sql_log/relay-log.infobinlog_cache_size = 4Mmax_binlog_cache_size = 8Mmax_binlog_size = 512Mexpire_logs_days = 7key_buffer_size = 32Mread_buffer_size = 1Mread_rnd_buffer_size = 16Mbulk_insert_buffer_size = 64Mmyisam_sort_buffer_size = 128Mmyisam_repair_threads = 1lower_case_table_names = 1skip-name-resolveslave-skip-errors = 1032,1062,1007#replicate-ignore-db = mysqlserver-id = 10gtid_mode = onenforce_gtid_consistency = onexplicit_defaults_for_timestamp = true#log-slave-updates = 1#skip_slave_start = 1log-slave-updates = trueenforce-gtid-consistency = true#read_only = on#master_info_repository = TABLE#relay_log_info_repository = TABLE#super_read_only = onbinlog_row_image = minimallog_timestamps = SYSTEMlog_bin_trust_function_creators = 1innodb_log_file_size=256M#slave_parallel_type = LOGICAL_CLOCK#slave_parallel_workers = 4#rpl_semi_sync_slave_enabled = ON#skip-grant-tablessql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTIONoptimizer_switch = derived_merge=off
2.4 数据库配置
SourceByrd's Weblog-https://note.t4x.org/other/install-confluence-crack/
012345678910111213 $ dnf clean all && dnf makecache$ dnf install libaio ncurses-devel -y$ ln -s /usr/lib64/libncurses.so.6 /usr/lib64/libncurses.so.5$ ln -s /usr/lib64/libtinfo.so.6 /usr/lib64/libtinfo.so.5$ mysql -uroot -p #默认空密码mysql> CREATE USER 'confluence'@'%' IDENTIFIED BY '密码';mysql> CREATE DATABASE confluence CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;mysql> GRANT ALL PRIVILEGES ON confluence.* TO 'confluence'@'%' WITH GRANT OPTION;mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY 'password';mysql> CREATE USER 'confluence'@'%' IDENTIFIED BY '密码';mysql> ALTER USER 'confluence'@'%' IDENTIFIED WITH mysql_native_password BY '密码';mysql> GRANT ALL PRIVILEGES ON confluence.* TO 'confluence'@'%' WITH GRANT OPTION;mysql> FLUSH PRIVILEGES;
3. Confluence安装SourceByrd's Weblog-https://note.t4x.org/other/install-confluence-crack/
3.1 软件下载
0 官网:https://www.atlassian.com/zh/software/confluence/download-archives
3.2 Confluence安装
SourceByrd's Weblog-https://note.t4x.org/other/install-confluence-crack/
01 $ chmod +x atlassian-confluence-8.8.1-x64.bin$ ./atlassian-confluence-8.8.1-x64.bin备注:
是否要将confluence安装到此台服务器?o或者回车均可!
安装方式选择分别是1,默认安装;2自定义安装【指定安装目录以及服务端口】;3升级相关(#`O′)
开始安装!
安装成功后,是否启动服务? 我选择不启动! SourceByrd's Weblog-https://note.t4x.org/other/install-confluence-crack/3.3 Crack相关
SourceByrd's Weblog-https://note.t4x.org/other/install-confluence-crack/
012345678 $ tar zxf mysql-connector-java-5.1.49.tar.gz$ mv mysql-connector-java-5.1.49/mysql-connector-java-5.1.49* /opt/atlassian/confluence/confluence/WEB-INF/lib/$ wget -O /opt/atlassian/confluence/bin/Crack.jar https://yun.ittel.cn:1443/f/166bc403014d4836bb1d/?dl=1$ sed -i '$a export JAVA_OPTS="-javaagent:/opt/atlassian/confluence/bin/Crack.jar ${JAVA_OPTS}"' /opt/atlassian/confluence/bin/setenv.sh$ chown -R confluence.confluence /opt/atlassian$ su - confluence$ /opt/atlassian/confluence/bin/startup.sh #进入浏览器http://IP:8090/开始安装==== 伟大的分隔符 ====$ java -jar /opt/atlassian/confluence/bin/Crack.jar -d true -p conf -m ddd@fff.com -n my_name -o http://IP -s E424-xxxx-xxxx-xxxx
4. 完成信息
0 1 2 3 4 5 6 7 |
附件存储类型:FILESYSTEM storage.version:V4 系统安装日期:Thursday, April 25, 2024 正常运行时间:43 minutes, 38 seconds Confluence版本:8.8.1 服务器主页URL:http://IP:8090 Confluence主目录:/opt/atlassian/application-data/confluence 订阅到期:您的订阅将于 7月 06, 2089 到期。 |
后记:因为安装markdown插件的时候有问题,把8.8.1版本降级到了atlassian-confluence-8.5.8-x64.bin版本。enjoy it! SourceByrd's Weblog-https://note.t4x.org/other/install-confluence-crack/
申明:本文仅用于个人学习使用,请勿用于商业用途,呼吁大家在经济允许情况下支持正版。SourceByrd's Weblog-https://note.t4x.org/other/install-confluence-crack/
资料链接:
0. 百度盘
1. https://oskr.cn/archives/confluence856-an-zhuang--po-jieSourceByrd's Weblog-https://note.t4x.org/other/install-confluence-crack/
SourceByrd's Weblog-https://note.t4x.org/other/install-confluence-crack/