Updated Installation (markdown)

dag 2022-03-21 01:39:41 +01:00
parent 2c4d1a80ac
commit be38c1a460

@ -1,14 +1,39 @@
In order to install RSS-Bridge on your own web server* do as follows:
## How to install in Debian 11
* Make sure your web server meets all [requirements](Requirements)
* Download the ZIP file of the [last stable release](https://github.com/RSS-Bridge/rss-bridge/releases)
* Place all files on your web server
```bash
apt install nginx php-fpm php-mbstring php-simplexml php-curl
rm /etc/nginx/sites-enabled/default
cd /var/www
git clone https://github.com/RSS-Bridge/rss-bridge.git
chown -R www-data:www-data ./
```
For linux hosts:
* Grant read-write-access for `www-data` to the `./cache` directory (`chown -R www-data ./cache`)
Create `/etc/nginx/sites-enabled/rssbridge`:
You have successfully installed RSS-Bridge.
```nginx
server {
listen 80 default_server;
root /var/www/rss-bridge;
access_log /var/log/nginx/rssbridge.access.log;
error_log /var/log/nginx/rssbridge.error.log;
index index.php;
location / {
try_files $uri $uri/ /index.php$is_args$args;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php-fpm.sock;
}
}
```
```bash
systemctl reload nginx
````
*If you do not have your own web server, you can [create one](Web-server-links) in about five minutes for free.
The application is now browsable at its ip address and port 80.
Instructions for Docker setups are at [Docker Installation](Docker)
You might want to add a `server_name` to the nginx config and remove
it as a default server.