Skip to main content
How to Create a Linux Rust Server using a VPS

How to Create a Linux Rust Server using a VPS

Here at PureVoltage, we love to play games. That’s why we own and operate Minecraftserver.net and Exodus Hosting, of which are Minecraft and Counter-Strike servers for the most part. Recently, some of our staff have started playing a game called Rust, that’s a bit like Minecraft I would say, with the additions of harsh realities we all know so well in the real world like death, attacks, raiding, and even ferocious animals.

After playing on various servers for a few months, the guys asked if we could try and set up one on our VPS servers, and was provided a 2GB server shortly thereafter.

The server was up and running from March 26th to August 29th, and at max capacity was running 75 players and close to 100,000 entities. Located in our New York Datacenter location, this server provided 100’s of Rust players along with our own staff many hours of playing time.

Now, we’d like to take their notes and show you how you can setup your own Linux Rust Server using one of our VPS servers (we recommend 2GB+).

Additionally, we’d like to mention GameServerManagers at the top here, because their tool allowed us to easily setup, install and manage this Rust server. They have a ton of installing tools for a wide variety of games, be sure to check them out!

What You’ll Need

How to Create a Linux Rust Server using a VPSFirst, you’ll need a few things to get setup properly and ensure the installation goes off without a hitch!

  • 1 VPS Server (2GB+ Recommended)
  • Ubuntu 12.04 LTS+
  • Putty or an equivalent command line tool
  • GSM RustServer Package – Learn More

Getting Started

Now that you’ve obtained your VPS, you should have access and credentials setup for root, which we will need to prepare the server to run Rust.

Go ahead and login to your VPS as root, and run these commands:

apt-get update

apt-get install

Ubuntu 64-bit:
sudo dpkg --add-architecture i386; sudo apt-get update;sudo apt-get install mailutils postfix curl wget file gzip bzip2 bsdmainutils python util-linux tmux lib32gcc1 libstdc++6 libstdc++6:i386

Ubuntu 32-bit:
sudo apt-get install mailutils postfix curl wget file gzip bzip2 bsdmainutils python util-linux tmux libstdc++6

This will update your VPS and install the dependencies needed for the GSM Rust server tool.

Installing GSM Rust Server

Once you’ve installed the dependencies and update the VPS server, it’s now safe to install the GSM Rust Server package.

1.) Create a User & Login (still logged in as root):

adduser rustserver

passwd rustserver

su - rustserver

2.) Now, download the GSM Rust Script:

wget https://gameservermanagers.com/dl/rustserver

3.) Let’s make it executable:

chmod +x rustserver

4.) Finally, let’s run the installer and follow it’s instructions:

./rustserver install

5.) Allowing RCON & Connection via IPTables:

sudo iptables -A INPUT -p tcp --dport 28015 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 28016 -j ACCEPT

Logging in & Starting Rust Server

Now that you’ve got everything setup and access in place, log out of root, and log back in with the rustserver user & pass you created above. Once you’ve logged in successfully, you should go ahead and run the update:

./rustserver update

If all goes well with that, you can proceed to starting your Rust server:

./rustserver start

Then to check and make sure all is running well, use the details command:

./rustserver details

A complete list of all commands are available using this command:

./rustserver

In addition to that, if you find you have problems with this, or need other commands, be sure to check out the LGSM Rustserver page for more information, along with their GitHub Wiki.

Final Thoughts & Recommendations

We found that running this server on 2GB for 3 months was stable, but once we upgraded it to 4GB it ran much smoother, and players had little to no rubber banding or lag. We also took on 2 DDoS attacks during the life of the server, and managed to mitigate those attacks using our own in-house DDoS protection, powered by PureVoltage.

We also found administration of the server to be difficult through command line, and promptly switched to RustAdmin, an awesome GUI-based Windows tool that provides a huge amount of options to help make a vanilla Rust server much more fun and interactive.

We hope that this blog post helps you find a cost-efficient solution to hosting your own rust server, and with the tools available to you from PureVoltage, RustAdmin and Linux Game Server Managers, it’s easier than ever.

Thanks for reading this “How to Create a Linux Rust Server using a VPS”, and if you’re a PureVoltage customer struggling to get this setup yourself, just open a ticket and one of our team members will jump on it!

Read More

How Can Colocation Improve My Business Infrastructure

How Can Colocation Improve My Business Infrastructure?

Hello, and welcome to one of our first blog posts here at PureVoltage, where we intend to provide helpful information about our services and how to’s to improve your infrastructure at any level.

Today we will be focusing on Colocation, and how it can improve your businesses’ infrastructure and decrease costs in the future.

What is Colocation Specifically?

Colocation is a service provided by data centers who obtain their own hosting environments for a wide variety of reasons that they couldn’t do themselves within budget.

Essentially, businesses rent enterprise-grade hardware and space within a datacenter along with bandwidth, power, security, cooling, and the physical space required for such a setup. In most cases, colocation space is rented out by U, rack, cage or entire rooms.

How is it different from Managed Hosting?

Managed hosting, which is another service we offer, most colocation customers own and manage their own hardware and network. Often times, customers are responsible for everything from updates to software installations, maintenance and more depending on the need or situation.

With managed hosting services, customers are provided a small section of hardware (usually a virtual machine or VPS) that is managed and maintained by the provider.

This often lumps your company in with thousands of other companies networks and websites, which could keep you from the speeds you need and the flexibility your business needs to grow.

So what are the benefits to Colocation?

First off, it’s important for any business to be sure Colocation is right for them. This means understanding costs, requirements, and more.

However, for the most part, here are the main reasons why Colocation could benefit your business in the long run:

Scalability

When it comes to business growth, it’s important to know what your limitations are. With colocation services, most facilities provide abundant rack space and bandwidth, coupled with scaled pricing in most locations, can provide you secure scalability at the fraction of the cost you’d expect.

Cost

Speaking of cost, many companies simply cannot afford to host their own servers on premises. With issues stretching from security to performance, not to mention updates and hardware, makes running your own server costly. Remote hands services provide expert hands in your colocation space, without you having to be there.

Security

Almost all data centers are rigorously scrubbed for all security exploits, and have many measures in place to ensure the utmost security. From CCTV surveillance, locked cabinets and cages, to weight scanning entrances, biometric scanners and motion sensors, your data is always more secure in a data center.

Reliability

Having an uninterrupted network connection and power for your server to ensure business continuity. Most colocation facilities offer customers a level of reliability not usually found with in-house setups. With multiple power connection sources and network cabling, you should expect a 99.9% uptime guarantee with your provider, in addition to backup generators and other features to ensure your data is up and secure regardless of the scenario.

Whether you’re looking to move your IT infrastructure to a new location, or taking away from your in-house setup, it’s important to do your research, and find the best provider possible for your business.

Additional things to consider would be geographical location, costs, features and additional scaling pricing as you grow. It’s also important to discover whether or not the company is using their own hardware, or renting you rented hardware.

Taking your IT needs to the next level may seem like a daunting task, however with our experience and quality of service, we can help make that transition a breeze. If you have any questions about our colocation services, don’t hesitate to contact us. We’re always here to help.

Read More