Install: User Account
You will NOT use root
to setup Cloudbox, as Cloudbox installs certain things to /home/USER/
folder, where as, root
uses /root/
as it's home folder. This will definitely break the install.
Instead, you can use the guide below to create a non-root user account and use that going forward.
TLDR: Do not use root to install Cloudbox.
Choose ONE of the following:
-
In this step, you will create the user account
seed
and add it to theseed
andsudo
groups.Note: Run the following commands line by line.
sudo useradd -m seed sudo usermod -aG sudo seed sudo passwd seed sudo chsh -s /bin/bash seed su seed
Note: If you have an existing user account that you don't plan on using, it may be a good idea to remove it and just stick with using seed
for everything.
-
Run the following commands line by line:
sudo useradd -m <username> sudo usermod -aG sudo <username> sudo passwd <username> sudo chsh -s /bin/bash <username> su <username>
-
Set
user
in accounts.yml to your username.
Note: If you decide to change your username after Cloudbox install, you will need to update the service.d files with your new username/group, see FAQ.
-
Run the following command:
sudo usermod -aG sudo <username> sudo usermod -aG <username> <username>
Note: This will set the group to the same name as your user account, which is required.
-
Set
user
in accounts.yml to your username.
Note: If you decide to change your username after Cloudbox install, you will need to update the service.d files with your new username/group, see FAQ.
From now on, you will log into your server with the above account (not with root).
Example:
ssh user@serveripaddress
Eventually, the server IP address can be replaced with cloudbox.domain.com (or mediabox.domain.com and feederbox.domain.com for Mediabox/Feederbox setups).
- Overview
- Presumptions
- Server
- Domain Name
- Cloudflare
- Cloud Storage
- Plex / Emby - Account
- Usenet vs. BitTorrent
Cloudbox
- Overview
- Dependencies (Choose only one of these)
- Settings
- Preinstall (Choose only one of these)
- SSH
- Ansible Vault
- Rclone
- Cloudbox (Choose only one of these)
- Application Setup
- Next Steps
Feederbox (do this first)
- Overview
- Dependencies
- Settings
- Preinstall
- SSH
- Ansible Vault
- Rclone
- Feederbox (Choose only one of these)
- Application Setup
- Next Steps
Mediabox
- Overview
- Dependencies
- Settings
- Preinstall
- SSH
- Ansible Vault
- Rclone
- Mediabox (Choose only one of these)
- Application Setup
- Next Steps
- Cloudplow (Media Uploader)
- cb utility script (Develop branch only}
- Updating Cloudbox (Choose only one of these)
- Updating Cloudbox Apps
- Removing Cloudbox Apps
- Resetting Cloudbox Apps
- Migrating Cloudbox
- Settings Updater
- Ansible Vault Primer
- Plex Access Token
- Plex Autoscan Extras
- Pushover
- Google Drive API Client ID and Client Secret
- Useful Docker Commands
- Add Your Own Docker Container into Cloudbox
- Revoking SSL Certificates
- Feeder Mount
- Adding a Subdomain
- HTTP Auth Support
- Emby
- Nextcloud
- Resilio Sync
- Plex DupeFinder
- Heimdall
- NZBHydra v1
- Plex Requests
- Sickbeard MP4 Automator
- SABnzbd
- Traktarr
See Community Wiki.