Posts: 4
Threads: 1
Joined: Jul 2015
Thanks: 0
Given 0 thank(s) in 0 post(s)
I hope thisis the correct forum to ask the question, i fnot , please tell me so.
My grandson wants to run Minecraft server on his Raspberry Pi 2. I am retired from the computer industry, and his father has not a clue, so Pops has been drafted to help him.
I have visited the Cuberite,org website to download the Pi version of the server on to my Windows 7 Professional 64 bit system. Each time I click on the Download button, I get the pop-up window to Save the file or open it with an application, but before I can click SAVE File and tell Firefox to save it in the downloads folder, another window pops up behind the save window with the following:
C:\Users\...l\Temp\WJQBj2mf.gz.part could not be saved, because the source file could not be read.
Try again later, or contact the server administrator.
So I thought I'd try to D/L the Windows 64bit version, but got the same error.
Someone plase tell me what I'm doing wrong, or verify there is a problem with the site before Pops tears out what little hair he has left.
Thank you.
Jimmy Thompson - joshpops
Posts: 2
Threads: 1
Joined: Jul 2015
Thanks: 0
Given 0 thank(s) in 0 post(s)
Ditto. Same issue, but using Linux Mint 17.2 Cinnamon.
Sad face. Just received the Pi in the mail, with time off from work to set this up. Now I am being forced to have quality family time. Argh.
Posts: 4
Threads: 1
Joined: Jul 2015
Thanks: 0
Given 0 thank(s) in 0 post(s)
(07-24-2015, 04:37 AM)joshpops Wrote: I hope thisis the correct forum to ask the question, i fnot , please tell me so.
My grandson wants to run Minecraft server on his Raspberry Pi 2. I am retired from the computer industry, and his father has not a clue, so Pops has been drafted to help him.
I have visited the Cuberite,org website to download the Pi version of the server on to my Windows 7 Professional 64 bit system. Each time I click on the Download button, I get the pop-up window to Save the file or open it with an application, but before I can click SAVE File and tell Firefox to save it in the downloads folder, another window pops up behind the save window with the following:
C:\Users\...l\Temp\WJQBj2mf.gz.part could not be saved, because the source file could not be read.
Try again later, or contact the server administrator.
So I thought I'd try to D/L the Windows 64bit version, but got the same error.
Someone plase tell me what I'm doing wrong, or verify there is a problem with the site before Pops tears out what little hair he has left.
Thank you.
Jimmy Thompson - joshpops
Thought I'd take another approach:
went to http://builds.cuberite.org/job/Cuberite%...ableBuild/
and clicked on the Cuberite.tar.gz to download that file and got the same result.
Either I'm doing something wrong, or this website is broken.
Help
Posts: 8
Threads: 1
Joined: Jul 2015
Thanks: 0
Given 0 thank(s) in 0 post(s)
07-24-2015, 05:53 AM
(This post was last modified: 07-24-2015, 05:58 AM by e14.)
Have/Had the same issues. Though on an RPi-B1. The archive is broken, it contains \0 values in or after the file list.
You can get the source from github and build it yourself. Which is probably not a bad idea for the Raspberry anyway.
On Raspbian, you may run into the same issue as me, since the gcc dependency is not properly checked. Cuberite has CLI flags that seem to require a gcc version > 4.6, so you need to install a newer version (4.8 ideally)
Here's a condensed version of what I did to get my cuberite server:
Code: # Need to be root, otherwise prepend everything with sudo
sudo -i
# Get dependencies
aptitude install screen cmake g++-4.8 gcc-4.8 git
# if you already have a gcc/g++/cc installed, alter for your versions, you
# should get the meaning
# Skip this if you only have gcc 4.8+
update-alternatives --list gcc
update-alternatives --list g++
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.6 100
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.6 460
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 480
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.6 480
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 480
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.6 460
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 460
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 480
update-alternatives --install /usr/bin/cpp cpp-bin /usr/bin/cpp-4.6 460
update-alternatives --install /usr/bin/cpp cpp-bin /usr/bin/cpp-4.8 480
# check proper versions are used
gcc --version
g++ --version
cc --version
# should report 4.8
# Create a new user for minecraft (please REALLY do this)
useradd -m minecraft
passwd minecraft
Connect as minecraft to your Pi:
Code: # Login as minecraft
# Compiling will take some time on the Pi, best do it in screen
screen
# Do everything in a subdirectory
mkdir cuberite && cd cuberite
# Get install script
wget https://raw.githubusercontent.com/cuberite/cuberite/master/compile.sh
# (DO NOT get easy_install, this only tries to download the broken zip)
./compile.sh
# Wait for it, grab lunch, drink some beers, etc. Though the Pi2 is probably a lot faster
# Now go into the actual server directory
cd MCServer/MCSserver
# Set a password for the webadmin interface
nano webadmin.ini
# Now you can run the server
./MCServer
Posts: 4,628
Threads: 115
Joined: Dec 2011
Thanks: 693
Given 494 thank(s) in 423 post(s)
It looks like something is wrong with the build server. :|
Posts: 4
Threads: 1
Joined: Jul 2015
Thanks: 0
Given 0 thank(s) in 0 post(s)
(07-24-2015, 05:53 AM)e14 Wrote: Have/Had the same issues. Though on an RPi-B1. The archive is broken, it contains \0 values in or after the file list.
You can get the source from github and build it yourself. Which is probably not a bad idea for the Raspberry anyway.
On Raspbian, you may run into the same issue as me, since the gcc dependency is not properly checked. Cuberite has CLI flags that seem to require a gcc version > 4.6, so you need to install a newer version (4.8 ideally)
Here's a condensed version of what I did to get my cuberite server:
Code: # Need to be root, otherwise prepend everything with sudo
sudo -i
# Get dependencies
aptitude install screen cmake g++-4.8 gcc-4.8 git
# if you already have a gcc/g++/cc installed, alter for your versions, you
# should get the meaning
# Skip this if you only have gcc 4.8+
update-alternatives --list gcc
update-alternatives --list g++
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.6 100
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.6 460
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 480
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.6 480
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 480
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.6 460
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 460
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 480
update-alternatives --install /usr/bin/cpp cpp-bin /usr/bin/cpp-4.6 460
update-alternatives --install /usr/bin/cpp cpp-bin /usr/bin/cpp-4.8 480
# check proper versions are used
gcc --version
g++ --version
cc --version
# should report 4.8
# Create a new user for minecraft (please REALLY do this)
useradd -m minecraft
passwd minecraft
Connect as minecraft to your Pi:
Code: # Login as minecraft
# Compiling will take some time on the Pi, best do it in screen
screen
# Do everything in a subdirectory
mkdir cuberite && cd cuberite
# Get install script
wget https://raw.githubusercontent.com/cuberite/cuberite/master/compile.sh
# (DO NOT get easy_install, this only tries to download the broken zip)
./compile.sh
# Wait for it, grab lunch, drink some beers, etc. Though the Pi2 is probably a lot faster
# Now go into the actual server directory
cd MCServer/MCSserver
# Set a password for the webadmin interface
nano webadmin.ini
# Now you can run the server
./MCServer
What is the URL/Linux command to retrieve the source code? The Github descriptions are not very clear, at least to me.
Posts: 6,485
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1075 thank(s) in 852 post(s)
You need "git" to download the source code; it should be available either out of the box, or can be installed using your platform's package manager.
These commands will set up the complete source repository:
Code: mkdir cuberite
cd cuberite
git clone https://github.com/cuberite/cuberite.git .
git submodule update --init
To compile, you need gcc at least version 4.8 or clang at least version 3.0, install those using your platform's package manager and make them the default compiler, using the update-alternatives command. You will need cmake, too, also available in your package manager.
This will compile the server (assuming you're in the previously created cuberite folder):
Code: mkdir Release
cd Release
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j 4
Note that the last command, the actual compilation, may take a lot of time - it takes over an hour on my RasPi1 (which has only one core, though)
Posts: 4
Threads: 1
Joined: Jul 2015
Thanks: 0
Given 0 thank(s) in 0 post(s)
Thanks, Xoft for your reply. I finally did see the previuos instructions after scrolling down the code. The eyes don't seem to connect with the brain much anymore.
I did do the compile on my Pi 2 and the whole process took about 25 minutes give or take a minute or two, so the Pi 2 is significantly faster than the Pi 1, although the memory size had a lot to do with that. Before I retired and mainframes were common, I did performance analysis on customer mainframes, developed models for them to run and decide what types of upgrades would make sense. In about 85% of the contracts we did, increasing the memory capacity turned out to be the greatest overall system performance boost. The CPU was next with higher speed rotating memory next.
It would be interesting to see what would happen if the Pi 1 had 1G memory. Maybe there may be a way to disable 3 cores in the Pi 2 to test - assuming the cores are roughly the same between the Pi1 and 2. I'm now curious but that's a project in the future.
Posts: 6,485
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1075 thank(s) in 852 post(s)
That would be rather easy to test. Just run the "make" without the "-j 4" parameters, that will make use of only a single core for compilation.
Posts: 302
Threads: 8
Joined: Feb 2014
Thanks: 48
Given 30 thank(s) in 26 post(s)
07-26-2015, 12:43 AM
(This post was last modified: 07-26-2015, 12:43 AM by LO1ZB.)
|