๐ Orange Pi 4 Pro: The Ultimate Home Server Guide
Official Kabora Tech guide to transform your Orange Pi 4 Pro (Allwinner A733) into a robust Debian server. Installation sequence for all 11 services:
- ✅ 1. Docker & Portainer
- ✅ 2. Cockpit
- ✅ 3. Tailscale Fix
- ✅ 4. Samba
- ✅ 5. Pi-hole
- ✅ 6. Log2Ram
- ✅ 7. Immich
- ✅ 8. Jellyfin
- ✅ 9. Navidrome
- ✅ 10. Transmission
- ✅ 11. Homepage
๐ STEP-BY-STEP TECHNICAL GUIDE
1. Docker & Portainer (Management Base)
Install the container engine and the web interface to manage all your services easily via browser.
curl -fsSL https://get.docker.com -o get-docker.sh && sudo sh get-docker.sh sudo usermod -aG docker $USER docker run -d -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest
2. Cockpit (Hardware Monitor)
Monitor the 8 cores of the Allwinner A733, temperature, and RAM usage in real-time through a clean web dashboard.
sudo apt update && sudo apt install cockpit -y
3. Tailscale (Remote Access Fix)
sudo tailscaled --tun=userspace-networking & sudo tailscale up
4. Samba (Network Share)
Transform your server into a NAS. Access Orange Pi folders from Windows, Mac, or mobile as if they were a local drive.
sudo apt install samba -y sudo smbpasswd -a orangepi
5. Pi-hole (Ad-Blocker)
Protect your entire network by filtering ads and tracking at the DNS level before they even reach your devices.
docker run -d --name pihole -p 53:53/tcp -p 53:53/udp -p 80:80 -v /etc/pihole:/etc/pihole pihole/pihole:latest
6. Log2Ram (SD Card Protection)
curl -L https://github.com/azlux/log2ram/archive/master.tar.gz | tar zx cd log2ram-master && sudo ./install.sh
7. Immich (Self-Hosted Photos)
The premier open-source alternative to Google Photos. Securely backup and browse your mobile photos on your own hardware.
mkdir immich && cd immich && wget https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml && docker compose up -d
8. Jellyfin (Media Server)
Stream your movie and TV show collection to any device with posters, metadata, and zero subscription fees.
docker run -d --name jellyfin -p 8096:8096 -v /media:/media jellyfin/jellyfin
9. Navidrome (Music Streaming)
Your personal "Spotify" running from your music collection. Lightweight, fast, and accessible from any web browser or app.
docker run -d --name navidrome -p 4533:4533 -v /media/music:/music deluan/navidrome
10. Transmission (Torrents)
Download files directly to your server's storage using this lightweight and efficient BitTorrent client.
docker run -d --name transmission -p 9091:9091 -v /media/downloads:/downloads lscr.io/linuxserver/transmission
11. Homepage (Visual Dashboard)
The final touch. A modern, centralized dashboard to organize and access all your new services with one click.
docker run -d --name homepage -p 3000:3000 -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/gethomepage/homepage:latest
๐ Complete Access Guide
Replace [PI_IP] with your Orange Pi's local or Tailscale IP address:
| Service Name | Access Port / Method |
|---|---|
| Homepage (Main) | http://[PI_IP]:3000 |
| Portainer | https://[PI_IP]:9443 |
| Cockpit | https://[PI_IP]:9090 |
| Pi-hole | http://[PI_IP]/admin |
| Jellyfin | http://[PI_IP]:8096 |
| Immich | http://[PI_IP]:2283 |
| Navidrome | http://[PI_IP]:4533 |
| Transmission | http://[PI_IP]:9091 |
| Samba | Local Share Access |
| Tailscale | VPN Connection |
| Log2Ram | Auto-start Service |
No comments:
Post a Comment