I need help for my first install ever

Hello there!
Im new here . I have a raspberry pi 4 with 4GB of RAM .
I want to install Nextcloud on it . Aside with some other projects(like pihole).
Which way is the best and most secure ? Installing via apache or docker ?
Can i use any secure and trusted domain to set it up on the Internet to?
If i want to install another HDD after the setup . is that possible ?

I want a tutorial to help me step by step … Thanks in advance !

1 Like

Have a look at

https://ownyourbits.com/nextcloudpi/

3 Likes

Hi, @Udaba if you want there is Nextcloudpi with automatic installation and other tools. I think all type of installation accepts another HDD after installation.
You can use any secure and trusted domain. ( if you want to use a reverse proxy on nextcloud, you can have some issue if you set it up wrong. Don’t forget to open your router ports to have access on WAN ).

2 Likes

Thats the difference with the default apache installation?

1 Like

A preconfigured image makes it easier to use Nextcloud because everything is preconfigured and read-to-use without the need to dig into the different configuration options in detail.

2 Likes

Thank you very much!
Will i be able to put it on the internet and be safe about it ?

1 Like

@Udaba nextcloudpi use apache, so you can put it on the internet ( make sure to open only 80 and 443 ports of your router). to enable https : https://docs.nextcloudpi.com/en/how-to-get-certificate-with-letsencrypt-using-dns-to-verify-domain/

on nextcloudpi there is a menu to add trusted domain instead of use terminal.

2 Likes

i made it work with your help guys :slight_smile:
thanks .
Im waiting for 2 cases for my 2 HDDs to USB 3.1 .
Im going to connect them . And i want to mirror the one disk to another . to always have a backup , even one of the 2 drives dies . is that even possible? thanks again

1 Like

@Udaba I’m using mdadm to make a RAID 0 ( mirroring one disk to another), I’m using it with cockpit to have basic monitoring tools and configuration.

2 Likes

Not to be a language nazi, but mirroring two drives is RAID1…

2 Likes

@anon71540698 yes you’re right, I didn’t pay attention to what I had written

1 Like

I sadly failed to connect 2 (2.5 inch HDDs) with USB 3.0 , because when i connect both one of them makes a beep sound . also i cant recognize them both .

@Udaba do you use an external power supply on the USB hub to power on the HDD?

1 Like

No .
Its something like this : 22 Pin SATA3 to USB 3.0 - Skroutz.gr but with a case .
sorry for greek site .

@Udaba this the problem, the raspberry cannot deliver all energy needed for both HDD you have to use an external power supply or something like this.

1 Like

thanks .
will this work? Do you know?

@Udaba, it seems to be good for your 2 HDD :+1:

1 Like