Install RBT: Ubuntu Noble prerequisites
This preflight step prepares an Ubuntu Noble host for RBT. It covers the operating-system baseline, host resources and packages that later database, telephony, video and application services rely on.
This page is one step in the complete RBT installation guide.
Before you start
- Use a dedicated server or virtual machine with administrative access.
- Confirm the final hostname, DNS records, storage layout and backup plan.
- Apply current security updates before installing application services.
Expected result
The host should report Ubuntu Noble, have enough free storage for the planned database and logs, and resolve its production hostname correctly.
Verify this step
lsb_release -ds
hostname -f
df -h
!DISCLAIMER! (Recommended HW requirements)
FRS + RBT (~1k cameras/domophones)
CPU: Intel(R) Xeon(R) CPU E2690v4
GPU: NVIDIA GeForce GTX 1650, 4Gb
RAM: 64 Gb
RAID10: 6TB
FLUSSONIC (~1k cameras/domophones)
CPU: Intel(R) Xeon(R) CPU 2 * E2690v4
GPU: NO
RAM: 64 Gb
NORAID: 16 * 14TB
Preparation
[!IMPORTANT] Use a minimal Ubuntu Server 24.04 (Noble Numbat) installation on a VM or bare-metal server. Run all installation commands as
root(sudo -i) unless stated otherwise.
sudo apt-get update && \
sudo apt-get -y install -f && \
sudo apt-get -y full-upgrade && \
sudo apt-get -y autoremove && \
sudo apt-get -y autoclean && \
sudo apt-get -y clean
sudo apt-get install -y \
bash-completion \
redis \
nginx \
php-fpm \
php-redis \
php-mbstring \
php-curl \
php-pdo-pgsql \
php-pdo \
php-pear \
php-dev \
php-intl \
php-yaml \
composer \
libxt6 \
libxmu6 \
python-dev-is-python3 \
libssl-dev \
liblzma-dev \
libcurl4-openssl-dev \
lua5.4 \
libedit-dev \
libxml2-dev \
xmlstarlet \
liblua5.4-dev \
libxslt1-dev \
libsrtp2-dev \
lua-cjson \
luarocks \
patch \
uuid-dev \
libldap2-dev \
libsqlite3-dev \
git \
ntp \
cron \
rsyslog \
logrotate \
socat \
coturn \
gcc \
g++ \
make \
apache2-utils \
dialog \
locales \
ffmpeg \
telnet \
expect \
mosquitto \
net-tools \
iputils-ping \
sngrep \
traceroute \
tcpdump
sudo apt-get install -y --install-recommends linux-generic-hwe-24.04
pecl channel-update pecl.php.net
pecl install mongodb luasandbox
echo "extension=mongodb.so" >/etc/php/8.3/mods-available/mongodb.ini
ln -sf /etc/php/8.3/mods-available/mongodb.ini /etc/php/8.3/cli/conf.d/30-mongodb.ini
ln -sf /etc/php/8.3/mods-available/mongodb.ini /etc/php/8.3/fpm/conf.d/30-mongodb.ini
echo "extension=luasandbox.so" >/etc/php/8.3/mods-available/luasandbox.ini
ln -sf /etc/php/8.3/mods-available/luasandbox.ini /etc/php/8.3/cli/conf.d/30-luasandbox.ini
ln -sf /etc/php/8.3/mods-available/luasandbox.ini /etc/php/8.3/fpm/conf.d/30-luasandbox.ini
sudo apt-get purge -y lua-sec lua-socket
luarocks-5.4 install luasec && \
luarocks-5.4 install inspect && \
luarocks-5.4 install luasocket && \
luarocks-5.4 install lua-cjson 2.1.0-1
dpkg-reconfigure locales
dpkg-reconfigure tzdata
systemctl restart php8.3-fpm