Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Gaming
Minecraft
Minecraft Tutorials
[Tutorial] How to set up Bukkit on a Linux VPS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="iHarrison" data-source="post: 84968" data-attributes="member: 13942"><p>Hey everyone,</p><p> </p><p>Today I will be showing you how to install Bukkit on a remote Linux VPS. The same principals can be used if you have Linux installed on your own computer also, but keep in mind that everything is done through SSH/terminal.</p><p> </p><p>Requirements:</p><ul> <li data-xf-list-type="ul">Linux-powered VPS/PC</li> <li data-xf-list-type="ul">PuTTY or another SSH client (to connect to the VPS console)</li> </ul><p><em>If you are searching for a Linux VPS to host your server on then I recommend DataSphere. The server I have is hosted on there, and I have had no problems since.</em></p><ol> <li data-xf-list-type="ol">Connect to your server through SSH. Your server host should have provided you with the login details.</li> <li data-xf-list-type="ol">Once you have logged in you should be introduced to a screen like this:<br /> <img src="http://i.imgur.com/qpcQY.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></li> <li data-xf-list-type="ol">The next few stages involves typing a few commands into the terminal. First we need to create a folder to store your servers contents in:<br /> [CODE]mkdir /server[/CODE]</li> <li data-xf-list-type="ol">Now let's go inside that directory<br /> [CODE]cd /server[/CODE]</li> <li data-xf-list-type="ol">Now it's time to download the latest bukkit file. What we are about to use here is the wget command, which can be used for downloading files from the internet. Type this:<br /> [CODE]wget 'http://dl.bukkit.org/latest-rb/craftbukkit.jar'[/CODE]</li> <li data-xf-list-type="ol">Now we need to create a .sh script that will keep your server running, whilst your SSH session is still closed. Type:<br /> [CODE]nano start-server.sh[/CODE]</li> <li data-xf-list-type="ol">And put the following inside it:<br /> [CODE]#!/bin/sh<br /> screen java -Xincgc -Xmx1024M -jar craftbukkit-1.2.4-R1.0.jar[/CODE]</li> <li data-xf-list-type="ol">Replace the -Xmx1024M with how much RAM you require. So if you wish to use 3GB RAM you would use -Xmx3072M</li> <li data-xf-list-type="ol">If the file we just downloaded is not called craftbukkit-1.2.4-R1.0.jar (as shown in the script) then change it!</li> <li data-xf-list-type="ol">To save the script, press Ctrl+X, then Y and then enter.</li> <li data-xf-list-type="ol">To start your server you do the following:<br /> [CODE]sh start-server.sh[/CODE]</li> <li data-xf-list-type="ol">And there you go! You should be taken to the server console and see your server startup for the first time. Type help for a list of commands if you're unsure what to do when using the console.</li> <li data-xf-list-type="ol">If you close your SSH session and want to return to your console then type:<br /> [CODE]screen -d -r[/CODE]</li> <li data-xf-list-type="ol">You can edit files such as server.properties or ops.txt using the same nano command as we did for the start-server.sh file. You can also install SFTP and access your server's files from here, which is MUCH easier than using the nano command, especially when dealing with large plugins that you need to configure.</li> </ol><p>I highly recommend you host your server on a Linux VPS as they are faster, cheaper and easy to run if you know your way around a Linux console. If you require any help feel free to reply to the thread below - I'll try to help as much as I can!</p><p> </p><p>Thanks, and enjoy!</p></blockquote><p></p>
[QUOTE="iHarrison, post: 84968, member: 13942"] Hey everyone, Today I will be showing you how to install Bukkit on a remote Linux VPS. The same principals can be used if you have Linux installed on your own computer also, but keep in mind that everything is done through SSH/terminal. Requirements: [LIST] [*]Linux-powered VPS/PC [*]PuTTY or another SSH client (to connect to the VPS console) [/LIST] [I]If you are searching for a Linux VPS to host your server on then I recommend DataSphere. The server I have is hosted on there, and I have had no problems since.[/I] [LIST=1] [*]Connect to your server through SSH. Your server host should have provided you with the login details. [*]Once you have logged in you should be introduced to a screen like this: [IMG]http://i.imgur.com/qpcQY.png[/IMG] [*]The next few stages involves typing a few commands into the terminal. First we need to create a folder to store your servers contents in: [CODE]mkdir /server[/CODE] [*]Now let's go inside that directory [CODE]cd /server[/CODE] [*]Now it's time to download the latest bukkit file. What we are about to use here is the wget command, which can be used for downloading files from the internet. Type this: [CODE]wget 'http://dl.bukkit.org/latest-rb/craftbukkit.jar'[/CODE] [*]Now we need to create a .sh script that will keep your server running, whilst your SSH session is still closed. Type: [CODE]nano start-server.sh[/CODE] [*]And put the following inside it: [CODE]#!/bin/sh screen java -Xincgc -Xmx1024M -jar craftbukkit-1.2.4-R1.0.jar[/CODE] [*]Replace the -Xmx1024M with how much RAM you require. So if you wish to use 3GB RAM you would use -Xmx3072M [*]If the file we just downloaded is not called craftbukkit-1.2.4-R1.0.jar (as shown in the script) then change it! [*]To save the script, press Ctrl+X, then Y and then enter. [*]To start your server you do the following: [CODE]sh start-server.sh[/CODE] [*]And there you go! You should be taken to the server console and see your server startup for the first time. Type help for a list of commands if you're unsure what to do when using the console. [*]If you close your SSH session and want to return to your console then type: [CODE]screen -d -r[/CODE] [*]You can edit files such as server.properties or ops.txt using the same nano command as we did for the start-server.sh file. You can also install SFTP and access your server's files from here, which is MUCH easier than using the nano command, especially when dealing with large plugins that you need to configure. [/LIST] I highly recommend you host your server on a Linux VPS as they are faster, cheaper and easy to run if you know your way around a Linux console. If you require any help feel free to reply to the thread below - I'll try to help as much as I can! Thanks, and enjoy! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Gaming
Minecraft
Minecraft Tutorials
[Tutorial] How to set up Bukkit on a Linux VPS
Top