How to make my own cloud storage

Maxarini

Reputable
Jul 30, 2014
261
1
4,780
I have been using services like dropbox and google drive for a long time now, and they all have the same problem. They are expensive and have very limited storage.

I need a way that I can make some sort of NAS box with a web interface (similar to dropbox or google drive), and a way to access it from areas other than my own network.

I have already tried some software called "Owncloud" but so far I have only been able to use it on my network. Is there a way I could port forward or something to be able to access it anywhere while keeping it secure?

Thanks so much in advance.
 
Solution
Ownclouds creator left if I recall correctly and started Nextcloud instead. https://nextcloud.com/
Anyway, since you would run Linux (right?), using SSH or SCP should be simple. You can move files around with both.
SSH: https://www.digitalocean.com/community/tutorials/how-to-use-ssh-to-connect-to-a-remote-server-in-ubuntu
Syntax is something like 'ssh /path/to/file username@a:/path/to/destination' to move a file to server IIRC. scp/ssh, interchangable I think.
https://unix.stackexchange.com/questions/106480/how-to-copy-files-from-one-machine-to-another-using-ssh
I have a Digitalocean droplet that I transfer files to but I use WinSCP, when I can't be bothered with SSH.
I have tried Rsync but the CPU usage goes through the roof for some...

Maxarini

Reputable
Jul 30, 2014
261
1
4,780


How would that work? Would it let me use a web interface? Sorry I'm kind of new to this.

 

mamasan2000

Distinguished
BANNED
Ownclouds creator left if I recall correctly and started Nextcloud instead. https://nextcloud.com/
Anyway, since you would run Linux (right?), using SSH or SCP should be simple. You can move files around with both.
SSH: https://www.digitalocean.com/community/tutorials/how-to-use-ssh-to-connect-to-a-remote-server-in-ubuntu
Syntax is something like 'ssh /path/to/file username@a:/path/to/destination' to move a file to server IIRC. scp/ssh, interchangable I think.
https://unix.stackexchange.com/questions/106480/how-to-copy-files-from-one-machine-to-another-using-ssh
I have a Digitalocean droplet that I transfer files to but I use WinSCP, when I can't be bothered with SSH.
I have tried Rsync but the CPU usage goes through the roof for some reason. 8 cores fully utilized moving a few files. I wouldn't recommend Rsync.

SSH is text only (Command Line Interface=CLI). WinSCP is a program, looks like TotalCommander.
Nextcloud is a web interface.

Tutorial for Nextcloud
https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-nextcloud-on-ubuntu-16-04
 
Solution

Maxarini

Reputable
Jul 30, 2014
261
1
4,780



I understand. Thanks so much for your response.

After reading what you wrote, I decided to go with next-cloud instead of own-cloud. It took some time but I uninstalled own-cloud and followed the instructions you linked (plus some other guides that I found online) and got the web interface working for next-cloud.

However, I had to reboot the machine and after that I cannot connect to it anymore. Do I have to restart some services or something? Is there a way that I can make what I need start up automatically on device boot?

Thanks so much

 

Maxarini

Reputable
Jul 30, 2014
261
1
4,780


I started apache with "sudo systemctl start apache2" and it still doesn't connect. chrome says it "refused to connect". Any other ideas?