From BladerHQ
Installation:
I downloaded the 64-bit, Ubuntu Server 10.04 LTS version from the Ubuntu Server download page [1]. The download was named ubuntu-10.04.2-server-amd64.iso and burned it to CD-rom
Since I already had Software Raid1 on my system disks, and a Software Raid5 on the four other disks I reused the partitions as they were:
I would like to have increased the swap so I could hibernate (I have 2GB RAM), but never found out how to do that.
The installation worked fine up to 70% where I got the message:
Please insert the disc labeled 'Ubuntu 10.04 _Lucid Lynx_ - xxxx' in the driver /cdrom/ and press enter.
It turned out this was a bug (already in 8.04) as I read Alternate install fails requesting same disc it was only showing its ugly face in some cases, e.g. when using a NEC drive which I had.
Fortunatly I had an older cdrom laying around that I could use. It was seen when I changed the jumper to Slave.
I configured samba by first creating a user (which I later did not use :-) Basically following the instruction on Ubuntu 10.04 Samba File Share Configuration [2]
sudo adduser --shell /bin/false torsten sudo smbpasswd -a torsten
Then I made a backup of the samba configuration and made some changes.
sudo cp -p /etc/samba/smb.conf /etc/samba/smb.conf.orig sudo vi /etc/samba/smb.conf
I changed the workgroup, switched security mode (which I did not use in the end :-) and also set unix extensions. Before this row, I could not follow symbolic links from /home/public to /home/media/public_media.
Lastly I added the section to allow everyone the rights to edit stuff.
workgroup = MSHOME security = user [global] follow symlinks = yes wide symlinks = yes unix extensions = no [Public] comment = Public files path = /home/public browsable = yes guest ok = yes read only = no create mask = 0777 directory mask = 0777 force user = nobody force group = nogroup
In the future, I would like to change the last section so that I need to login as torsten when I want to edit files (read should always be ok as guest).
I restarted the samba server with
sudo service smbd restart
I followed the steps on [[http://www.minecraftwiki.net/wiki/Tutorials/Setting_up_a_server#Configuring_the_Minecraft_Server| Minecraft Wiki Tutorials/Setting up a server]]
For Ubuntu 10.04 LTS and on, the sun-java6 packages have been dropped from the Multiverse section of the Ubuntu archive. You must add these sources:
For Ubuntu 10.04 LTS (Lucid Lynx):
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
Some distros have the command "add-apt-repository" removed. If this is the case, you will need to add the python properties by running the following command:
sudo apt-get install python-software-properties
Then you can proceed to add the source:
sudo add-apt-repository "deb http://archive.canonical.com/ubuntu natty partner"
Then install the packages:
sudo apt-get update sudo apt-get install sun-java6-jre sun-java6-plugin sudo update-alternatives --config java
I did not have any other java installed, so the last command did nothing.
I can now manually start the minecraft server with
java -Xms1024M -Xmx1024M -jar minecraft_server.jar nogui
Next step is to automate it with a Server startup script [3]
The real goal is to have a bukkit server running. I'll be following Bukkit wiki Setting up a server [4]
I also found a page about Online Upgrade to Ubuntu 10.04 at Command Line [5] that I want to have handy when the day comes for the next step up.
Retrieved from http://wiki.bladerhq.com/FileServer/Install
Page last modified on July 06, 2011, at 02:32 PM