Skip to content

Commit 40812f8

Browse files
author
snippetbucket
committed
SnippetBucket.com Confluence Master Advice
1 parent 8744351 commit 40812f8

File tree

1 file changed

+50
-4
lines changed

1 file changed

+50
-4
lines changed

README.md

Lines changed: 50 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ It is tested on newly installed Centos7 machines on VM and DigitalOcean droplets
2525

2626
Create a new Centos7 (minimal installation will do) installation. Login with `root` or other priveledged user and run below commands
2727

28-
sudo yum install git
28+
sudo -y update
29+
sudo yum install git nano
2930
cd /opt/
3031
sudo git clone https://github.com/sjoulaei/install-confluence-centos.git
3132
cd install-confluence-centos
@@ -40,9 +41,54 @@ Thats it!!! the script will take care of the rest of the installation.
4041

4142
SnippetBucket.com advice for developer to disable firwall.
4243

43-
systemctl disable firewalld
44-
systemctl stop firewalld
45-
systemctl status firewalld
44+
systemctl disable firewalld
45+
systemctl stop firewalld
46+
systemctl status firewalld
47+
48+
postgresql datbase setting
49+
50+
user=confluence_user
51+
pwd=ch@ngeTH!s
52+
db=confluence_db
53+
host=localhsot
54+
port=5432
55+
56+
in case port 5432 not works 5433 use this.
57+
58+
SnippetBucket.com Expert advice, create confluence user as super for postgresql
59+
60+
su - postgres -c "createuser -s confluence" 2> /dev/null || true
61+
62+
than after in case new database creation required, just sudo su confluence, than createdb confluence_db2... and so on.
63+
64+
65+
# Master trouble fixer by snippetbucket.com
66+
67+
In case fail to install and get isseu of MDbean or mailer issues or any crash during new instance settting up
68+
and like to reset whole stuff from beging than follow below steps.
69+
70+
Move to location
71+
72+
cd /opt/atlassian/confluence/confluence/WEB-INF/classes
73+
74+
Edit file with line number approx 34
75+
76+
nano confluence-init.properties
77+
78+
Their default confluence home given, which infected with bad parameters so replace it with new location
79+
80+
mkdir /var/atlassian/application-data/confluence2
81+
chown -R confluence.confluence /var/atlassian/application-data/confluence2
82+
83+
Here similar you can use any number of different home location as it failed
84+
85+
86+
87+
# Get better support with tiny paid dedicated resource,
88+
89+
Contact us, [email protected], https://www.snippetbucket.com/
90+
91+
4692

4793

4894

0 commit comments

Comments
 (0)