# DietPi NAS setup, advise wanted

**URL:** https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763
**Category:** General Discussion
**Created:** [22 December 2020 11:23 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763 "2020-12-22T11:23:23Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![hemertje](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/h/cdc98d/32.png) [@hemertje](https://dietpi.com/forum/u/hemertje)
#### Post date: [22 December 2020 11:23 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/1 "2020-12-22T11:23:23Z")

</div>

Hello all,

having a Pine64 Rockpro64 SingleBoardComputer , [https://www.pine64.org/rockpro64/](https://www.pine64.org/rockpro64/), and I want it to setup as a NAS.

Can you help me, giving advise?  
I’m thinking about the following software / tools:

Desktops:  
23 LXDE Ultra lightweight desktop

BitTorrent & Download Tools:  
149 NZBGet NZB download manager with web interface

Cloud & Backups:  
114 Nextcloud Your own personal cloud based backup/data storage system

System Security:  
73 Fail2Ban Protects your system from brute-force attacks

Webserver Stacks:  
? LEMP Webserver Nginx / MariaDB / PHP

DNS Servers:  
93 Pi-hole A DNS/Web server that will block ads for any device on your network

File Servers:  
96 Samba Feature rich file server.  
95 vsftpd Feature rich FTP file server

VPN:  
97 OpenVPN Easy to use, minimal hassle VPN server

SSH Server Choices:  
105 OpenSSH Feature rich SSH server with SFTP/SCP support

Log System Choices:  
101 Full Full logging system with Logrotate  
102 Full Full logging system with Rsyslog  
  
  
**What about:**  
Anti-Virus ?  
Firewall ?  
Backup to a Synology system ?  
Ubiquiti Unifi Controller ?  
Monitoring Stack ?  
Telegraf ?  
Influxdb ?  
77 Grafana ?  
ACME.sh Let’sEncrypt SSL ?  
DDNS updater (Gandi) ?

Did I miss any tutorials?

Any help is appreciated!

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [22 December 2020 12:45 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/2 "2020-12-22T12:45:25Z")

</div>

Hi,

what exactly is your question now? Software installation depends on your needs and on the scenario you like to run.

> Desktops:  
> 23 LXDE Ultra lightweight desktop

For which reason you need a desktop?

> Webserver Stacks:  
> ? LEMP Webserver Nginx / MariaDB / PHP

a web server sack will be installed along with NextCloud and PiHole. No need to select it separably. Just need to adjust your web server preference.

> File Servers:  
> 96 Samba Feature rich file server.  
> 95 vsftpd Feature rich FTP file server

do you need both?

> SSH Server Choices:  
> 105 OpenSSH Feature rich SSH server with SFTP/SCP support

You are running Dropbear as SSH server only. If you like to use OpenSSH, change SSH server preference. If you like to use SCP only, it’s enough to instrall OpenSSH client [0]

> Log System Choices:  
> 101 Full Full logging system with Logrotate  
> 102 Full Full logging system with Rsyslog

only one can be selected, just change your log method preference

---

<div class="post-metadata">

### Author: ![hemertje](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/h/cdc98d/32.png) [@hemertje](https://dietpi.com/forum/u/hemertje)
#### Post date: [22 December 2020 16:11 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/3 "2020-12-22T16:11:59Z")

</div>

Hi Joulinar

I’m not familiar yet with DietPi, so I’m reading what to do best for setting up a NAS.

Desktop isn’t needed for a headless server but seems easy to maintain with?

Is there a question regarding which Webserver stack has your preferences installing Nextcloud and Pi-hole?

File server, one is needed indeed, but what is prefered to use with MacOS and Windows10?

For SSH, just need a server I guess so I can connect to the NAS, which one is basicly installed by default?

Log system, I think Logrotate will prefer…

Do you have experiences with:

Anti-Virus ?  
Firewall ?  
Backup to a Synology system ?  
Ubiquiti Unifi Controller ?  
Monitoring Stack ?  
Telegraf ?  
Influxdb ?  
77 Grafana ?  
ACME.sh Let’sEncrypt SSL ?  
DDNS updater (Gandi) ?

Or guides to it?

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [22 December 2020 20:51 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/4 "2020-12-22T20:51:52Z")

</div>

> Desktop isn’t needed for a headless server but seems easy to maintain with?

usually there is no desktop needed on a headless system. Majority of applications can be managed via web gui or command line

> Is there a question regarding which Webserver stack has your preferences installing Nextcloud and Pi-hole?

It’s fine to stay with default setting (lighttpd)

> File server, one is needed indeed, but what is prefered to use with MacOS and Windows10?

Samba should be fine

> For SSH, just need a server I guess so I can connect to the NAS, which one is basicly installed by default?

default SSH server is Dropbear. It’s already installed and working. No need to install another SSH server

> Monitoring Stack ?  
> Telegraf ?  
> Influxdb ?  
> 77 Grafana ?

Influxdb + Grafana are available on dietpi-software. You can use following guide for a full blown monitoring experience [IoT — Raspberry Pi Container and System Monitoring with InfluxDB, Telegraf and Grafana | by Dorian Machado | Medium](https://medium.com/@dorian599/iot-raspberry-pi-container-and-system-monitoring-with-influxdb-telegraf-and-grafana-a1767c38c109)

> ACME.sh Let’sEncrypt SSL ?

you can use dietpi-letsencrypt to create your certificates

> DDNS updater (Gandi) ?

by default, DietPi supports NoIP. However you can use whatever DDNS you like. Just install it manually

I recommend to have a look into [DietPi Documentation - DietPi.com Docs](https://dietpi.com/docs/) for available software title and general options

---

<div class="post-metadata">

### Author: ![hemertje](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/h/cdc98d/32.png) [@hemertje](https://dietpi.com/forum/u/hemertje)
#### Post date: [23 December 2020 09:47 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/5 "2020-12-23T09:47:20Z")

</div>

Again @Joulinar thx for your fast reply…

Will have a further look and will create my NAS manual which I will share here

So others can review it and help others with the same question in future 😃

---

<div class="post-metadata">

### Author: ![hemertje](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/h/cdc98d/32.png) [@hemertje](https://dietpi.com/forum/u/hemertje)
#### Post date: [25 February 2021 06:03 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/6 "2021-02-25T06:03:42Z")

</div>

Hi,

did setup a NAS manual, but size zipped is 6.5MB.

How to share here?

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [25 February 2021 08:18 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/7 "2021-02-25T08:18:12Z")

</div>

means you have created a HowTo? That’s nice. Best way to share would be creating a new topic on our Community Tutorials section [https://dietpi.com/phpbb/viewforum.php?f=15](https://dietpi.com/phpbb/viewforum.php?f=15)

This an example how it could looks like [https://dietpi.com/forum/t/guide-dietpi-on-proxmox/4931/1](https://dietpi.com/forum/t/guide-dietpi-on-proxmox/4931/1)

---

<div class="post-metadata">

### Author: ![hemertje](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/h/cdc98d/32.png) [@hemertje](https://dietpi.com/forum/u/hemertje)
#### Post date: [25 February 2021 08:32 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/8 "2021-02-25T08:32:43Z")

</div>

To setup a NAS (for my own needs as discussed before, but other can possible think and use the the same), I more selected the existing [DietPi.com](http://DietPi.com) Docs into one Word document as a Setup NAS Howto / Manual and included extra information from external websites into that one document…

Better to review first before posting directly online Joulinar 😉

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [25 February 2021 09:26 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/9 "2021-02-25T09:26:13Z")

</div>

ok if you like you can store it on my cloud and I can have a look [https://www.magentacloud.de/share/ued6xly1sx](https://www.magentacloud.de/share/ued6xly1sx)

---

<div class="post-metadata">

### Author: ![hemertje](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/h/cdc98d/32.png) [@hemertje](https://dietpi.com/forum/u/hemertje)
#### Post date: [25 February 2021 09:58 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/10 "2021-02-25T09:58:33Z")

</div>

Thank you, dankjewel, danke!

It’s in your storage…

Can you have a review of it if I didn’t make mistakes?

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [25 February 2021 23:12 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/11 "2021-02-25T23:12:31Z")

</div>

oh wow it’s way more than a simple guide. Will have a look and do some comments. Could take some days due to RL dependency

---

<div class="post-metadata">

### Author: ![hemertje](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/h/cdc98d/32.png) [@hemertje](https://dietpi.com/forum/u/hemertje)
#### Post date: [26 February 2021 07:41 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/12 "2021-02-26T07:41:50Z")

</div>

yes, the goal is to have a fully working NAS system 😉

Take your time, enjoy the weekend!

---

<div class="post-metadata">

### Author: ![hemertje](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/h/cdc98d/32.png) [@hemertje](https://dietpi.com/forum/u/hemertje)
#### Post date: [26 February 2021 16:04 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/13 "2021-02-26T16:04:21Z")

</div>

> [@](#):
>
> ok if you like you can store it on my cloud and I can have a look [Anmelden – MagentaCLOUD](https://www.magentacloud.de/share/ued6xly1sx)

Added in the storage, Pi-Hole, to Block Ads on your Samsung, LG, Sony, or Roku Smart TV

---

<div class="post-metadata">

### Author: ![hemertje](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/h/cdc98d/32.png) [@hemertje](https://dietpi.com/forum/u/hemertje)
#### Post date: [3 March 2021 09:15 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/14 "2021-03-03T09:15:38Z")

</div>

Morning Joulinar

did you allready have a change to look / glimp at it?

Greetings!

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [4 March 2021 01:00 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/15 "2021-03-04T01:00:30Z")

</div>

sorry not yet, quite busy iRL and with the new update v7.0.2 ☹

---

<div class="post-metadata">

### Author: ![hemertje](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/h/cdc98d/32.png) [@hemertje](https://dietpi.com/forum/u/hemertje)
#### Post date: [4 March 2021 15:12 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/16 "2021-03-04T15:12:58Z")

</div>

sounds familiar 😉

---

<div class="post-metadata">

### Author: ![hemertje](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/h/cdc98d/32.png) [@hemertje](https://dietpi.com/forum/u/hemertje)
#### Post date: [25 March 2021 18:12 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/17 "2021-03-25T18:12:38Z")

</div>

Hello Joulinar

Can you have a look?  
Danke!

---

<div class="post-metadata">

### Author: ![Parkour\_Lama](https://dietpi.com/forum/user_avatar/dietpi.com/parkour_lama/32/2461_2.png) [@Parkour\_Lama](https://dietpi.com/forum/u/Parkour_Lama)
#### Post date: [27 March 2021 14:59 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/18 "2021-03-27T14:59:17Z")

</div>

Holy smokes, (I took a look at it as I am interested in a NAS, hope you don’t mind) I DID NOT expect a 114 page manual filled with so many details! You managed to write all that in just 2 months?

---

<div class="post-metadata">

### Author: ![hemertje](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/h/cdc98d/32.png) [@hemertje](https://dietpi.com/forum/u/hemertje)
#### Post date: [27 March 2021 19:49 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/19 "2021-03-27T19:49:14Z")

</div>

Well…

It’s actual all here on this domain, I just combined all relevant articles into one document from what I think of that is to setup a NAS

Please feel free to use it!  
If you have any comment please share 😉

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [4 April 2021 23:36 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/20 "2021-04-04T23:36:49Z")

</div>

sorry for late response but I was hijacked by private live, trying to catch up open items now.

[Next page](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763.md?page=2)
