Skip to content

Instantly share code, notes, and snippets.

@christophernarciso
Last active June 27, 2018 21:48
Show Gist options
  • Save christophernarciso/731cc5eb72972266bf8417dfeb265c13 to your computer and use it in GitHub Desktop.
Save christophernarciso/731cc5eb72972266bf8417dfeb265c13 to your computer and use it in GitHub Desktop.
Debian 8 OSbot
# Update debian
apt-get update -q -y
apt-get upgrade -q -y
apt-get dist-upgrade -q -y
# Incase debian fails to install
mkdir /dev/fuse
chmod 777 /dev/fuse
apt-get install fuse
# Install X & LXDE & VNC
apt-get -q -y install xorg lxde-core tightvncserver
#Install java8
sudo apt-get update
sudo apt-get install default-jre
sudo apt-get install default-jdk
sudo apt-get install software-properties-common
sudo add-apt-repository "deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main"
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo apt install oracle-java8-set-default
#Install chrome
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
echo "deb http://dl.google.com/linux/chrome/deb/ stable main" | sudo tee /etc/apt/sources.list.d/google-chrome.list
sudo apt-get update
apt-get -y install google-chrome-stable
# Download osbot
mkdir ~/Desktop/
curl -o ~/Desktop/osbot.jar https://osbot.org/mvc/get
chmod +x ~/Desktop/osbot.jar
# Download executables
curl -o ~/Desktop/run.sh https://transfer.sh/14F9Wu/runosbot.sh
chmod +x ~/Desktop/run.sh
curl -o ~/Desktop/update.sh https://transfer.sh/VD6cN/updateosbot.sh
chmod +x ~/Desktop/update.sh
# Create vnc and ask password
tightvncserver :1
tightvncserver -kill :1
# Add config
wget https://gist.github.com/anonymous/d0606a74a17247134e74b6f20abe24ab/raw/7be591567fc5e3324fcac5d7edfc63d36a3684b4/xstartup -O ~/.vnc/xstartup
# Boot vnc
tightvncserver :1
@christophernarciso
Copy link
Author

Sets up your VPS to be OSbot client botting ready

@christophernarciso
Copy link
Author

I get this message "bash: curl: command not found"????
Please run:
apt-get update
apt-get install curl

@christophernarciso
Copy link
Author

I get the error that connection is refused
Please run:
vncserver

and connect via the IP again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment