Download the latest version of Https://www.atlassian.com/software/confluence/download
Upload to Server
Extract
Tar zxf atlassian-confluence-5.10.1.tar.gz
CD ZXF atlassian-confluence-5.10.1
Copy the Atlassian-extras-3.2.jar (hack plugin) to
CP Atlassian-confluence-5.8.6/confluence/web-inf/lib/atlassian-extras-3.2.jar ATLASSIAN-CONFLUENCE-5.10.1/ confluence/web-inf/lib/
The MySQL database connection driver is also copied past
CP Atlassian-confluence-5.8.6/confluence/web-inf/lib/mysql-connector-java-5.1.31-bin.jar atlassian-confluence-5.10.1/confluence/web-inf/lib/
8. The Confluence_home directory is backed up first, for example
Cp-r/mnt/data/confluence_home/mnt/data/confluence_home_bak/
9. Modify the Confluence.home directory
Vim atlassian-confluence-5.10.1/confluence/web-inf/classes/confluence-init.propertiesconfluence.home=/mnt/data/ Confluence_home10. Start./atlassian-confluence-5.10.1/bin/startup.sh Note: For example, if the current user is deploy then the deploy must have write permission to the Confluence_home directory, or it will be the main problem ch Own deploy.deploy/mnt/data/confluence_home-r
This article from "Dream Three" blog, declined reprint!
Confluence 5.8.6 upgrade to 5.10.1