Install conference and decipher

Keywords: Javascript MySQL Database yum Java

Log in to liunx to get administrator permission

sudo -i
cd /home/maxiaolin

Install jdk

yum -y install java
java -version

Install mysql

  1. Check if mysql is installed
rpm -qa | grep mysql
>>mysql-libs-5.1.73-7.el6.x86_64
  1. Uninstall mysql
RPM - E -- nodes mysql-libs-5.1.73-7.el6.x86_ (the option you see) / / strong delete mode. If you use the above command to delete, you will be prompted that there are other dependent files, you can use this command to strong delete them

3. Install mysql

yum install -y mysql mysql-server mysql-devel
service mysqld start

4. Change the root password

mysqladmin -u root password "root"

5. Initialize database

mysql> CREATE DATABASE confluence CHARACTER SET utf8 COLLATE utf8_bin;
mysql> GRANT ALL PRIVILEGES ON confluence.* TO 'confluence'@'localhost' IDENTIFIED BY '123.com';
mysql> GRANT ALL PRIVILEGES ON confluence.* TO 'confluence'@'10.16.10.44' IDENTIFIED BY '123.com';
mysql> FLUSH PRIVILEGES;

6. Modify permissions and default engine

mysql -u root -p
SET GLOBAL tx_isolation='READ-COMMITTED';
show engines;
vi /etc/my.cnf
//Add default storage engine = InnoDB
service mysqld restart

Install Conference

Download the conference Linux version from the official website
Modify authority

chmod +x atlassian-confluence-6.8.5-x64.bin

Run installation package

Default program / opt / atlas / Conference

Default data / var / atlas / application data / Conference
Default port 8090 open page with browser

#Administrator rights required
#Shut down service
service confluence stop         
#Startup service
service confluence start   



The next one is deciphering. Deciphering is troublesome

Download the decipher tool to the local, not the server. The server can't run without the guid page
https://files.cnblogs.com/fil...

Record the server id above
Shut down the service and copy out the jar package to be cracked

#Shut down service
service confluence stop      
#Add jar directory
cd /opt/atlassian/confluence/confluence/WEB-INF/lib
#Move files to be cracked and rename
mv atlassian-extras-decoder-v2-3.3.0.jar  /home/maxiaolin/atlassian-extras-2.4.jar

Why rename it? Because the cracker only knows the name atlassian-extras-2.4.jar

Operate locally
Download files locally

scp  maxiaolin@10.79.101.227:/home/maxiaolin/atlassian-extras-2.4.jar ./

Decompress and crack the package
Running inside

./keygen.sh


Click the. patch! Button to select the atlas ian-extras-2.4.jar file
Click. gen! To generate key, click key to copy

Next, put the cracked atlas-extras-2.4.jar back to the source, which is equivalent to reverse operation

scp  ./atlassian-extras-2.4.jar maxiaolin@10.79.101.227:/home/maxiaolin/
mv   /home/maxiaolin/atlassian-extras-2.4.jar 
/opt/atlassian/confluence/confluence/WEB-INF/libatlassian-extras-decoder-v2-3.3.0.jar

You need to download mysql jdbc driver and put the driver in / home / maxiaolin / atlas-extras-2.4.jar
/Under the directory of OPT / atlas / conference / conference / WEB-INF /
Run Conference

Click next, and select mysql as the database
Remember to add "useunicode = true & characterencoding = UTF-8" to the database address
Otherwise, there will be confusion
jdbc:mysql:localhost/confluencedb?useUnicode=true&characterEncoding=UTF-8

Posted by psyion on Fri, 01 Nov 2019 23:38:32 -0700