Skip to content

Commit 4bbc270

Browse files
committed
[IMP] installation deb
1 parent e3b1fe2 commit 4bbc270

1 file changed

Lines changed: 4 additions & 29 deletions

File tree

docs/getting_started/installation_deb.md

Lines changed: 4 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -23,47 +23,31 @@ Before installing OpenSPP, ensure you have:
2323

2424
## Step 1: Update System
2525

26-
First, ensure your system is up to date:
26+
First, ensure your system is up to date and install `wget` and `gnupg2`:
2727

2828
```bash
2929
sudo apt-get update
3030
sudo apt-get upgrade -y
31-
```
32-
33-
Install wget, gnupg2
34-
```bash
3531
sudo apt-get install -y wget gnupg2
3632
```
3733

3834
## Step 2: Install PostgreSQL
3935

40-
OpenSPP requires PostgreSQL as its database backend.
36+
OpenSPP requires PostgreSQL as its database backend. Install and verify by running the commands:
4137

42-
### Install PostgreSQL
4338
```bash
4439
sudo apt-get install -y postgresql postgresql-client
45-
```
46-
47-
### Verify PostgreSQL is running
48-
```bash
4940
sudo systemctl status postgresql
5041
```
5142

5243
## Step 3: Configure OpenSPP Repository
5344

5445
Add the OpenSPP APT repository to your system:
5546

56-
### Add the OpenSPP public key
5747
```bash
5848
wget -qO - https://builds.acn.fr/repository/apt-keys/openspp/public.key | sudo apt-key add -
59-
```
60-
### Add the OpenSPP repository
61-
```bash
6249
echo "deb https://builds.acn.fr/repository/apt-openspp-daily bookworm main" | \
6350
sudo tee /etc/apt/sources.list.d/openspp.list
64-
```
65-
### Update package list
66-
```bash
6751
sudo apt-get update
6852
```
6953

@@ -80,19 +64,12 @@ sudo apt-get install -y openspp-17-daily
8064

8165
If you prefer to download the package manually or the repository is not accessible:
8266

83-
#### Create a temporary directory
8467
```bash
8568
mkdir -p ~/openspp-install && cd ~/openspp-install
86-
```
87-
88-
#### Download directly from Nexus repository
89-
```bash
9069
wget https://builds.acn.fr/repository/apt-openspp/pool/main/o/openspp/openspp_17.0.1+odoo17.0-1_amd64.deb
91-
```
92-
#### Install the package
93-
```bash
9470
sudo dpkg -i openspp_17.0.1+odoo17.0-1_amd64.deb
9571
```
72+
9673
#### Fix any dependency issues if they occur
9774
```bash
9875
sudo apt-get install -f
@@ -254,14 +231,12 @@ You should see output indicating the service is active and running.
254231

255232
### Option B: Via Command Line
256233

234+
Create the database, then restart the service:
257235
```bash
258-
# Create a database
259236
sudo -u openspp openspp-server \
260237
--database=openspp_prod \
261238
--init=base \
262239
--stop-after-init
263-
264-
# Restart the service
265240
sudo systemctl restart openspp
266241
```
267242

0 commit comments

Comments
 (0)