Notes on the deployment of nextcloud by the pagoda Docker

March 14, 2021 2469 points heat 4 people like it 0 comments

For the first time, please go to the BtPanel application list to install the Docker container service

After the installation is completed, open Docker Manager - Image Management - Get the image, and pull the nextcloud image from the official database

If it is a domestic server, it may be slow to pull images from the official database. You can configure the AliCloud image source in the image acceleration

https://cfqckegk.mirror.aliyuncs.com (Super fast speed)

After the above steps are completed, create a container in the container list according to the following figure

Description of red circle in screenshot:

Port mapping, which takes port 80 of the container out to the server port (for external access),

Directory mapping. Please specify the mapping path/var/www/html server directory by yourself (convenient for backup and recovery)

So far, the container creation is complete.

View the container log, wait for the successful startup, and the firewall will release the port specified by the party. Access the server IP: port to open Nextcloud

If you access through the domain name without port, you can use Nginx to reverse the generation. Add a direction agent to the new website on the panel

The installation is complete. Normally, there should be nextcloud related files in the path where the container is mapped to the server directory,

If the project can access the interface normally, the first opened page will be as shown in the following figure,

Create an administrator account, configure the database, select MySQL for subsequent installation,

Subsequent backups should only need to back up the directory mapped by the container and the database used to install nextcloud

If you need more detailed installation instructions, please search Baidu or Google on your own. That's all for now.

Gcod

If life is just like the first sight, what is the sad autumn wind painting fan

Article comments