Comment on page

Using Nextcloud

Nextcloud is a suite of client-server software for creating and using file hosting services. Nextcloud is functionally similar to Dropbox, Office 365 or Google Drive when used with its integrated office suite solutions Collabora Online or OnlyOffice. It can be hosted in the cloud or on-premise.

1. Create the antlet

Create a new antlet based on the Nextcloud template. If you don't know how to create antlets yet, please check out this article.

2. Set up access

To make sure your antlet and the site running on it is reachable, you will need to configure access. We recommend three different ways to do it. Choose the one that suits your needs best.
Using a bridged NIC
Using Port Forwarding
Configure a bridged network interface, to expose your antlet to your local network. By doing this, your antlet gets another IP address in the same network that your edgeLinux server is in (in addition to the 10.1.1.X address.) This method gives you full access to the antlet from your local network. You can find detailed instructions on how to configure a bridged NIC here.
Add a configuration file for the bridged NIC using these commands:
Create file for the bridged NIC:
nano /etc/network/interfaces.d/eth1
Add the following contents:
auto eth1 iface eth1 inet dhcp
Type CTRL+O to write. Type CTRL+X to exit.
Bring up the bridged NIC:
ifup eth1
In this scenario, we will specify a port that gets redirected to port 80 on the antlet. In this example, we are using the same port number (80) for source and destination.
An example of port forward
You can specify a different port if you'd like. The source port should not be 3000 since this is used by antMan.
If you have multiple antlets running web servers listening on the same port, then you must create port forward rules with different source port numbers.
You can find detailed instructions on how to setup port forwarding here.

3. Connect to Nextcloud

If you used Bridged Networking above, then use this address in your browser to access Nextcloud:
Where bridge-nic-ip is the private IP Address of your antlet that's on your network.
If you used Port Forwarding above, then use this address in your browser to access Nextcloud:
http://myantsle.local/nextcloud http://antsle-private-ip/nextcloud
Where myantsle is the host name of your antsle and antsle-private-ip is the private IP address of your antsle.

4. Logging into Nextcloud

Use the following default credentials for Nextcloud:
Username: root Password: antsle
For using Nextcloud, you can refer to their documentation here.