For CentOS: 8, PHP 7.3 to install php-sodium, use:
dnf install php-sodium
dnf install php-sodium
All matches were filtered out by modular filtering for argument: php-sodium
Error: Unable to find a match: php-sodium
./configure
............
config.status: error: in `/usr/src/libsodium-1.0.18':
config.status: error: Something went wrong bootstrapping makefile fragments
for automatic dependency tracking. Try re-running configure with the
'--disable-dependency-tracking' option to at least be able to build
the package (albeit without support for automatic dependency tracking).
See `config.log' for more details
magento@ip-171.111.11:/var/www/magento2$ free -m
total used free shared buff/cache available
Mem: 3876 1979 1498 107 398 1561
Swap: 1023 1023 0
эти вещи как раз совсем несложные, лучше учиться на правильном, "Best Practice", так сказать.
Работа с ключами вместо паролей дает массу преимуществ. Порт сервера поменять - одна минута.
Впрочем, понимание придет со временем.
Удачи