aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/dependencies.md
diff options
context:
space:
mode:
Diffstat (limited to 'support/doc/dependencies.md')
-rw-r--r--support/doc/dependencies.md66
1 files changed, 66 insertions, 0 deletions
diff --git a/support/doc/dependencies.md b/support/doc/dependencies.md
index ab7fb2e4e..66b9190eb 100644
--- a/support/doc/dependencies.md
+++ b/support/doc/dependencies.md
@@ -58,9 +58,75 @@ $ sudo yum install nginx postgresql postgresql-server openssl gcc-c++ make redis
58``` 58```
59 59
60 5. You need to use a more up to date version of G++ in order to run the yarn install command, hence the installation of devtoolset-6. 60 5. You need to use a more up to date version of G++ in order to run the yarn install command, hence the installation of devtoolset-6.
61```
61$ sudo scl devtoolset-6 bash 62$ sudo scl devtoolset-6 bash
62``` 63```
63 64
65## FreeBSD
66
67On a fresh install of [FreeBSD](https://www.freebsd.org), new system or new jail:
68
69 1. edit `/etc/pkg/FreeBSD.conf` to use latest instead quaterly (installation was tested with the latest repository), as root:
70
71```
72# ee /etc/pkg/FreeBSD.conf
73```
74
75 change this line (11):
76
77```
78 url: "pkg+http://pkg.FreeBSD.org/${ABI}/quaterly",
79```
80
81 to:
82
83```
84 url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
85```
86
87 2. bootsrap pkg, initialize db and install peertube's dependencies, always as root (sudo not yet installed):
88
89```
90# pkg
91# pkg update
92# pkg install -y sudo bash wget git python nginx pkgconf vips postgresql96-server redis openssl node npm yarn ffmpeg unzip
93```
94
95 3. Allow users in the wheel group (hope you don't forgot to add your user on wheel group!) to use sudo
96
97```
98# visudo
99```
100
101 Uncomment the line 90
102
103```
104%wheel ALL=(ALL) ALL
105```
106
107 4. Enable nginx, redis, postgresql services and initialize database
108
109```
110# ee /etc/rc.conf
111```
112
113 Add the following lines
114
115```
116postgresql_enable="YES"
117redis_enable="YES"
118nginx_enable="YES"
119```
120
121 Initialize database and start services
122
123```
124# service postgresql initdb
125# service postgresql start
126# service redis start
127# service nginx start
128```
129
64## Other distributions 130## Other distributions
65 131
66Feel free to update this file in a pull request! 132Feel free to update this file in a pull request!