mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-03-14 20:21:14 +03:00
Updated Installation (markdown)
parent
2c4d1a80ac
commit
be38c1a460
1 changed files with 34 additions and 9 deletions
|
@ -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.
|
Loading…
Add table
Reference in a new issue