Press return on your keyboard and give you system a minute to reboot. Now go back to your SSH program and type: reboot now echo “extension=smbclient.so” > /usr/local/etc/php/conf.d/docker-php-ext-smbclient.ini.In that window, run each of these commands in order: On the page that pops up, click the blue “Connect” button. Now login to Portainer and go int your containers area.įind the container named “nextcloud-app” and look for the Console icon under “Quick Actions”. The host needs to be changed from “localhost” to “db” (no quotes).MySQL password you chose in the docker-compose file.Installing NextCloudįirst things first, type in an admin username and password. You should be presented with a NextCloud Installation screen. Once it’s done, wait a couple of minutes as the SSL will take a bit to get setup. This may take a couple of minutes depending on your server hardware setup and your internet connection speed. Now that you’ve got all that out of the way, you’re going to execute the docker-compose.yml file you just created by running this command: docker-compose up -d Be sure to press Y to say Yes, you want to save. Once you’ve got all that changed, you can press CTRL+X to exit the editor. Do NOT include or Lastly, you’ll put in your email address in the “LETSENCRYPT_EMAIL= ” as this is what Let’s Encrypt will use to register your SSL. Be sure to include the full URL ( ), not just the subdomain. You’ll also need to change the “VIRTUAL_HOST” and “LETSENCRYPT_HOST” to the subdomain URL that you setup on DuckDNS. Also, make note of this as you’ll need it later when we get to the setup screen for NextCloud. Change “mysql” again to something more secure. Next, you’ll need to change the “mysql” part of “MYSQL_PASSWORD=mysql”. Go back to the code and look for “MYSQL_ROOT_PASSWORD=toor” and change “toor” to a more secure password as it is the root password for the MySQL database server. The first thing to change is in the database area. Back to the Setupįor the most part you can leave everything in that code as it is, but there are a few things that you’ll need to change. Thanks to Gaurav Bafana for sharing this solution in the comments section on this YouTube video. you’ll need to change “mariadb” to “jsurf/rpi-mariadb” and then everything should work as expected. You won’t be able to use MariaDB for this. If you want to run this on a Raspberry Pi, you’ll need to change the database used in your Stack. Last, it will download and install the official NextCloud setup. After that, it will setup a mariadb container to store your data. Next, it will setup a LetsEncrypt SSL for your DuckDNS subdomain. First, it will download, setup, and install an nginx proxy server that we’ll use to access the server. The code above will do a number of things. app/custom_apps:/var/www/html/custom_apps var/run/docker.sock:/var/run/docker.sock:ro Image: jrcs/letsencrypt-nginx-proxy-companion var/run/docker.sock:/tmp/docker.sock:ro "_nginx_proxy_companion.nginx_proxy=true" Copy and paste the following into the empty screen: version: '3' Press return and you should get a pretty blank screen. Once you’re logged in, you’re going to type the following: nano docker-compose.yml Next, you’ll need to open a program like Putty to SSH into your server. You’ll need to forward ports 80 and 443 to your server’s IP address. Once you’ve got that setup, you’ll need to do some port forwarding. You can do this in the Network Interface settings in your OMV admin panel. You’ll also want to setup a static IP for your server. Donations help me keep the channel runningīecause NextCloud will need to run on port 80, we need to change the port that OpenMediaVault runs on.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |