Why Build a Private Cloud Storage?
Public cloud services like Dropbox or Google Drive are convenient until you face storage limits and high monthly fees. By deploying a Private Dropbox setup on an iRexta Mass Storage Dedicated Server, you regain total control over your sensitive data with unthrottled hardware performance.
Step 1: Access Your Bare Metal Server
Connect to your iRexta server via SSH. Ensure your system is up-to-date to avoid dependency issues during the installation.
# Access your server ssh root@your_irexta_ip # Update repositories sudo apt update && sudo apt upgrade -y
Step 2: Setup Dedicated Security User
Running everything as root is dangerous. Create a limited system user for FileBrowser.
# Create a system user without login access sudo useradd -r -s /usr/sbin/nologin filebrowser # Run the installer curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash
Step 3: Setup Mass Storage Directories
Since you are using a Dedicated Storage Server, we want to ensure FileBrowser points to your largest data partition.
# Create your cloud storage folder mkdir -p /mnt/mass-storage/private-dropbox # Initialize the config database filebrowser config init -d /mnt/mass-storage/filebrowser.db # Set ownership and database permissions sudo chown -R filebrowser:filebrowser /mnt/mass-storage/ sudo chmod 664 /mnt/mass-storage/filebrowser.db
Step 4: Launch and Access Web UI
Start the service and bind it to your server's IP. You can now access your Private Dropbox through any web browser.
# Start FileBrowser on Port 8080 filebrowser -d /mnt/mass-storage/filebrowser.db -r /mnt/mass-storage/private-dropbox -p 8080 -a 0.0.0.0
Visit http://your-server-ip:8080. Use admin/admin to log in and change your credentials immediately.
Monitoring Server Logs
To troubleshoot or monitor activity in real-time, use the following command:
sudo journalctl -u filebrowser -f
Auto-Start with Systemd Service
To ensure your Private Dropbox runs 24/7 and starts automatically after a server reboot, create a systemd service file.
# Create the service file using Nano editor sudo nano /etc/systemd/system/filebrowser.service
Note: In Nano, press Ctrl+O, then Enter to save, and Ctrl+X to exit.
# Paste this configuration: [Unit] Description=FileBrowser Service After=network.target [Service] User=filebrowser ExecStart=/usr/local/bin/filebrowser -d /mnt/mass-storage/filebrowser.db -r /mnt/mass-storage/private-dropbox -p 8080 -a 0.0.0.0 Restart=always [Install] WantedBy=multi-user.target # Enable and start the service sudo systemctl daemon-reload sudo systemctl enable --now filebrowser
Step 5: Encryption & SSL Security
Using your Private Dropbox over an HTTP connection is risky as passwords can be intercepted. We strongly recommend setting up an Nginx Reverse Proxy with Let's Encrypt SSL.
# Install Nginx and Certbot sudo apt install nginx certbot python3-certbot-nginx -y # Obtain SSL Certificate (Replace cloud.yourdomain.com with your domain) sudo certbot --nginx -d cloud.yourdomain.com
Why it matters: This adds industry-standard AES-256 encryption to your storage server, ensuring that every file you upload to your iRexta Dedicated Server is protected during transit.
Edit your Nginx site configuration to proxy the traffic to port 8080:
location / { proxy_pass http://127.0.0.1:8080; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
} Conclusion
Your Private Dropbox is now live! By utilizing iRexta Dedicated Mass Storage, you've escaped the public cloud subscription trap. Your files are now stored on high-performance bare metal hardware that you exclusively own.
Need more disk space? Explore iRexta Storage Servers.