Skip to content

annihilatorrrr/ServerSetup

Repository files navigation

ServerSetup

My oracle server setup script!

To use a webhook:

Must have a domain in cloudflare. After that go to tunnels & make a tunnel and setup it in the server ( follow the on screen steps.). Take the url use paste it in url of webhook of bot. Now do screen then set port for ex. 443 in the bot which has been provided in the local host url of cloudflare tunnel. Then sudo su then activate virtual env then cd then must do git config --global --add safe.directory /home/ubuntu/folder for git pull support and now run it and deattach the screen. Do sudo chown -R ubuntu /home/ubuntu/venv/ after deattaching the screen pip3 workings.

Open port in oracle firewall:

sudo apt install firewalld
sudo firewall-cmd --zone=public --permanent --add-port=443/tcp
sudo firewall-cmd --reload
sudo iptables -I INPUT -m state --state NEW -p tcp --dport 443 -j ACCEPT
sudo netfilter-persistent save

Then open in the protal!

About

My oracle server setup script!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published