1. 程式人生 > 資訊 >海外 WhatsApp 閱後即焚功能擴充套件:可以設定為 24 小時或 7 天 / 90 天

海外 WhatsApp 閱後即焚功能擴充套件:可以設定為 24 小時或 7 天 / 90 天

Confluence是一款由JAVA編寫用於企業知識庫管理協同軟體,多用於構建企業內部WIKI,支援多人協作,共享資訊等。 當前系統環境Centos7.9,記憶體至少2G以上,資料庫採用MySQL5.7,本機電腦系統Windows10 安裝前準備工作 1、請將confluence7.4破解包下載到本機電腦上 https://down.whsir.com/downloads/confluence7.4pojie.zip 2、請將java8程式下載安裝到本機電腦上 https://down.whsir.com/downloads/jdk-8u172-windows-x64.exe 注:安裝java用於執行confluence7.4破解程式 3、將MySQL驅動外掛下載至CentOS伺服器上 https://down.whsir.com/downloads/mysql-connector-java-5.1.46.tar.gz 4、在CentOS伺服器上新增wlnmp一鍵安裝包源 rpm -ivh https://mirrors.wlnmp.com/centos/wlnmp-release-centos.noarch.rpm 5、下載confluence7.4安裝包至CentOS伺服器上
https://down.whsir.com/downloads/atlassian-confluence-7.4.6-x64.bin
正式安裝部署開始 1、通過wlnmp包安裝jdk1.8及MySQL5.7 yum install jdk1.8 wmysql57 -y 注:該jdk是oracle提供的包,wlnmp一鍵包將其映象了過來 2、修改MySQL配置 編輯my.cnf檔案 vi /etc/my.cnf 將innodb_log_file_size = 32M改成innodb_log_file_size = 256M 將max_allowed_packet = 16M改成max_allowed_packet = 34M,注意此欄位有兩個 然後在[mysqld]欄位下新增一行:transaction-isolation=READ-COMMITTED 儲存退出,重啟MySQL:/etc/init.d/mysql restart 3、建立資料庫 注:通過wlnmp一鍵包安裝的MySQL5.7預設密碼是空 mysql -uroot -p mysql> create user confluence@localhost identified by 'blog.whsir.com'; mysql> create database confluence character set utf8 collate utf8_bin; mysql> grant all privileges on confluence.* to confluence@'localhost'; mysql> set password = password('whsir'); mysql> quit 此時資料庫root預設密碼更改為whsir,confluence使用單獨的庫、賬號密碼 4、安裝confluence chmod +x atlassian-confluence-7.4.6-x64.bin ./atlassian-confluence-7.4.6-x64.bin Unpacking JRE ... Starting Installer ... This will install Confluence 7.4.6 on your computer. OK [o, Enter], Cancel [c] 輸入字母o或者直接回車 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 7.4.6 is complete Start Confluence now? Yes [y, Enter], No [n] 輸入字母y或者直接回車 Please wait a few moments while Confluence starts up. Launching Confluence ... Installation of Confluence 7.4.6 is complete Your installation of Confluence 7.4.6 is now ready and can be accessed via your browser. Confluence 7.4.6 can be accessed at http://localhost:8090 Finishing installation ... 安裝完成後confluence會自動啟動 5、配置MySQL驅動 tar zxf mysql-connector-java-5.1.46.tar.gz cd mysql-connector-java-5.1.46 mv mysql-connector-java-5.1.46-bin.jar /opt/atlassian/confluence/confluence/WEB-INF/lib 6、開始破解 破解需要兩部,一是破解檔案,二是獲取授權碼 一、破解檔案 在CentOS伺服器上下載/opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-extras-decoder-v2-3.4.1.jar檔案到本地重新命名為atlassian-extras-2.4.jar 通過java執行confluence_keygen.jar(文中最開始的那個破解包,在windows上執行,需要在windows上安裝好java) 選擇.patch!找到剛才重新命名的那個檔案開啟 開啟後在當前目錄下可以看到atlassian-extras-2.4.jar和atlassian-extras-2.4.bak兩個檔案,這裡atlassian-extras-2.4.jar已經是破解好的了,將atlassian-extras-2.4.jar名字改回atlassian-extras-decoder-v2-3.4.1.jar 然後上傳回CentOS伺服器/opt/atlassian/confluence/confluence/WEB-INF/lib/目錄,覆蓋掉原來的atlassian-extras-decoder-v2-3.4.1.jar檔案 此時要重啟confluence服務:/etc/init.d/confluence restart 二、獲取授權碼 訪問web頁面,獲取伺服器ID,http://IP:8090 複製網頁中的伺服器ID,執行破解工具confluence_keygen.jar,破解複製Key到Confluence裡,獲得授權碼,進行下一步 選擇MySQL配置項,配置資料庫即可 7、驗證授權 右上角配置→一般配置→授權細節 請一定按照操作步驟來,不建議一上來就改來改去。 原文地址:https://www.cnblogs.com/tiechui2015/p/14964214.html