• Log in or sign up for an account here: https://www.sythe.org/login

Setting Up Your VPS for Botting using CentOs

Joined
Aug 1, 2010
Sythe Gold
14
Messages
8,268
Age
35
Location
Alaska
Setting up Your CentOS VPS to Bot
by KerokeroCola
All images in this guide are property of myself and Sythe.org

Using a VPS is a very popular thing for many Runescape botters. A VPS (or virtual private server) is a partition of somebody's server that is hosted onto the Internet and can be controlled by you. It allows people to either bot while not having to leave their computer on 24 hours a day. However, VPSes can be difficult to set up, and most VPSes use Linux, which is a foreign OS to most computer users. (They use Linux for two reasons: it is very lightweight, and it can withstand weeks/months of being run without having to be reset.) However, being seemingly difficult to set up shouldn't deter you from using this very beneficial tool to continue pwning Jagex. This guide is designed to help you set up your VPS.

Note: In order to use this guide, you need to purchase a VPS with either CentOS 5 32-bit or 64-bit. This does not work with Ubuntu or any other distribution of Linux. I choose to use CentOS because it's very lightweight and is very effective at botting. (If your VPS is less than 2 GB RAM, I suggest using 32-bit; if it's more than 2 GB RAM, buy a 64-bit version, though 32-bit will work unless you have more than 4 GB of RAM.)


Setting up your VPS:

Follow these steps closely and in order, and you should be good to go for botting on your VPS. ;)
Note: both PuTTy and Linux commands are case-sensitive. Be sure and follow exact capitalization that I have written out in this guide.

Step 1: Download PuTTy and VNC-Viewer.

PuTTy is a program that allows you to access your VPS's SSH console. Basically, it allows you to install the software needed to actually run your VPS. VNC-Viewer is used to access the desktop of your VPS once you set it up. You'll need them both.

PuTTy's website:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Make sure you click this link:

idJ9yE.png


VNC-Viewer's Website: http://www.realvnc.com/products/free/4.1/winvncviewer.html
Simply click Download and choose the .exe version of the program.

Step 2: Configure the Operating System of your VPS

You need to install several portions of your CentOS distribution. Since it is designed to be so lightweight, CentOS does not have a desktop environment, java, an internet browser, etc. You'll need to install these using PuTTy before you can access your VPS for botting. You'll also need to install a sever which broadcasts the VPS onto the internet so you can view its desktop.

First, open up the email that you received from the VPS distributor. Use it to get the IP address and root username and password for your VPS. It should look something like the following picture:

idIZk4.png


First, open up PuTTy. You'll see the following screen:

idJofw.png


Type in the IP (#1 in the email from the pic above) that you get in your email and press Open. (You might get a notice popup here—it's just saying that the server connection may not be secure. That's fine, just press Okay.)

Once you open PuTTy, you need to log in using the root username and password supplied by your VPS (#2 in the email). Usually, the root username is “root”, and the password is always case-sensitive. In PuTTy, passwords aren't “dotted” out—it's normal for no characters to pop up.

Once you log in, if you want, you can change your root password by typing in "passwd". Now it's time to install the programs that are needed. Type the following commands into PuTTy to install each program. It can take a while for some to download, so be patient. (NOTE: PuTTy is case-sensitive. Type them in exactly as I show them.)

  • yum -y install nano (nano is sometimes installed on some VPSes)
  • yum -y install firefox
  • yum -y install java
  • yum -y install unzip
  • yum -y install vnc-server
  • yum -y groupinstall “XFCE-4.4”

After you've installed all of the programs, you'll need to configure the VNC server (the program that hosts the VPS onto the Internet). Type the following commands into PuTTy:

  • vncserver
    (Here, you'll be asked for a password. Type in whatever password you want to use to access your VPS—you'll be asked this password when you log in using VNC Viewer)
  • vncserver -kill :1
  • nano /root/.vnc/xstartup
    (Note in the above command that there is a space between “nano” and “/root/.vnc/xstartup”)

After the last command, you'll see the following screen:

ib2qus.png


You'll need to change some text in the console so it can run the right desktop program. Use the arrow keys to scroll to the bottom text, “twm &” and change it to “startxfce4 &”

ib2Zfa.png


Now, close that screen by typing "Ctrl+X" and "Enter" when prompted. Finally, type “vncserver” into PuTTy again to get the server back online. Congrats! Your VPS is now intsalled! You can now close PuTTy.


Step 3: Accessing the VPS

Now that your operating system has been set up, you'll need to access it.

First, login to your VPS using VNC Viewer. When you open the application, type “VPS IP:1” into the Server: prompt. (For example, type “88.88.88.88:1” if your IP address is 88:88:88:88)

idOapy.png


Click Okay and then type in your password. Congratulations! You have now set up your VPS! If you did it using CentOS and XFCE like I said, it should look like this:

ib7vJ0.png



Step 4: Installing the NeXus Client

You've obviously set up your VPS for using bots, so I'll walk you how to do that. It's a little different on Linux than it is on Windows.

First, open up Firefox and go to http://www.rsbots.net/download/ and download the botclient. Be sure and save it to the desktop. We'll need to unzip it, which is more difficult in Linux than simply right clicking and choosing “unzip”. We'll need to do the following:

Open up Terminal. This is the program at the bottom of the dock that looks like a black square.
Type in the following commands: (remember, Linux is case-sensitive!)
  • cd Desktop
  • unzip botclient -d NeXus
During the install process, it should come up with an error message. Hit “Y” and then “Enter”.

Now, open up the NeXus folder. Find the program called “install-mac-linux.sh”; right click it and choose Open with>MousePad. Edit it so that it includes the “-Xmx100” after “java”. (See the following pic for an example)

idN6zC.png


Now, save the file and close MousePad, then right click the “install-mac-linux.sh” again. This time, choose Properties. Click the Permissions tab, and select the box “Allow to run as a program”.

idN2jw.png


Close the box. You can now execute the install file. Double click it, and choose “Linux GTK 32bit” as your Operating System (unless you're using 64-bit... then use “Linux GTK 64bit”) and click Install. You should now have the program “Run-linux.sh” in the NeXus folder. We'll need to do the same editing in MousePad as before, and we'll have to give it permission to run again. However, this time, edit “-Xmx472” into the MousePad instead.

Now you're ready to run the botclient! Everything else should be straightforward from here on. However, the new “No Safe Mode” update from Jagex means that some VPS distributions may have a hard time loading, as they only have a graphics processor strong enough for Safe Mode. To get around this, first make sure “Block Human” is disabled in the botclient. Edit: also be sure and click Global Settings and move the iBot Sleep Time and Client Sleep Time bars all the way to the left. This will stop some lag issues that prevent some slow VNC connections from ever loading the login screen. Now, load a bot normally and immediately after the Runescape window pops up, click it rapidly and mash the S key. (Close the break handler window as soon as possible.) Do this until your GUI for your bot loads—it can take several minutes for the first time you load Runescape, but after that it only takes a few seconds.

Congratulations! You are now set up to run the NeXus client on a VPS!
 
Very nice guide man.
This guide can be multi functional for people who have Linux knowledge, since there aren't many changed in the Terminal (Except for Distro specific commands).

I did not know how VPS worked, but now I'm fully capable of setting up one, thanks!
 
Very nice guide man.
This guide can be multi functional for people who have Linux knowledge, since there aren't many changed in the Terminal (Except for Distro specific commands).

I did not know how VPS worked, but now I'm fully capable of setting up one, thanks!

Yeah, I have no experience with any other distribution of Linux, but I assume a lot of it is cross-compatible. I'm not sure if XFCE or nano are distro-specific, but aside from that, most of it seems pretty universal.

Anyhow, thanks for the input. :)
 
First of all I'd like to say congratulations on making it into the Ue.

I've always wondered how do you step them up and how they work, and now I know. So that's a great way to start a guide explaining how they work.

Information: You have an excellent amount of detail in your guide and it doesn't ramble on. Which is always good. I also like how you based it on setting up a bot client - as most of us on this site would only use a vps to bot. The only thing I could get you to add is a few FAQ, or possibly some troubleshoots.

Formatting: The colour is nice, neat, easy to read on the eyes, but I still think it's a bit bland, possibly spice it up by adding a bolder colour. The only other thing I've got to say is the size. Just dial it down by a size or two. Although it looks fine as it is, the smaller the font looks more compact and smart.


All round a perfect guide 10/10
 
Very nice guide however it seems very similar to the one on Powerbot. Also it would be nice to see a bit for setting up a VPS for RSBot instead of iBot. Maybe you could show people how to install JDK from a bin?
 
Nice guide, is Photon a good VPS?
Yes, I recommend it highly. They have great customer support if you need any help, and they even offered a refund for me once because I bought the wrong package.

First of all I'd like to say congratulations on making it into the Ue.

I've always wondered how do you step them up and how they work, and now I know. So that's a great way to start a guide explaining how they work.

Information: You have an excellent amount of detail in your guide and it doesn't ramble on. Which is always good. I also like how you based it on setting up a bot client - as most of us on this site would only use a vps to bot. The only thing I could get you to add is a few FAQ, or possibly some troubleshoots.

Formatting: The colour is nice, neat, easy to read on the eyes, but I still think it's a bit bland, possibly spice it up by adding a bolder colour. The only other thing I've got to say is the size. Just dial it down by a size or two. Although it looks fine as it is, the smaller the font looks more compact and smart.


All round a perfect guide 10/10
Thanks, cosrob. It's a pleasure to be in with the likes of yourself and the other UEs. :D

Very nice guide however it seems very similar to the one on Powerbot. Also it would be nice to see a bit for setting up a VPS for RSBot instead of iBot. Maybe you could show people how to install JDK from a bin?
I did use a guide on RsBots.net for the first 5 or 6 VPS's I set up. However, everything here is my own work, and I reproduced it all from memory because I've used it enough now. (I actually decided to write it because I referred somebody who asked me to set up his VPS--I've set up about 4-5 for other people now--and he said the pics had corrupted on the RsBots.net guide.)

I'll have to do some research before I add a PowerBot section. I currently do not know how to set up PowerBot even on a PC. ;)


Also, if you're having trouble getting to the login screen still, you may have to try this: Open up the Global Settings tab and turn all of the bars to the left. This is because you may have a lag between you typing and your VPS reproducing the type; adding this with the lag inherent in the global settings can mean that mashing S does no good whatsoever.
 
Where are the Photon vps servers located? I had 1GB one from Thrust and i couldnt use the VNC/Remote desktop because it was so laggy (servers were too far away for me, even that i have 100mb connection).
 
Where are the Photon vps servers located? I had 1GB one from Thrust and i couldnt use the VNC/Remote desktop because it was so laggy (servers were too far away for me, even that i have 100mb connection).

Geographically? Honestly, I have no idea. I have only a small bit of lag connecting, and I live in Alaska. I think they are located in the continental US.

EDIT: Their support mailing address is in California. This might be where their servers are.
 
Can you post a link to setting up a simple vpn, or proxy server, or to work with rsbot? I use "your freedom" its not that good, do you have a better free VPN?
 
Can you post a link to setting up a simple vpn, or proxy server, or to work with rsbot? I use "your freedom" its not that good, do you have a better free VPN?

I've never used a VPN or anything of that sort of nature, nor have I ever used PowerBot :embar: . I wouldn't know where to begin, sorry.
 
I've been looking for a decent guide to set up a VPS for ages. In comparison to yours, most of the guides that I found were unclear and with a lack of pictures. Thanks a lot for this guide, I will defintely use it in the future. Thanks Kero!
 
Memory: 2 GB
Burst: 4 GB
Disk Space: 100 GB
Bandwidth: 3.13 TB
i am using centos right now 32bit my autosoulwars pro keeps closes itself after like 3-5min in botting, can you please help with this? should i change to another os?and is xmx1000m good for me i ony need to use 1 bot. please pm me with the answer i probably wont check this, but i really need someones help.
 
Very good guide. Detailed and pics. Thanks for the help. Just purchased a vps this will help with setting it up for sure!
 
good guide

just lil warning :

dont use http://www.123systems.net/hosting.html this hosting unless you want this to happen :

Suspension Reason: Runescape Botting = High Load, Please do not use this software and we will remove the suspension from your account.
 
im having trouble at entering the auths
when i click the text bar to add the auths nothing happens
:S
help please
i added your msn
 
Runescape Gamblingrunescape gambling
Back
Top