fpla
Apprentice
- Joined
- Jun 8, 2011
- Sythe Gold
- 342
- Messages
- 719
fpla has reported a post.
Reason:
Forum: Archives
Assigned Moderators: SuF
Posted by: KerokeroCola
Original Content:
Reason:
Post: Setting Up Your VPS for Botting using CentOsWhy is this archived? - It may be old, but just worked for me. I think it's the best VPS setup guide on Sythe so far - and has helped me 3-4 time's now.
Forum: Archives
Assigned Moderators: SuF
Posted by: KerokeroCola
Original Content:
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:
![]()
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:
![]()
First, open up PuTTy. You'll see the following screen:
![]()
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:
![]()
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 &”
![]()
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)
![]()
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:
![]()
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!)
During the install process, it should come up with an error message. Hit “Y” and then “Enter”.
- cd Desktop
- unzip botclient -d NeXus
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)
![]()
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”.
![]()
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!

