jupitermeet
For larvel
vc24.net
set the public folder to root directory
docRoot $VH_ROOT/public_html/public
in public_html
then
https://vc24.net/install
Application has been successfully installed.
APP_NAME="JupiterMeet"
APP_ENV=production
APP_KEY=base64:Is+rALdSKwIva+qPhcaUnmgctA/wfUqY3xY3oXCZIXo=
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=https://vc24.net
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=vc24_net
DB_USERNAME=vc24_net
DB_PASSWORD="HbbKmLj8DC@3qqaO"
cd server
root@vmi728455:/home/vc24.net/public_html/server# cat .env
KEY_PATH=/etc/letsencrypt/live/vc24.net/privkey.pem
CERT_PATH=/etc/letsencrypt/live/vc24.net/fullchain.pem
DOMAIN=https://vc24.net
PORT=9006
MAX_FILESIZE=50
USER_LIMIT_PER_MEETING=10
"Error: EACCES: permission denied, open '/root/.pm2/module_conf.json'"
run npm run live with the user
serve7089 not as root
install php extensions
apt install php7.4 php7.4-mbstring php7.4-mysqli php7.4-curl php7.4-dom php7.4-xml php7.4-xmlwriter php7.4-common php7.4-json php7.4-zip php7.4-bcmath php7.4-gettext -y
.htaccess for nodejs
REWRITERULE ^(.*)$ http://vc24net/$1 [P]
in external app of openlitespeed 7080
Web Server vc24net localhost:9006
To check error log for pm2 node js
serve7089@server:~/public_html/server$ pm2 status ┌─────┬────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐ │ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │ ├─────┼────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤ │ 0 │ JupiterMeet │ default │ 2.9.1 │ fork │ 0 │ 0 │ 75 │ errored │ 0% │ 0b │ ser… │ disabled │ │ 1 │ turnserver │ default │ N/A │ fork │ 0 │ 0 │ 184 │ stopped │ 0% │ 0b │ ser… │ disabled │ └─────┴────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
you can get only error log with this command
pm2 logs 'App ID' --err --lines 1000
pm2 logs 0 --err --lines 1000
TURN Server (optional)
Install and configure CoTURN. If you want to use any third party service then skip this step.
apt install -y coturn
Update the config file
vim /etc/turnserver.conf
cert=/etc/letsencrypt/live/vc24.net/fullchain.pem pkey=/etc/letsencrypt/live/vc24.net/privkey.pem user=serve7089:kailash realm=server.vc24.net lt-cred-mech
Comments
Post a Comment