Skip to content

Download

bash
# Interactive (prompts for password)
wget -qO- https://gitee.com/gitdogcat/nas/raw/master/scripts/install.sh | sudo bash

# Or with password pre-set (unattended/CI)
NAS_PASS=mySecurePass123 wget -qO- https://gitee.com/gitdogcat/nas/raw/master/scripts/install.sh | sudo bash

The installer uses wget (built into Debian) and downloads from Gitee (accessible worldwide). It auto-detects your system, switches to a fast apt mirror if needed, and deploys all 9 services with progress tracking. After installation, it runs a 46-item system registry check to verify everything is working. Takes ~5-10 minutes.

Manual Deploy

bash
# 1. Clone repo
git clone https://gitee.com/gitdogcat/nas.git ~/soft/nas

# 2. Configure password
cp ~/soft/nas/.env.example ~/soft/nas/.env
# Edit .env, set password (min 12 chars)

# 3. Deploy
sudo bash ~/soft/nas/scripts/setup.sh

setup.sh auto-downloads the nas-panel binary. If network is unavailable, compile manually (see below).

Deployment takes ~5-10 minutes. Access at http://<NAS IP>:8090.

System Requirements

RequirementMinimumRecommended
OSDebian 12+Debian 13 (trixie)
CPU2 cores4 cores+
RAM2GB4GB+
Disk20GBSeparate data disk
NetworkGigabit2.5GbE
Archx86_64x86_64 / ARM64

Also supports Raspberry Pi 4/5, VMs, Mini PCs — same install path.

nas-panel Binary

Auto-downloaded from:

FileURLDescription
nas-panel.latesthttps://get.z1.sale/control/nas-panel.latestLatest binary (amd64)

Place at /usr/local/bin/nas-panel.

Compile from Source

bash
cd ~/soft/nas/web
export GOPROXY=https://goproxy.cn,direct
go build -o nas-panel .
strip nas-panel   # 11MB → 6.2MB

GOPROXY is required in China (default proxy is blocked). Frontend is embedded — no Node.js needed.

Version History

VersionDateDownloadHighlights
v1.3.02026-08-03Release4-layer storage model + Design System v2.0 + rclone enhancements + firewall rewrite + Architecture v1.0
v1.2.02026-07-13ReleaseModular refactor + config management + backup/restore + rclone S3 + hardware definition
v1.0.02026-07-08ReleaseSecurity cleanup + username generalization

Upgrade

bash
# Method 1: Pull + compile
cd ~/soft/nas && git pull
cd web && export GOPROXY=https://goproxy.cn,direct && go build -o nas-panel .
sudo cp nas-panel /usr/local/bin/ && sudo systemctl restart nas-panel

# Method 2: Download pre-built binary
sudo wget -O /usr/local/bin/nas-panel https://get.z1.sale/control/nas-panel.latest
sudo systemctl restart nas-panel

Config is auto-backed up before upgrade. Panel upgrade doesn't affect storage data or running services.

Verify Installation

bash
# Panel service
sudo systemctl status nas-panel

# File sharing
sudo systemctl status smbd nfs-server vsftpd

# Firewall
sudo ufw status

# All services
sudo systemctl list-units --type=service | grep -E "smbd|nfs|vsftpd|nas|fail2ban|filebrowser|monitor"

Browser: http://<NAS IP>:8090, login with credentials from .env.

Licensed under GNU AGPLv3