aboutsummaryrefslogtreecommitdiffhomepage
path: root/support
diff options
context:
space:
mode:
Diffstat (limited to 'support')
-rw-r--r--support/doc/dependencies.md19
1 files changed, 5 insertions, 14 deletions
diff --git a/support/doc/dependencies.md b/support/doc/dependencies.md
index 66b9190eb..52b53fdbe 100644
--- a/support/doc/dependencies.md
+++ b/support/doc/dependencies.md
@@ -67,25 +67,21 @@ $ sudo scl devtoolset-6 bash
67On a fresh install of [FreeBSD](https://www.freebsd.org), new system or new jail: 67On a fresh install of [FreeBSD](https://www.freebsd.org), new system or new jail:
68 68
69 1. edit `/etc/pkg/FreeBSD.conf` to use latest instead quaterly (installation was tested with the latest repository), as root: 69 1. edit `/etc/pkg/FreeBSD.conf` to use latest instead quaterly (installation was tested with the latest repository), as root:
70
71``` 70```
72# ee /etc/pkg/FreeBSD.conf 71# ee /etc/pkg/FreeBSD.conf
73``` 72```
74 73
75 change this line (11): 74 change this line (11):
76
77``` 75```
78 url: "pkg+http://pkg.FreeBSD.org/${ABI}/quaterly", 76 url: "pkg+http://pkg.FreeBSD.org/${ABI}/quaterly",
79``` 77```
80 78
81 to: 79 to:
82
83``` 80```
84 url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", 81 url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
85``` 82```
86 83
87 2. bootsrap pkg, initialize db and install peertube's dependencies, always as root (sudo not yet installed): 84 2. bootsrap pkg, initialize db and install peertube's dependencies, always as root (sudo not yet installed):
88
89``` 85```
90# pkg 86# pkg
91# pkg update 87# pkg update
@@ -93,33 +89,28 @@ On a fresh install of [FreeBSD](https://www.freebsd.org), new system or new jail
93``` 89```
94 90
95 3. Allow users in the wheel group (hope you don't forgot to add your user on wheel group!) to use sudo 91 3. Allow users in the wheel group (hope you don't forgot to add your user on wheel group!) to use sudo
96
97``` 92```
98# visudo 93# visudo
99``` 94```
100 95
101 Uncomment the line 90 96 Uncomment the line 90
102
103``` 97```
104%wheel ALL=(ALL) ALL 98%wheel ALL=(ALL) ALL
105``` 99```
106 100
107 4. Enable nginx, redis, postgresql services and initialize database 101 4. Enable nginx, redis, postgresql services and initialize database
108
109``` 102```
110# ee /etc/rc.conf 103# ee /etc/rc.conf
111``` 104```
112 105
113 Add the following lines 106 Add the following lines
114
115``` 107```
116postgresql_enable="YES" 108postgresql_enable="YES"
117redis_enable="YES" 109redis_enable="YES"
118nginx_enable="YES" 110nginx_enable="YES"
119``` 111```
120 112
121 Initialize database and start services 113 Initialize database and start services
122
123``` 114```
124# service postgresql initdb 115# service postgresql initdb
125# service postgresql start 116# service postgresql start