diff options
author | Chocobozzz <chocobozzz@framasoft.org> | 2018-03-28 08:32:59 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@framasoft.org> | 2018-03-28 08:32:59 +0200 |
commit | c50480a359572b28888489eb41ad819f716d2573 (patch) | |
tree | 7c1520c3df4f6faac4033eb7038bddc95009a776 | |
parent | fb0e959dba088b7414926f7d11c53b1611a4ea7b (diff) | |
parent | 39d1bb985af1559d8be3291d4f526d0765c225bf (diff) | |
download | PeerTube-c50480a359572b28888489eb41ad819f716d2573.tar.gz PeerTube-c50480a359572b28888489eb41ad819f716d2573.tar.zst PeerTube-c50480a359572b28888489eb41ad819f716d2573.zip |
Update FreeBSD doc (fix typo in markdow syntax)
-rw-r--r-- | support/doc/dependencies.md | 19 |
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 | |||
67 | On a fresh install of [FreeBSD](https://www.freebsd.org), new system or new jail: | 67 | On 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 | ``` |
116 | postgresql_enable="YES" | 108 | postgresql_enable="YES" |
117 | redis_enable="YES" | 109 | redis_enable="YES" |
118 | nginx_enable="YES" | 110 | nginx_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 |