Uname:Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64

403WebShell
403Webshell
Server IP : 3.111.61.48  /  Your IP : 216.73.216.67
Web Server : Apache
System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64
User : ubuntu ( 1000)
PHP Version : 8.2.31
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/vhost/itmtrsrv.arukustech.com/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhost/itmtrsrv.arukustech.com//install steps.txt
================Main Server===================
sudo apt update
sudo apt install python3 python3-pip -y
sudo apt install python3-venv python3-full -y
sudo chown -R ubuntu:ubuntu /opt/server-monitor
python3 -m venv venv
source venv/bin/activate
pip install psutil requests
pip install fastapi uvicorn pymysql cryptography
/etc/systemd/system/servermonitor-api.service
pip install passlib[bcrypt] python-jose
sudo apt install -y python3-pip python3-venv
pip install flask pymysql gunicorn requests
pip install flask pymysql gunicorn cryptography requests
gunicorn --version
pip install flask-login werkzeug
pip install fastapi uvicorn pymysql
pip install cryptography
sudo chown www-data:www-data email_credentials
sudo chmod 600 email_credentials
pip install bcrypt==4.0.1
pip install boto3
pip install passlib[bcrypt] python-jose




##sudo nano /etc/systemd/system/servermonitor-api.service    -------Main Service------------

[Unit]
Description=Server Monitor API
After=network.target

[Service]
User=ubuntu
WorkingDirectory=/var/www/html/domain.co.in/api
ExecStart=/var/www/html/domain.co.in/api/venv/bin/uvicorn main:app --host 127.0.0.1 --port 9000 --root-path /api

Restart=always

[Install]
WantedBy=multi-user.target

sudo systemctl daemon-reload
sudo systemctl enable servermonitor-api
sudo systemctl start servermonitor-api
sudo systemctl status servermonitor-api

##sudo nano /etc/apache2/sites-available/domain.co.in.conf  
<VirtualHost *:80>
    ServerName domain.co.in
    ServerAdmin admin@domain.co.in

    DocumentRoot /var/www/html/domain.co.in/public

    <Directory /var/www/html/domain.co.in/public>
        AllowOverride All
        Require all granted
    </Directory>

    ErrorLog ${APACHE_LOG_DIR}/servermonitor_error.log
    CustomLog ${APACHE_LOG_DIR}/servermonitor_access.log combined
</VirtualHost>

Youez - 2016 - github.com/yon3zu
LinuXploit