@@ -25,7 +25,8 @@ It is tested on newly installed Centos7 machines on VM and DigitalOcean droplets
25
25
26
26
Create a new Centos7 (minimal installation will do) installation. Login with ` root ` or other priveledged user and run below commands
27
27
28
- sudo yum install git
28
+ sudo -y update
29
+ sudo yum install git nano
29
30
cd /opt/
30
31
sudo git clone https://github.com/sjoulaei/install-confluence-centos.git
31
32
cd install-confluence-centos
@@ -40,9 +41,54 @@ Thats it!!! the script will take care of the rest of the installation.
40
41
41
42
SnippetBucket.com advice for developer to disable firwall.
42
43
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
+
46
92
47
93
48
94
0 commit comments