My kids and I have been enjoying the game for the last many months. I took one of my computers and dedicated it to a minecraft server. I thought I would share what I did in case anyone else wanted to create their own. The process is really simple.
I want to explain that this is not an exhaustive explanation on the process. I am really writing about this so I can reference this when I may have to reinstall the server again. My hard drive recently crashed and I had to look up all of the commands to get it back to where I needed it. So in short this is my way of documenting the process and sharing it at the same time. Perhaps I will elaborate on this when I get more time.
I downloaded Ubuntu 10.10 server for my operating system. Ubuntu server does not have a graphical interface, it is only command line. This may be new to some people. If you want you could also download and install Ubuntu desktop which does have a graphical interface. What I am going to explain has to do with server, the command line version.
My server is 32-bit so I downloaded the 32-bit version.
1. Download the ISO and burn to disc
2. Make sure your computer will boot from the CD-Rom
3. Insert the Ubuntu Server disc in the computer and start it up
4. Go through install process
Here is the part I really want to document.
Minecraft require Java.
Installing Java
Here are the commands to install Java on ubuntu 10.10 server.
sudo apt-get install openjdk-6-jdkGive server a static ip address
back up interfaces first
sudo cp /etc/network/interfaces ~basic vi commands
sudo vi /etc/network/interfaces
add the following: (replace with your network info and ip address)
auto eth0reset:
iface eth0 inet static
address 192.168.0.150
netmask 255.255.255.0
gateway 192.168.0.1
sudo ifdown eth0Get and configure FTP
sudo ifup eth0
sudo apt-get install vsftpduncomment the following
sudo vi /etc/vsftpd.conf
#write_enable YESto
write_enable YESreset:
sudo /etc/init.d/vsftpd restart
Get and configure ssh (so you can connect from your main machine)
sudo apt-get install openssh-serverchange the following:
sudo cp /etc/ssh/sshd_config ~
sudo vi /etc/ssh/sshd_config
PermitRootLogin noadd the following:
AllowUsersreset:
sudo /etc/init.d/ssh restartThat’s it. FTP your minecraft files to your server and start them up. I will leave that process for you to figure out. Like I said if I get more time I can add much more detail but this really is just reference for myself at this point. If you can benefit from it then all the better.
0 comments:
Post a Comment