- 1,565 views, 2 today
14
This tutorial was written under the impression that you are using an ethernet connected computer to host!
I recommend installing openSSH via terminal. It will allow remote console
Install putty for Windows machines, or use 'ssh 192.168.x.x' in Linux.
It will look like this: (This is just an example!)
You can also use openSSH if you are using Ubuntu.As a sidenote, you start up the server the exact same way as in windows-
java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui
But don't do that yet.
Ok, now that we have logged into the system and have everything working, it's time to try something fun. Download the putty openSHH client here. This will allow you to access server files and whatnot.
I'm assuming you have eth* set up prior to installing the server. I will help you install Java.
Do
sudo apt-get install default-jre
(If java is already installed, Ubuntu will say that the package is already installed.)
Type yes if it asks you to continue.
-------------------------------------------------------
Do
java -version
If the command is executed, you've done it all right up to this point.
Now this is where it gets kind of easy.
First, do mkdir server
Then do
cd server
For bukkit:
wget "http://dl.bukkit.org/downloads/craftbukkit/get/02365_1.6.4-R0.1/craftbukkit-dev.jar" -O "craftbukkit-dev.jar"
For vanilla:
wget https://s3.amazonaws.com/Minecraft.Download/versions/1.6.4/minecraft_server.1.6.4.exe -O "minecraft_server.exe"
Now do
java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui.
Let it set itself up. When it's done, stop the server. Then do nano server.properties
. If you don't have permission, put sudo before that. Now after its all set up, and you want to add plugins, get FileZilla or some other FTP program.
When you get to the config screen, it will ask for a hostname.
How to find your LAN IP
*To be done on the server machine*If you're using SSH, you should have your server's IP already.
If you were not, type
ifconfig
.If there is no IP on eth0 or eth1, do
[b]ifup eth0[/b]
or ifup eth1 if eth0 doesn't work.Now here's the real fun!
Do
java -Xmx1024M -Xms1024M -jar minecraft_server.jar
or [b]java -Xmx1024M -Xms1024M -jar craftbukkit-dev.jar[/b]
if you use Bukkit.Now check that the server is open by entering the server's local IP into "Add server."
If it doesnt work, troubleshoot the issue.
Now port forward it and post it onto PMC!
Tags |
1 Update Logs
Update #1 : by Shadow_Anndroid 03/09/2014 1:16:25 pmMar 9th, 2014
Added clarity to commands, edited a few lines to make more sense.
tools/tracking
2522042
6
how-to-set-up-a-server-on-ubuntu-server
Create an account or sign in to comment.
Hope this helped!