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.md51
1 files changed, 45 insertions, 6 deletions
diff --git a/support/doc/dependencies.md b/support/doc/dependencies.md
index f27e82f32..810846682 100644
--- a/support/doc/dependencies.md
+++ b/support/doc/dependencies.md
@@ -82,7 +82,7 @@ sudo systemctl start redis postgresql
82* Install - [https://linoxide.com/linux-how-to/install-ffmpeg-centos-7/](https://linoxide.com/linux-how-to/install-ffmpeg-centos-7/) 82* Install - [https://linoxide.com/linux-how-to/install-ffmpeg-centos-7/](https://linoxide.com/linux-how-to/install-ffmpeg-centos-7/)
83* Compile - [https://gist.github.com/mustafaturan/7053900#file-latest-ffmpeg-centos6-sh](https://gist.github.com/mustafaturan/7053900#file-latest-ffmpeg-centos6-sh) 83* Compile - [https://gist.github.com/mustafaturan/7053900#file-latest-ffmpeg-centos6-sh](https://gist.github.com/mustafaturan/7053900#file-latest-ffmpeg-centos6-sh)
84 84
854. Run: 854. Install Packages:
86 86
87``` 87```
88sudo yum update 88sudo yum update
@@ -103,7 +103,7 @@ Later when you invoke any node command, please prefix them with `CC=/opt/rh/devt
103sudo -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 103sudo -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
104``` 104```
105 105
106Initialize the PostgreSQL database: 1066. Initialize the PostgreSQL database:
107 107
108``` 108```
109sudo postgresql-setup initdb 109sudo postgresql-setup initdb
@@ -112,12 +112,51 @@ sudo postgresql-setup initdb
112Now that dependencies are installed, before running PeerTube you should enable and start PostgreSQL and Redis: 112Now that dependencies are installed, before running PeerTube you should enable and start PostgreSQL and Redis:
113 113
114``` 114```
115sudo systemctl enable redis 115sudo systemctl enable --now redis
116sudo systemctl enable postgresql 116sudo systemctl enable --now postgresql
117sudo systemctl start redis
118sudo systemctl start postgresql
119``` 117```
120 118
119## Centos 8
120
1211. Install NodeJS 10.x:
122[https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora](https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora)
123
1242. Install yarn:
125[https://yarnpkg.com/en/docs/install](https://yarnpkg.com/en/docs/install)
126
1273. Install or compile ffmpeg:
128
129* Install - [https://linuxize.com/post/how-to-install-ffmpeg-on-centos-8/](https://linuxize.com/post/how-to-install-ffmpeg-on-centos-8/)
130
1314. Install packages:
132
133```
134sudo dnf update
135sudo dnf install epel-release
136sudo dnf update
137sudo dnf install nginx postgresql postgresql-server postgresql-contrib openssl gcc-c++ make wget redis git
138```
139
1405. You'll need a symlink for python3 to python for youtube-dl to work
141
142```
143sudo ln -s /usr/bin/python3 /usr/bin/python
144```
145
1466. Initialize the PostgreSQL database:
147
148```
149sudo postgresql-setup initdb
150```
151
152Now that dependencies are installed, before running PeerTube you should enable and start PostgreSQL and Redis:
153
154```
155sudo systemctl enable --now redis
156sudo systemctl enable --now postgresql
157```
158
159
121## Fedora 160## Fedora
122 161
1231. Upgrade your packages: 1621. Upgrade your packages: