⚠️ Support for Debian 10 has officially ended as of June 2024, marking its End of Life (EOL). Consequently, some upstream repositories, such as php.sury.org, have retired their sources for Debian 10. This may result in installation failures for new setups. Please note that QuickBox is not responsible for the availability or maintenance of third-party repositories.
We recommend using either Debian 12 (Bookworm)1 or Debian 11 (Bullseye) Learn more about Debian 10 EOL here.
Switch to the root user and navigate to the /root
directory.
sudo -i
-
Why elevate to root?
Root access is required to modify system files, such as those in/root
and to perform critical tasks like configuring Nginx, PHP, etc. -
Missing sudo?
Ifsudo
is not installed, you can add it with the following command as root:
apt-get install -y sudo
- Why is sudo not installed by default?
This is usually determined by the OS installation parameters. If a root password is specified during the installation,sudo
is not installed. If no root password is set,sudo
is automatically installed. This can also vary by provider.
Ensure your system’s package lists are up to date and install any available upgrades.
apt-get -y update && apt-get -y upgrade
- Why update?
Updating ensures you have the latest software packages and security patches installed. It's a good practice to regularly update your system.
Fetch the latest QuickBox Pro setup script.
curl -sL "https://github.com/QuickBox/pro-v3/raw/refs/heads/main/qbpro_v3" > qbpro && chmod +x qbpro
- Curl not found?
If you receive a "curl: command not found" error, install curl with the following command:
sudo apt-get install -y curl
- What is curl?
curl
is a command-line tool used to download files from the internet.
Run the setup script, providing your USERNAME
, PASSWORD
, and API_KEY
:
./qbpro -u USERNAME -p 'PASSWORD' -k 'API_KEY'
USERNAME
: Your desired username.PASSWORD
: Your desired password.API_KEY
: Your unique API Key from your QuickBox account.
You can add optional flags to customize your installation:
-d | --domain DOMAIN
-e | --email EMAIL@ADDRESS
-ftp | --ftp FTP_PORT
-ssh | --ssh-port SSH_PORT
-t | --trackers [allowed | blocked]
Example:
./qbpro -u USERNAME -p 'PASSWORD' -k 'API_KEY' -d 'mydomain.com' -e '[email protected]' -ftp 5757 -ssh 4747 -t blocked
This example installs QuickBox Pro with the following options:
-
Domain: The domain name for your server.
Example:-d 'mydomain.com'
.
Important: Ensure the domain is registered and DNS records are properly configured. This will set up the QuickBox Dashboard on your domain and install an SSL certificate. -
Email: Your email address for notifications.
Example:-e '[email protected]'
. -
FTP Port: Custom FTP port.
Example:-ftp 5757
. -
SSH Port: Custom SSH port.
Example:-ssh 4747
. -
Trackers: Control tracker downloads.
Example:-t allowed
(allow trackers)-t blocked
(block trackers)
Update USERNAME
2, PASSWORD
3, and API_KEY
4 as needed, and run everything in one command:
username="ENTER_DESIRED_USERNAME_HERE"
password="ENTER_DESIRED_PASSWORD_HERE"
api_key="ENTER_API_KEY_HERE"
(apt-get -y update && apt-get -y upgrade && apt -y install curl; \
curl -sL "https://github.com/QuickBox/pro-v3/raw/refs/heads/main/qbpro_v3" > qbpro && chmod +x qbpro; \
./qbpro -u "${username}" -p "${password}" -k "${api_key}")