1. Update system
sudo apt update && sudo apt upgrade -y
  1. Install desktop + XRDP

    sudo apt install xfce4 xfce4-goodies xrdp -y
    
  2. Set XFCE as default session

    echo xfce4-session > ~/.xsession
    
  3. Enable & start XRDP

    sudo systemctl enable xrdp
    sudo systemctl restart xrdp
    
  4. Allow RDP port

    sudo ufw allow 3389
    sudo ufw reload
    
  5. Reboot

    sudo reboot
    
  6. Connect

    1. Use Remote Desktop on Windows
    2. IP: your Droplet IP
    3. Username : root
    4. password : as made in digitalocean
  7. Create Folder > and Intsalltion Folder > and send install.sh

  8. Update pip

    sudo apt install python3-pip -y
    
  9. Make venv

sudo apt install python3-venv -y
python3 -m venv venv
source venv/bin/activate
  1. Install Libraries

    chmod +x install.sh
    sudo apt install dos2unix -y
    dos2unix install.sh
    ./install.sh
    
  2. Run code

python3 test.py

  1. Fix time to ist
sudo timedatectl set-timezone Asia/Kolkata
  1. Install sublime Text
# Add Sublime Text repo key
wget -qO - <https://download.sublimetext.com/sublimehq-pub.gpg> | gpg --dearmor | sudo tee /usr/share/keyrings/sublimehq-archive.gpg > /dev/null

# Add repo
echo "deb [signed-by=/usr/share/keyrings/sublimehq-archive.gpg] <https://download.sublimetext.com/> apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list

# Update & install
sudo apt update
sudo apt install sublime-text -y