Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Buy OSRS Gold

Sell OSRS Gold
Fluffee

[Tutorial] Setup Debian (VPS) (6.x, 7.x, 8.x) for Botting (32 and 64 Bit) LG Support Updated August 20th 2016

Recommended Posts

Notes: I have only been able to test this setup procedure, on Debian 6.0, 7.9 and 8.1 (as they are all DigitalOcean provides). I can assume if it works on those, it will work on the other distributions in that set, but there are no guarantees.

 

Secondly, this script requires root privileges to run, do not try and run without root or you will encounter issues

 

Thirdly, this script and tutorial, will guide you through the process of disabling root logins on your server, creating a new account which you will use with root privileges, and changing the default ssh port. If for some reason you feel those are not good things to do (they are, leaving root logins enabled opens you to a world of issues) then you can edit this script yourself, or skip those steps in the guide. Do not post here complaining you can't login as root, you should never ssh as root after you setup the server, and I refuse to promote that terrible practice.

 

Lastly, there are some redundant commands in the script, however they do no harm so I'm not concerned with them at the moment

 

Step 1. Acquire a non-setup Debian VPS (Recommended Debian 7 x86) (http://www.waveride.at is a personal favorite)

 

Step 2. Download PuTTY (PuTTY Homepage)

 

Step 3. Download a VNC Viewer (TightVNC is my personal recommendation, use whatever you prefer)

Step 4. SSH into your server, and get to a root prompt (SSH in this case means to connect via PuTTY) (NOTE: YOU MUST BE ROOT)
 

Step 4a) Open PuTTy, you should see a screen like this 

mo8Mu.png

 

Step 4b) Enter your Server IP Address into the box that says Host Name (Or IP Address)
Step 4c) Enter your server login details and you're done

 

Step 5. If you don't care to learn anything, and you really just want the server setup and done with, go ahead and run this command 

 

(32 Bit)

apt-get update && apt-get install -y sudo wget && wget --no-check-cert 'https://dl.dropboxusercontent.com/u/81527571/Debian%207%20(32%20Bit)/install32.sh'&& chmod +x install32.sh && ./install32.sh 

(64 Bit)

apt-get update && apt-get install -y sudo wget && wget --no-check-cert 'https://dl.dropboxusercontent.com/u/81527571/Debian%207%20(64%20bit)/install64.sh'&& chmod +x install64.sh && ./install64.sh 

The command above installs sudo and wget (Installed by default in Debian 7.0+), downloads the install bash script from my Dropbox, gives the script run permissions, and then runs the script.

 

If you'd like to view the script before running it (which you should): 32 Bit 64 Bit

 

Step 6. When the script starts, it will prompt you for the following information: Hit enter after entering your information for each question

 

What would you like your user account to be named? Must be lowercase

This is going to be the name of the account you will be using from now on, as root logins will be disabled (over ssh, you can connect as this account and then switch to root afterwards, just not directly connect as root). Just type in the name of your account in all lowercase, for example bots

 

What port would you like to use to ssh to your server?

This port is the port used when you use PuTTy to access your server, the default is 22, please change it from 22 to make your server more secure. I recommend something kinda random, such as 6754. Again, just type in your port number of choice

 

What port would you like to use to vnc to your server? 

The default port for this is 5901, if you want to continue with that port type in 5901 or type in any other port of your choice.

 

What would you like your ssh password to be?

This is the password of the new account the script will create, type in whatever you want your password to be, you must enter a value

 

What would you like your vnc password to be?

This is the password used when you vnc to your server, it can be anything but you must enter a value

 

Step 7. Now that the information is entered you can sit back and relax, and the script will do the rest. When it finishes, you can go ahead and VNC into your server and run your favorite botting client :)

 

For anyone you doesn't care what the script does, this tutorial is finished! Please feel free to spread some love for the time I spent writing this tutorial, and perfecting the script :)

 

For the advanced users, or anyone who isn't just going to run something that I claim is safe, read on and I'll walk you through every command, well most of 'em

 

Command Explanation

 

apt-get update - This command checks the repositories included, for any updates to the Debian software, and updates them automatically

 

apt-get -y install sudo wget nano - This command is slightly redundant, and I just noticed it. Anyways, I'm not fixing it because there's no harm here, but this command installs: sudo (Allows other users to run things as root) wget (allows you to download things from the internet, via bash) nano (A nice bash text editor, which is merely my preferred option over vi [the default bash editor])

 

sed -i "s/Port 22/Port $sshport/g" /etc/ssh/sshd_config - Replaces the phrase Port 22 with the port inputted at the beginning of the tutorial, if you're running this by copying and pasting each command, replace $sshport with your port of choice. Or, use nano or vi to edit the file /etc/ssh/sshd_config and change the port there         

 

echo "AllowUsers $name" >> /etc/ssh/sshd_config - Adds the user account inputted in the being to the list of users allowed to connect via ssh replace $name with your user account name, if you're doing this yourself

 

sed -i "s/PermitRootLogin no/PermitRootLogin yes/g" /etc/ssh/sshd_config - Turns root logins off by replacing the line, skip this if you don't want to turn off root logins

 

chmod 600 sshd_config - Assigns the correct permissions to sshd_config, this command is also unnecessary as of now.

 

service ssh restart - Restarts the ssh service to make the changes take effect, this will not close your connection

 

apt-get -y install xorg lxde tightvncserver - Installs Xorg a LXDE component, LXDE a lightweight desktop environment and TightVNC Server, which will allow you to use VNC to connect to your server

 

sudo adduser $name --gecos "First Last,RoomNumber,WorkPhone,HomePhone" --disabled-password - Adds a user account without a password, if doing this yourself, replaces $name with your desired name

 

echo "$name:$sshpassword" | sudo chpasswd - Changes the password of the account just created, replace $name with the account name, and $sshpassword with the desired password

 

sudo adduser $name sudo - Adds the created user to the sudo user group, which will allow it to run commands as root, replace $name with your desired account name

 

mkdir /home/$name/.vnc - Creates the .vnc directory

 

echo $vncpassword >/home/$name/.vnc/file - Writes the vncpassword to a file, change $vncpassword with the desired password

 

vncpasswd -f </home/$name/.vnc/file >/home/$name/.vnc/passwd - Creates the password file used by the vnc server, and writes the password

 

chown $name /home/$name/.vnc - Changes ownership of file to the user you created

 

chgrp $name /home/$name/.vnc - Changes the group of the file to the user you created

 

su - $name -c "vncserver" - Runs vncserver as the created user

 

su - $name -c "vncserver -kill :1" - Kills the vncserver process as the created user

 

All the curl and wget commands are used to download the popular botting clients, and OSBuddy, places them in a created folder

 

echo deb commands are used to add repositories to Debian to download java (Google Debian JDK8 webupd8 for more details)

 

apt-key gives the server the proper key to connect to the repositories

 

echo oracle allows the script to auto accept the java license agreement

 

chmod 777 /usr/lib/jvm/java-8-oracle/jre/lib/security/java.policy - Gives permission to policy file for LG

 

The rest of the commands install firefox, allow the Java Runtime to be seen, create the tightvnc service (so it autostarts) and modify the vncport.

 

If you genuinely have questions, hit me up on Skype: HiFluffee

 

Update January 19th, 2016: Updated both sh files to disable root logins properly, had a mistake in the code. The script also converts any capital letters in the account name to lowercase. If capitals are present the account doesn't get created.
Update February 29th, 2016: Fixed the sh files to allow automatically allow connections via VNC to a custom port on reboot of the server.
Update: March 2nd, 2016: Now automates keyboard, character and encoding selection
Update: March 6th, 2016: Automatically picks Java to open Jar files, and removes Screensaver
Update August 20th, 2016: The script now installs TightVNC 1.3.9.10 which fixes the VNC crashing error when too many programs are opened at once.

 

Edited by iFluffee
  • Like 8

Share this post


Link to post
Share on other sites

Mind pasting a code formatted version of the command script cant copy and paste it very well from the format youve put it in ;)

I'm not really sure what you're looking for, the only version I have is what's on my dropbox :/

I don't know if that helps or not?

Share this post


Link to post
Share on other sites

Sorry worded it pretty poorly what I meant is a copy of the command to run like

apt-get install -y sudo wget && wget --no-check-cert 'https://dl.dropboxusercontent.com/u/81527571/Debian%207.0%20and%208.1%20(32%20Bit)/install32.sh%27'&& chmod +x install32.sh && ./install32.sh

because quotes chop off the link. Also the 32 bit sh file returns a 404 :(

Share this post


Link to post
Share on other sites

Sorry worded it pretty poorly what I meant is a copy of the command to run like

apt-get install -y sudo wget && wget --no-check-cert 'https://dl.dropboxusercontent.com/u/81527571/Debian%207.0%20and%208.1%20(32%20Bit)/install32.sh%27'&& chmod +x install32.sh && ./install32.sh

because quotes chop off the link. Also the 32 bit sh file returns a 404 :(

 

Fixed it, should work now :)

Share this post


Link to post
Share on other sites
Guest

Did this and I am no longer able to connect to my SSH, remote control or anything else :( I am not sure what I did wrong, I accidently chose a username with an uppercase letter tho, maybe that's what causes the problem? Please help me out! 

Share this post


Link to post
Share on other sites

Did this and I am no longer able to connect to my SSH, remote control or anything else :( I am not sure what I did wrong, I accidently chose a username with an uppercase letter tho, maybe that's what causes the problem? Please help me out! 

That would cause the problem, when logging in via SSH, make sure you enter your username in all lowercase. Also make sure you're using the correct port

If you still can't figure it out, add my Skype!

Edited by iFluffee

Share this post


Link to post
Share on other sites

@iFluffee Really good guide, makes set up very easy. How good are waverider's vps's? I was thinking about buying the 4gb one to test them out (I'm hoping it is capable of running atleast 4 bots)

 

I can't really say for certain, it's been a long time since I bought a server from them. However, with their low cost, you wouldn't be losing much by trying it

Share this post


Link to post
Share on other sites

I got Kubuntu running on my dedicated server. Whenever i open tribot it runs super slow even though I definitely have enough RAM for it. I have 64gb and Im running JAVA 8. Any idea what the issue could be?

I haven't use Kubuntu in a long time, however if you want to add my Skype I can do my best to help? :)

Share this post


Link to post
Share on other sites

Hey @ifluffee 

If you were me, how would you jump into linux based programming and networks. Noob looking to improve.

 

Also, your script here is like butter.

 

I don't actually know where to direct you, I don't know a heck of a lot I kinda just find things I want to figure out then go learn about them. At the moment, my current battle is getting Open NAT and VPN working for my Xbox, via a DD-WRT router.

I learned how to setup servers by just googling most of the stuff I wanted to know, and just messing about until it worked, I don't know if that helps?

Thanks though, glad you liked it! :)

Share this post


Link to post
Share on other sites

@iFluffee

I can give you a hand with your NAT+VPN if you need it.

Amazing script.

I haven't tested this, but I'm using Ubuntu 14.04 with LXDE-core installed.

I set up my VMS last week.. Wish I saw this script then.

It took me a while to work out how to get xllvnc to autostart.

Since it's built for Debian, I'll assume this will work for Ubuntu server also? I might give it a run next server install. (I'd assume only repos would be different if anything)

Share this post


Link to post
Share on other sites

@iFluffee

I can give you a hand with your NAT+VPN if you need it.

Amazing script.

I haven't tested this, but I'm using Ubuntu 14.04 with LXDE-core installed.

I set up my VMS last week.. Wish I saw this script then.

It took me a while to work out how to get xllvnc to autostart.

Since it's built for Debian, I'll assume this will work for Ubuntu server also? I might give it a run next server install. (I'd assume only repos would be different if anything)

Figured it out actually, had an out of date DD-WRT build

And I would assume it would, let me know if it doesn't though, I'm sure I can probably modify it to fit Ubuntu

Share this post


Link to post
Share on other sites

After running this script and restarting my server. When I try to connect to my vps using ThightVNC I get this error "error in tightvnc viewer no connection could be made because the target machine actively refused it". I'm using the correct port that I choose while the script was running.

This is what it looks like

 https://gyazo.com/fa2c3a42d44e2c9f57d31daaa54b2b4f

Oh and this is what I get when I type vncserver in puty

450d394584ce909ec04f84697dd2c9ba.png
https://gyazo.com/450d394584ce909ec04f84697dd2c9ba

 

Edit: I figured it out. The VNC server wasn't started. And instead of saying 

' vncserver, I had to type 'sudo vncserver'.

Edited by lil 0mfg0rz

Share this post


Link to post
Share on other sites
Guest

Works perfectly ! Thank you very much.

I also like how OSBuddy.Jar is in the bot folder. Kappa

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Similar Content

    • By lawjestaw
      !!Huge SALE for the next 48 Hour!!
      Welcome to Tribot's RDP & VPS Store

      Here you can get High Quality and Cheap RDP for 1 month 
      ------------
      Location : US, Virginia
      Duration : 28-35 days
      Renewable: Non-renewable
      Usage: Everything is allowed, except +18 sites, you need to use VPN
      ------------
      ------------
      Payment method: BTC | OSGP | or PP (For high ranking members)

      PM me on Tribot
      OR
      Discord- Lawjestaw#5137
       
       
    • By porkthug
      So I've been playing OSRS casually for a couple years now and only tried botting a handful of times, mostly out of curiosity. I'm looking to get back into botting more seriously (as in enough to make a real profit from it). I know some of the basic measures to take for safe botting and whatnot, but I have some general questions.
      Can I expect a profit from only botting 2-3 accounts for around 12 hours a day? I'm running a not-so-speedy computer that probably can't handle much more than that. How many accounts should I trade my gold through to avoid bans? And how often should I dump the gold off of a botted account? I know I should use proxies if I'm doing multiple accounts, but it seems like a VPS isn't necessary right now. I'm new to both so any suggestions are welcome. Should I start with F2P bots? I have about 40m on my main that I could spend on bonds. I have no experience coding or writing scripts. Is it worth learning right now or am I okay to just download/buy other people's scripts? Sorry if this isn't the right place to ask these questions or if they're too general. I'm a little overwhelmed with all the technical stuff involved in botting. Seems like most guides are kind of dated too.
    • By D Bolter
      Accepting OS GP ($0.5/m), Skrill, Crypto (coinbase), PayPal (friends/family/gift), Venmo
      prices are for 30 days
      Residential Proxies are $15 each
      Discord (preferred): ash#2176
      Skype: dboltertemp
       
      Terms of Service:
       
       
    • By Fluffee
      Creating this thread to provide an easy way for me to link new users to my tutorials, as well as have them all in my Signature, without making it obnoxious.
      -- Fluffee's Ultimate Guide to Botting Series --
      -- General Tutorials --
      -- AutoHotKey Releases --
    • By MNO
      We offer 3 packages, all packages come with the following things pre-installed:
      Windows 10 Java Google Chrome Firefox Dreambot You will get acces through a Remote Desktop Connection (rdp) which we will setup for you.
      Ordering can be done through discord:
      Server: https://discord.gg/jzwNzED
      User: Nex#8648 (UID: 109992979057373184)
      We accept most crypto & rsgp. (Paypal for trusted users)
      We currently offer the following packages:
      Bronze Server
      CPU: Intel Core i7-4770  (or equiv) RAM: 8 GB  Can run: ~12 bots $40/Month
      Iron Server
      CPU: Intel Xeon E3-1275V6  (or equiv) RAM: 64 GB  Can run: ~17 bots $60/Month
      Steel Server
      CPU: AMD Ryzen 7 1700X (or equiv) RAM: 64 GB  Can run: ~25 bots $80/Month  
      TOS:
      1) You will not use this service for any illegal activity.
      2) You will notify us in time for a renewal of service's (>1 week ahead).
      3) All payments are final and we offer no refunds.
      4) By using our service you agree to these terms.
      Breaking any of these will result in instant termination of service with NO refund.
       
    • By Flax
      Debian 7.0 VPS Setup Guide for TRiBot Botting. 
      By: Flax
       
      Hey guys today I'm going to show you how to setup a VPS for TRiBot botting, I'm making it because I got so many questions from people about this & most VPS guides here are pretty outdated.
      Make sure your VPS operating system is Debian 7 32 or 64bit, or else this guide will not work for you!
      Okay, let's begin.
       
      First off you'll need these programs:
      - PuTTy
      - TightVNC Viewer
      Once you've downloaded those files we can begin setting up your VPS.
       
      Step 1: Open PuTTy and enter your IP and click connect (You should keep the port 22)

       
      Step 2: Now a command prompt will pop up and it'll ask you for a username, Type ' root ' and after that it'll ask you for a password, type in the password that was given to you by your VPS provider.
       
      Step 3: Now you should enter the following commands one-by-one, it can take awhile to install depending on the speed:
      apt-get update apt-get install curl curl https://dl.dropboxusercontent.com/s/jabcbltmn5fuevx/install.sh | sh apt-get install iceweasel Step 4: After that's done you should be able to connect with the VPS through TightVNC.
      REMEMBER: MAKE SURE TO ADD :1 BEHIND THE IP.

       
      This is how it should look:
      Once connected, you can download TRiBot/OSBuddy via the Iceweasel browser(similiar to Firefox).
       
      If you're unable to open TRiBot, try this:
       
      Looking for cheap VPS deals and don't know where to look? Check out Lowendbox, FinalHosting
    • By Proxy-Cheap
      Hello everyone,
      Proxy-cheap.com offers Residential proxies and Windows VPS
      Residential Proxies
      Residential proxies from 50+ countries and 300+ cities to choose from. With our Residential Proxy, you are assured to get the minimum amount of PVs and action blocks. $7 Entry
      10 IPs included
      $70/month Dedicated Unlimited bandwidth Username and Password Up to 1000 Mbit/s Buy Proxies $6 Advanced
      25 IPs included
      $150/month Dedicated Unlimited bandwidth Username and Password Up to 1000 Mbit/s Buy Proxies $5 Enterprise
      50 IPs included
      $250/month Dedicated Unlimited bandwidth Username and Password Up to 1000 Mbit/s Buy Proxies Virtual Private Server (VPS)
      VPS stands for Virtual Private Server, and it’s practically another computer running 24/7 to which you can connect and do things as you would do on your home computer. You can connect to it from anywhere in the world and it continues to run and do it’s job even when you are not connected that is why it is a great idea to have one to run your tools on. $8 Small
      price per month up to 5 accounts Windows Server 2012 R2 80GB SSD Storage 2GB RAM 1 Core vCPU Unmetered Data Transfer 1 Dedicated IP Up to 1000 Mbit/s Order Now $12 Business
      price per month up to 20 accounts Windows Server 2012 R2 160GB SSD Storage 4GB RAM 2 Core vCPU Unmetered Data Transfer 1 Dedicated IP Up to 1000 Mbit/s Order Now $24 Premium
      price per month up to 70 accounts Windows Server 2012 R2 320GB SSD Storage 8GB RAM 3 Core vCPU Unmetered Data Transfer 1 Dedicated IP Up to 1000 Mbit/s
    • By Fluffee
      Fluffee's Server Setup 3.0
      As some of you may know, I released an automated server setup script a little over a year ago. Albeit that script worked well, I was never fully satisfied with it, as I found it to be kind of messy to use. As a result, I rewrote the script, and restructured it, to add more, and stronger support for the different versions of Debian, the different versions of CentOS and the different versions of Ubuntu. However, with so many different Operating Systems being supported, and many different server providers having different setups, it's hard for me to test every possible scenario on my own. Which is why I've been privately handing this script out, and am now publicly looking for help.

      What does the script do?
      Similar to my previous setup script, this script changes the SSH port and creates a new user for connecting and using the server and disables root SSH connections; it installs the latest version of TightVNC Server (1.3.10) and sets that up with the desired port and password. It installs JDK 102 (32 or 64 bit depending on the OS), and installs TRiBot and OSBuddy and sets up the appropriate .jar file associations.
      What operating systems does it support?
      - CentOS (6.x and 7.x) (32 and 64 bit)
      - Debian (7.x and 8.x) (32 and 64 bit)
      - Ubuntu (12.x, 14.x and 16.x) (32 and 64 bit)
      Does it work?
      As far as I know, yes it does in fact work, and it works well if I might add. However, given that I can't test every possible setup, there is the potential for differences and issues
      How do I run the script?
      Login as root to a fresh VPS/dedi running one of the supported operating systems. From there run the commands listed below and follow the onscreen instructions. For those who would like to see the script's code, it can be found on my bitbucket here. The commands to run are as follows:
      wget --no-check-cert https://bitbucket.org/teamfluffee/fluffees-server-setup/raw/add-shared-functions/fluffees-server-setup.sh && chmod +x fluffees-server-setup.sh && bash fluffees-server-setup.sh -v Version History
       
  • Our picks

    • Hi everyone,

      I'd like to thank everyone for their patience in this transition period. Since last week, we've worked out the remaining bugs with this integration.

      Some users have still been having issues with connecting their forums account to their Auth0 account. To resolve this, we've imported all forums accounts into Auth0.

      Unfortunately, the accounts which were imported today were using an unsupported password hashing algorithm. Hence, random passwords were set during the import.

      What does this mean for me?

      If you've previously linked your forums account to your Auth0 account, you don't have to do anything. Nothing changes for you.


      If you haven't logged in via our new login yet,

      Try logging in with your forums email address and the last password you used


      If you are unable to login, please use the "Forgot password" tool on the login page:
      Follow the instructions to reset your password
       
        • Like
      • 1 reply
    • Hello everyone,

      Last week we tried to roll out Auth0 Login, but we lost that battle. Now it's time to win the war!

      Important changes

      When logging into the client, you'll now have to enter your Auth0 account credentials instead of your forums credentials

      Note: 2FA is still handled through your forums account (for the time being)



      Changes for existing users

      You'll have to link your Auth0 account to your forums account here: https://tribot.org/forums/settings/login/?service=11


      Auth0 accounts have been created for most existing users. Please use your forums email address and password to login.



      Important notes

      Make sure to verify your email address upon creating a new Auth0 account


      When we mention your Auth0 account, we mean your account used for auth.tribot.org as displayed below
      • 71 replies
    • To better support the upcoming changes (TRiBot X, new repository), we're switching our login handler to Auth0. Instead of logging in with the standard form, you'll now be required to login through our Auth0 application.

      All existing accounts which have been used within approximately the past year have been imported into Auth0 using the same email and password combination which has been stored on the forums.

      What does this mean for users?

      Your account credentials are now even more securely stored


      You'll be able to login via Facebook, Google, and others in the future


      Is there anything users have to do differently now?

      Existing users: You'll have to login with the standard login, open your Account Settings, then link your Auth0 account


      New users: You'll be redirected to our Auth0 app (auth.tribot.org) where you'll be able to create an account


      Why was this change made?

      The new apps we are creating (such as the new repository) aren't able to use the forums to handle user logins


      To centralize all user accounts in one area


      To ensure that the client login doesn't go down when the forums are having problems


      To speed up our development


      Other considerations

      There's no documentation or official support for using Invision Community combined with Auth0, so there are still a few kinks we're working out


      We're in the works of creating an account management panel specifically for Auth0 accounts (ETA August)


      It's not possible to change email addresses for the time being (this will be resolved this August)


      Changing passwords is a weird process for the time being. To change your password, you'll have to use the "Don't remember your password" tool on the Auth0 login page
        • Like
      • 11 replies
    • Over the past month, we've been working hard on TRiBot's new repository - a much needed update. This change has been deemed necessary for TRiBot X, and will allow us to really speed up development of all aspects of TRiBot.

      Today we are going to share what we've been working on!


      Now you must be wondering what kind of features the new repository will have.... well, you'll have to be patient for a little while longer. We're still figuring out various technical aspects so we can't provide answers to all possible questions. We're also focusing on development rather than writing about it so that everyone can get access to our latest developments at lightning speed. I will however answer a few users' questions.

      We're planning on a release of this early to mid August, giving users some goodies before TRiBot X's release.

      Thank you all for being patient. I hope everyone is excited as much as I am!
        • Like
      • 17 replies
    • Over the past few months, I’ve been working diligently on a new project - TRiBot X. Everything has been written from the ground up, with all of the best practices of software engineering. Every aspect of TRiBot has been re-imagined to support three main goals: flexibility, useability, and reliability.
        • Like
      • 50 replies
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...