LibreChat/docs/deployment/linode.md
Marco Beretta abd1b10b46
Enhanced Documentation: Added Cloudflare and Linode Setup (#549)
* Add files via upload

* Create linode-setup.md

* Create cloudflare-setup.md

* Update cloudflare-setup.md

* Delete 4-linode.png

* Delete 3-linode.png

* Add files via upload

* Add files via upload

* Update cloudflare-setup.md

* Update linode-setup.md

* Rename cloudflare-setup.md to cloudflare.md

* Rename linode-setup.md to linode.md

* Update mkdocs.yml

* Update cloudflare.md

* Update linode.md

* Update README.md

* Update README.md

* Update linode.md

sentence in Italian
2023-06-26 09:23:50 -04:00

75 lines
2.3 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[<img src="../assets/linode-logo.jpg" width="250">](https://www.linode.com/)
# Linode (⚠Payment required)
**Create a Linode Account and a Linode Server**
- Go to the Linode website (https://www.linode.com/) and click on the "Sign Up" or "Get Started" button.
- Follow the instructions to create a new account by providing your personal details and payment information.
- Once your account is created, you will have access to the Linode Cloud Manager.
- Click on the "Create" button to create a new Linode server.
- Choose a location for your server and select the desired server plan.
- Configure the server settings such as the server's label, root password, and SSH key. If you don't know which image to use, select 🐧💻 Ubuntu 22.04 LTS
- Click on the 'Create' button to provision the Linode server (wait about 5 minutes after the server is on, because the server is not actually powered on yet)
**Install Docker:**
- Connect to your Linode server via SSH using a terminal or SSH client.
- Run the following commands to install Docker and Docker-compose:
```
sudo apt update
sudo apt install docker.io && apt install docker-compose
```
## [Install LibreChat](../install/docker_install.md)
## Install and Setup NGINX Proxy Manager:
if you want, you can use NGINX, Apache, or any other proxy manager.
- create a folder
```
mkdir ngnix-proxy-manager
cd ngnix-proxy-manager
```
- Create a file named `docker-compose.yml` by running `nano docker-compose.yml`.
- Add this code and save it with `Ctrl+X`, `Y`, and `Enter`:
```
version: '3.8'
services:
app:
image: 'jc21/nginx-proxy-manager:latest'
restart: unless-stopped
ports:
- '80:80'
- '81:81'
- '443:443'
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
```
- **Run** `docker-compose up -d` to start NGINX Proxy Manager
- Login to NGINX Proxy Manager and change the username and password.
The default login link is at `your_linode_ip:81`.
Default Admin User:
```
Email: admin@example.com
Password: changeme
```
- Login to NGINX Proxy Manager.
- Click on "Proxy Host" and add a proxy host.
![248540414-0dbbfdbb-063e-4fa5-bb1d-811064cc4bad](../assets/1-linode.png)
- If you want, you can add the Let's Encrypt SSL certificate.
![248540572-6d0220e2-2506-4b40-8974-a5014df646d6](../assets/2-linode.png)