File: installcloudsource.html

package info (click to toggle)
bibledit-cloud 5.1.036-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 250,636 kB
  • sloc: xml: 915,934; ansic: 261,349; cpp: 92,628; javascript: 32,542; sh: 4,915; makefile: 586; php: 69
file content (168 lines) | stat: -rw-r--r-- 5,503 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<h2>translate("Install Bibledit Cloud from source")</h2>

<p>translate("Select the Linux distribution for which to show instructions.")</p>
<p>
<button id="debian">Debian</button>
<button id="ubuntu">Ubuntu</button>
<button id="centos">CentOS</button>
<button id="redhat">RedHat</button>
<button id="alma">Alma</button>
<button id="opensuse">openSUSE</button>
</p>
<p>translate("Then follow the steps below to install Bibledit Cloud.")</p>

<script>
  document.addEventListener("DOMContentLoaded", function(e) {
    document.querySelectorAll("#debian").forEach((element) => {
      element.addEventListener("click", function(){
        hide_all();
        show_os(".debian");
      });
    });
    document.querySelectorAll("#ubuntu").forEach((element) => {
      element.addEventListener("click", function(){
        hide_all();
        show_os(".ubuntu");
      });
    });
    document.querySelectorAll("#centos").forEach((element) => {
      element.addEventListener("click", function(){
        hide_all();
        show_os(".centos");
      });
    });
    document.querySelectorAll("#redhat").forEach((element) => {
      element.addEventListener("click", function(){
        hide_all();
        show_os(".redhat");
      });
    });
    document.querySelectorAll("#alma").forEach((element) => {
      element.addEventListener("click", function(){
        hide_all();
        show_os(".alma");
      });
    });
    document.querySelectorAll("#opensuse").forEach((element) => {
      element.addEventListener("click", function(){
        hide_all();
        show_os(".opensuse");
      });
    });
    hide_all();
    show_os(".debian");
  });
  function hide_all () {
    document.querySelectorAll(".debian").forEach((element) => {
      element.hidden = true;
    });
    document.querySelectorAll(".ubuntu").forEach((element) => {
      element.hidden = true;
    });
    document.querySelectorAll(".centos").forEach((element) => {
      element.hidden = true;
    });
    document.querySelectorAll(".redhat").forEach((element) => {
      element.hidden = true;
    });
    document.querySelectorAll(".alma").forEach((element) => {
      element.hidden = true;
    });
    document.querySelectorAll(".opensuse").forEach((element) => {
      element.hidden = true;
    });
  };
  function show_os (selector) {
    document.querySelectorAll(selector).forEach((element) => {
      element.hidden = false;
    });
  }
</script>

<br>

<p>➤ translate("Open a terminal.")</p>

<br>

<p>➤ translate("Update the software sources.")</p>
<p class="debian ubuntu"><code>sudo apt update</code></p>
<p class="centos redhat alma"><code>sudo dnf update</code></p>
<p class="opensuse"><code>sudo zypper update</code></p>

<div class="centos redhat alma">
<br>
<p>➤ translate("Install and enable extra package repositories.")</p>
<p><code>sudo dnf install epel-release</code></p>
</div>

<br>

<p>➤ translate("Install the software Bibledit relies on:")</p>
<p class="debian ubuntu"><code>sudo apt install build-essential autotools-dev autoconf autoconf-archive git zip unzip pkgconf libcurl4-openssl-dev libssl-dev libsword-utils diatheke ldap-utils libmimetic-dev certbot libxml2-dev libutf8proc-dev libtidy-dev libpugixml-dev libicu-dev gzip tar</code></p>
<p class="centos redhat alma"><code>sudo dnf install autoconf automake gcc gcc-c++ libtool git zip unzip pkgconfig libcurl-devel openssl-devel curl make libxml2-devel utf8proc libtidy-devel pugixml-devel gzip tar</code></p>
<p class="opensuse"><code>sudo zypper install autoconf automake autoconf-archive gcc-c++ git zip pkg-config libcurl-devel libopenssl-devel curl make utf8proc-devel pugixml-devel libxml2-devel libtidy-devel pugixml-devel gzip tar</code></p>

<br>

<p>➤ translate("Go to the home directory.")</p>
<p><code>cd</code></p>

<br>

<p>
➤ <a href="https://github.com/bibledit/cloud/releases">translate("Download a recent version of Bibledit.")</a>
</p>

<br>

<p>➤ translate("Unpack the downloaded Bibledit in folder bibledit.")</p>
<p><code>mkdir -p bibledit</code></p>
<p><code>tar xf bibledit-5.1.xxx.tar.gz -C bibledit --strip-components=1</code></p>
<p>translate("Change the xxx above to the version number of Bibledit that was downloaded.")</p>

<br>

<p>➤ translate("Change to the directory.")</p>
<p><code>cd bibledit</code></p>

<br>

<p>➤ translate("Build Bibledit.")</p>
<p><code>./configure</code></p>
<p><code>make</code></p>
<p>
translate("This takes a while.")
translate("There will be many technical messages, but there should be no errors.")
</p>

<div class="centos redhat alma">
  <br>
  <p>➤ translate("Open port 8080 in the firewall.")</p>
  <p><code>sudo firewall-cmd --zone=public --add-port=8080/tcp --permanent</code></p>
  <p><code>sudo firewall-cmd --reload</code></p>
</div>

<br>

<p>➤ translate("Start Bibledit.")</p>
<p><code>./bibledit &amp;</code></p>

<br>
<p>
translate("Bibledit will be accessible through the IP address port 8080.")
translate("Examples:")
</p>
<p>http://website.org:8080</p>
<p>http://192.168.2.1:8080</p>
<p>http://localhost:8080</p>
<p>translate("Open the web address in a browser, follow the instructions on the screen to configure Bibledit Cloud, and log in.")</p>
<br>

<p>
translate ("Most of Bibledit Cloud will now be working.")
translate ("To get email services working, connect Bibledit to a gmail or other mail account.")
translate ("To get SWORD resources working, install the SWORD libraries.")
https://crosswire.org/sword/develop/index.jsp
</p>