Droplet Creating Documentation
sudo apt install nginx
cd /var/www
mkdir yourDomain.name //xbaysal11.com
cd yourDomain.name
mkdir html
cd html
cd /etc/nginx/sites-enabled
vim yourDomain.name
// Paste it and change yourDomain.name
server {
listen 80;
listen [::]:80;
root /var/www/yourDomain.name/html;
index index.html index.htm index.nginx-debian.html;
server_name yourDomain.name www.yourDomain.name;
location / {
try_files $uri $uri/ =404;
}
}
sudo reboot
Steps:
- 1.Install necessary software.
sudo apt install xclip
- 2.Take a script.
- 3.Change two variable in script.
vim fileshare.sh
pubIP="35.245.175.101"
domain="xbaysal11.ml"
- 4.Give to script execute rights and run.
chmod +x fileshare.sh
./fileshare.sh
- 1.Start script
./fileshare.sh ~/<path to your file>/<file name>
- 2.We will see that we had text in the buffer.
- 3.We can paste this link into the browser or share and see download is starting.
- Main Page Privatium
- Droplet Creating Documentation
- Screenshot Sharing Documentation
- VPN Documentation
- PROXY Documentation
SPONSORS [Become a sponsor]
Privatium is GPL licensed.