45Drives Knowledge Base
KB450427 - Nextcloud with Nginx Proxy Manager on Ubuntu 20.04
https://knowledgebase.45drives.com/kb/kb450427-nextcloud-with-nginx-proxy-manager-on-ubuntu-20-04/

KB450427 - Nextcloud with Nginx Proxy Manager on Ubuntu 20.04

Posted on June 25, 2021 by smacphee


Scope/Description

Prerequisites

Steps

apt-get update
sudo apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \
    gnupg \
    lsb-release
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo \
  "deb  https://download.docker.com/linux/ubuntu \
  $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
apt-get update
apt-get install docker-ce docker-ce-cli containerd.io
curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version
mkdir /opt/nextcloud
curl -LO https://scripts.45drives.com/nextcloud/nextcloud-compose.yml
curl -LO https://scripts.45drives.com/nextcloud/Dockerfile
mv nextcloud-compose.yml docker-compose.yml
docker-compose up -d
docker-compose ps

Verification

Troubleshooting

iptables -t filter -N DOCKER
systemctl restart docker.services
{
"database": {
"engine": "mysql",
"host": "npm-db",
"name": "npm",
"user": "npm",
"password": "thisisjustatest",
"port": 3306
}
}
vim /var/lib/docker/volumes/nextcloud_nextcloud-data/_data/config/config.php
'trusted_domains' =>
  array (
   0 => 'localhost',
   1 => 'server1.example.com',
   2 => '192.168.1.50',
),
Nextcloud Archives - 45Drives Knowledge Base
Did you know  45Drives offers free  public and private  webinars ? Click here to learn more  & register! Build & Price

KB450427 – Nextcloud with Nginx Proxy Manager on Ubuntu 20.04

Scope/Description This guide will cover the process to setup Nextcloud as an internet facing application with an SSL certificate tied to a domain. Prerequisites Ubuntu 20.04 installed and running with all 45Drives scripts A registered or otherwise hosted domain Ports 80, and 443 port forwarded on your router A DNS record from your domain to […]

Read more »

KB450428 – Nextcloud Self Signed Certificate with Nginx Proxy Manager

Scope/Description This guide covers setting up a self signed SSL certificate on Nextcloud. Prerequisites A working ubuntu 20.04 install with 45 drives packages and scripts Nextcloud and Ngnix proxy manager installed (following this guide) Steps We will be using openssl to generate a cert and key file, install openssl with the following commands: sudo apt […]

Read more »

KB450312 – Connecting SMB Share to Nextcloud

Scope/Description This article describes the process to connect a samba share to Nextcloud. Prerequisites Samba Share configured Nextcloud configured Internet Access Steps Installing smbclient package Ubuntu apt install smbclient CentOS yum install smbclient Connecting SMB share to Nextcloud Go to https://SERVER-IP/nextcloud. Go to “Apps”, find “External Storage”, Click “Enable”. Go to “Settings>>Admininstration>>External Storage” Fill in […]

Read more »

KB451402 – Nextcloud with Nginx Proxy Manager on Rocky 8 Linux

Scope/Description This guide will cover the process used to install and set up Nextcloud as an internet-facing application with an SSL certificate tied to a domain. Prerequisites Rocky Linux installed and running with all 45Drives scripts A registered or otherwise hosted domain Ports 80, and 443 port forwarding on your router A DNS record from […]

Read more »
© 2024 - 45Drives Knowledge Base
Unboxing Racking Storage Drives Cable Setup Power UPS Sizing Remote Access