Getting Started

How should I partition my server

The QuickBox Recommendation

We recommend using RAID0 and using mount point /(root). Removing the /home  mount point if possible from your server allows more room for all your apps such as plex if it grows fast as some will. Additional to the QuickBox dashboard will only recognize and support /(root) and /home .

Current notables

QuickBox Community Edition does not support custom and/or additional mounts such as /data , /media etc. See QuickBox Pro if this is a feature that is a must for you.

Back To Top

How to install QBCE

You can install QuickBox Community Edition (QBCE) using our given method. Please be advised that the install script must be ran by the root user and within the /root directory.

 

apt-get -yqq update; apt-get -yqq upgrade; apt-get -yqq install git lsb-release; \
git clone https://github.com/QuickBox/QB /etc/QuickBox; \
bash /etc/QuickBox/setup/quickbox-setup

Back To Top

Post Install

Install Let’s Encrypt

Using Let’s Encrypt for SSL on your seedbox is a great way to have a valid certificate and avoid all the nag screens and exceptions that you have to jump through when dealing with self-signed certificates. Let’s Encrypt provides an easy way to obtain and install trusted certificates for absolutely no cost, other a couple of minutes of time.

Before we start, it is required that you have a valid domain name. Purchase one anywhere you like… they are not too expensive. You will then need to setup an A Record for the domain to point the IP of your seedbox towards. I would recommend CloudFlare… there are several reasons why CloudFlare is a good choice, but the biggest is that once again, it’s free.

Setup and install Let’s Encrypt

Option 1: Sever has its own Domain

apt-get -y install git
git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt
cd /opt/letsencrypt
./letsencrypt-auto --apache -d your_domain.com -d sub.your_domain.com

Replace your_domain.com and sub.your_domain.com with that of your actual domain. Subdomains are only needed if you are attaching your seedbox to another domain, ie; mybox.domain.com use Option 2.

Option 2: Server is on a Subdomain

apt-get -y install git
git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt
cd /opt/letsencrypt
./letsencrypt-auto --apache -d sub.your_domain.com

 ? Heads Up!

You may receive a prompt asking which configuration file to use for Let’s Encrypt, it is important that you choose 000-default.conf and not default-ssl.conf. Choosing default-ssl.conf can and in most cases wipe the QiuckBox default-ssl.conf already in place, this results in needing to rebuild the apache configuration files.

Then setup auto-renewal of the ca-certificate

./letsencrypt-auto renew

Now add a crontab

sudo crontab -e

Enter the following:

30 2 * * 1 /opt/letsencrypt/letsencrypt-auto renew >> /var/log/le-renew.log

Save and exit.

This will create a new cron job that will execute the letsencrypt-auto renew command every Monday at 2:30 am. The output produced by the command will be piped to a log file located at /var/log/le-renewal.log.

Next, you will also need to change your DocumentRoot after you install let’sencrypt … The good news is you can do it with one string :

sed -i "s|DocumentRoot /var/www/html|DocumentRoot /srv/rutorrent/home/|g" /etc/apache2/sites-enabled/000-default-le-ssl.conf && service apache2 restart

 

Back To Top