specify to run services before running PeerTube
This commit is contained in:
parent
9fe4406794
commit
81cdf382ff
1 changed files with 16 additions and 0 deletions
|
@ -31,6 +31,11 @@ $ sudo apt-get update
|
||||||
$ sudo apt install ffmpeg
|
$ sudo apt install ffmpeg
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Now that dependencies are installed, before running PeerTube you should start PostgreSQL and Redis:
|
||||||
|
```
|
||||||
|
$ sudo systemctl start redis postgresql
|
||||||
|
```
|
||||||
|
|
||||||
## Arch Linux
|
## Arch Linux
|
||||||
|
|
||||||
1. Run:
|
1. Run:
|
||||||
|
@ -39,6 +44,11 @@ $ sudo apt install ffmpeg
|
||||||
$ sudo pacman -S nodejs yarn ffmpeg postgresql openssl redis git wget unzip python2 base-devel npm nginx
|
$ sudo pacman -S nodejs yarn ffmpeg postgresql openssl redis git wget unzip python2 base-devel npm nginx
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Now that dependencies are installed, before running PeerTube you should start PostgreSQL and Redis:
|
||||||
|
```
|
||||||
|
$ sudo systemctl start redis postgresql
|
||||||
|
```
|
||||||
|
|
||||||
## CentOS 7
|
## CentOS 7
|
||||||
|
|
||||||
1. Install NodeJS 8.x (current LTS):
|
1. Install NodeJS 8.x (current LTS):
|
||||||
|
@ -68,6 +78,12 @@ Later when you invoke any node command, please prefix them with `CC=/opt/rh/devt
|
||||||
$ sudo -H -u peertube CC=/opt/rh/devtoolset-7/root/usr/bin/gcc CXX=/opt/rh/devtoolset-7/root/usr/bin/g++ yarn install --production --pure-lockfile
|
$ sudo -H -u peertube CC=/opt/rh/devtoolset-7/root/usr/bin/gcc CXX=/opt/rh/devtoolset-7/root/usr/bin/g++ yarn install --production --pure-lockfile
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Now that dependencies are installed, before running PeerTube you should start PostgreSQL and Redis:
|
||||||
|
```
|
||||||
|
$ sudo service redis start
|
||||||
|
$ sudo service postgresql start
|
||||||
|
```
|
||||||
|
|
||||||
## FreeBSD
|
## FreeBSD
|
||||||
|
|
||||||
On a fresh install of [FreeBSD](https://www.freebsd.org), new system or new jail:
|
On a fresh install of [FreeBSD](https://www.freebsd.org), new system or new jail:
|
||||||
|
|
Loading…
Reference in a new issue