The following are the dependecies, you can follow the steps to get them done, or skip if you have them already setup.
Log into your server as root and make sure your server is entirely up-to-date. Use sudo if permission denied error occurs.
apt update
apt full-upgrade
add-apt-repository ppa:deadsnakes/ppa
apt update
apt install python3.9
python3.9 --version
yum install epel-release
yum install python-pip
pip --version
source /opt/rh/devtoolset-8/enable
yum install gcc openssl-devel bzip2-devel libffi-devel zlib-devel
wget https://www.python.org/ftp/python/3.9.6/Python-3.9.6.tgz
tar -xvf Python-3.9.6.tgz
cd Python-3.9.6
./configure --enable-optimizations
make
make altinstall
python3.9 --version
You can use any web server, we will use Apache in this document.
Follow this section if you have a paid SSL
apt install -y apache2
Follow this section if you want to use a free SSL
apt install -y software-properties-common
add-apt-repository ppa:certbot/certbot
apt install -y python-certbot-apache
Add "ServerName yourdomain.in;" to below file and reload Apache.
vim /etc/apache2/sites-available/yourdomain.in.conf
apache2ctl configtest
systemctl reload apache2
Install SSL certificates with certbot.
certbot --apache -d yourdomain.in
Open the below file and append jupitermeet/public at the end of DocumentRoot.
vim /etc/apache2/sites-available/000-default-le-ssl.conf
For ex: DocumentRoot /var/www/html/jupitermeet/public
In the same file add the following block after DocumentRoot
<Directory /var/www/html>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
Enable the rewrite module
a2enmod rewrite
Restart the server
systemctl restart apache2
apt install software-properties-common
add-apt-repository ppa:ondrej/php
apt update
apt install php8.1 -y
Install required extensions
apt install php8.1-mbstring php8.1-mysqli php8.1-curl php8.1-dom php8.1-xml php8.1-xmlwriter php8.1-common php8.1-zip php8.1-bcmath php8.1-gettext -y
php -v
Install MySQL and phpMyAdmin.
Download and install NodeJS and NPM.
apt install -y curl
curl -sL https://deb.nodesource.com/setup_16.x | bash -
apt install -y nodejs
Install a process manager tool
npm i -g pm2
node -v
npm -v
Unzip the jupitermeet_pro folder into the web folder (/var/www/html).
cd /var/www/html/jupitermeet_pro
chmod -R 775 .
chown -R $USER:www-data .
Now, you can continue to the Application setup step.