The primary server requirement is disk space - have enough space to hold 2x the data you plan to transfer. Atlas Hub streams all data, so the memory requirements are low, however 8 or 16gb are a good starting place.
A few system packages are needed:
apt-get update apt-get -y install curl nginx lsof build-essential git gnupg2 \ nano redis-server sqlite3 libsqlite3-0 pkg-config \ libxml2-dev libxmlsec1-dev libxmlsec1-openssl \ libldap2-dev python3-dev libsasl2-dev ldap-utils \ libssl-dev libffi-dev unixodbc unixodbc-dev libpq-dev curl -fsSL https://deb.nodesource.com/setup_18.x | bash - apt-get install -y nodejs npm i -g pm2 pm2 install pm2-logrotate # allow pm2 to start on reboot (need sudo if you are not running as root) pm2 startup
You can check the node version by running
apt install software-properties-common -y add-apt-repository ppa:deadsnakes/ppa apt install python3.10
You can check your python version by running
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10 python3.10 -m pip install virtualenv
Poetry is used as the python package manager.
curl -sSL https://install.python-poetry.org | python3.10 -
In the installer output will be a command you can run to add poetry to your path. Run it now.
Check if it is installed correctly by running
Start up redis if this is the first time you are using redis on the server.
systemctl enable redis-server systemctl start redis-server # or on docker redis-server --daemonize yes
You can check if
redis is online by running