PINE64
Minecraft Mineos on RockPro64 - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCKPRO64 (https://forum.pine64.org/forumdisplay.php?fid=98)
+--- Forum: Linux on RockPro64 (https://forum.pine64.org/forumdisplay.php?fid=101)
+--- Thread: Minecraft Mineos on RockPro64 (/showthread.php?tid=7652)



Minecraft Mineos on RockPro64 - andyburn - 07-01-2019

Finally I have Mineos running Minecraft servers on the RockPro64 Smile


Im using Ayfan's minimal Debian 0.7.9-1067.
Added dptx.bin and adjusted locales to stop the messages.

I have a few links I used to set it up. Give me a couple of days to gather the info, and I will edit here.
If there is any interest, I will attempt to make an image and upload it somewhere.

EDIT
*** The image is listed at the bottom of the How-to posted below***

Cheers,
Andy


RE: Minecraft Mineos on RockPro64 - Luke - 07-01-2019

(07-01-2019, 12:55 PM)andyburn Wrote: Finally I have Mineos running Minecraft servers on the RockPro64 Smile


Im using Ayfan's minimal Debian 0.7.9-1067.
Added dptx.bin and adjusted locales to stop the messages.

I have a few links I used to set it up. Give me a couple of days to gather the info, and I will edit here.
If there is any interest, I will attempt to make an image and upload it somewhere.


Cheers,
Andy

Glad it works. Now, a new release from ayufan has just become available ... now its just a question of whether you dare to upgrade with everything running Wink


RE: Minecraft Mineos on RockPro64 - andyburn - 07-01-2019

Hi Luke,
Lol, I'll give a go.
It doesn't take long to set up and need to shrink to a smaller SD Card (16Gb) anyway.
I'll be back Smile

Thanks,
Andy


RE: Minecraft Mineos on RockPro64 - andyburn - 07-01-2019

Hello,
Here is a walk-though updated for the latest Ayufan image.

***There is a link to the image at the bottom of this post***

I will build an image in the next few days. - done!
I have attached the dptx.bin firmware image obtained from this site.
You will need to unzip it and put on a fat32 formatted usb drive, or download it from elsewhere.

Enjoy Smile

#Credit goes to various Minecraft sites I have read late at night.
#Heres one I can remember
#https://www.vultr.com/docs/setting-up-a-minecraft-server-platform-with-mineos-on-debian-7
#
#
#D/L stretch-minimal-rockpro64-0.8.3-1141-arm64.img.xz from Ayufan's site
# flash to a minimum 16Gb SDCard using the pine64-installer.

#insert the card, boot and login as rock64/rock64
#change the password!

passwd <new password>

sudo apt update
sudo apt upgrade

mkdir foo
sudo mount /dev/sda1 foo

sudo mkdir -p /lib/firmware/rockchip
sudo cp ./foo/dptx.bin /lib/firmware/rockchip
sudo umount foo


#check your IP address.


ifconfig

sudo reboot

#login over ssh

sudo dpkg-reconfigure locales   
# I use en_US.UTF-8 UTF-8

#Add a user to administer Mineos and Minecraft
sudo adduser mineos

# I used password mineos - you can change it.

nano .bashrc

#add the following to the end, CTRL-O, CTRL-X to save and exit - works for me, don't know #if its needed

export LC_CTYPE=en_US.UTF-8
export LC_ALL=en_US.UTF-8

###########################
##You should be able to paste the following lines into your ssh terminal in one go. YMMV.

sudo apt-get -y install screen python-cherrypy3 rdiff-backup git openjdk-8-jre-headless
sudo mkdir -p /usr/games
cd /usr/games
sudo git clone git://github.com/hexparrot/mineos minecraft
cd minecraft
sudo git config core.filemode false
sudo chmod +x server.py mineos_console.py generate-sslcert.sh
sudo cp /usr/games/minecraft/init/mineos /etc/init.d/
sudo chmod 744 /etc/init.d/mineos
sudo update-rc.d mineos defaults
sudo cp /usr/games/minecraft/init/minecraft /etc/init.d/
sudo chmod 744 /etc/init.d/minecraft
sudo update-rc.d minecraft defaults
sudo cp /usr/games/minecraft/mineos.conf /etc/
sudo chown -R mineos:root /usr/games/minecraft
sudo chmod -R ug+rwx /usr/games/minecraft
sudo chown -R mineos:root /var/games/minecraft/profiles
sudo chmod -R ug+rwx /var/games/minecraft/profiles/
cd /usr/games/Minecraft
sudo ./generate-sslcert.sh

###############################################33


sudo nano /etc/mineos.conf
# change server.socket_port to port 8888 # or whatever port you like.
# and I like to mask my passwords...
# so change  webui.mask_password = True
# and change misc.require_https = False
# CTRL-O CTRL-X to save and exit


sudo service mineos start

#Navigate to http://yourip:8888 on your laptop/PC

#enter mineos/mineos

#On the left select manage profiles
#from the minecraft page https://www.minecraft.net/en-us/download/server/
#copy the link for the latest server file
#select Create Custom Profile
#Type in a name e.g. minecraft_server.1.14.3
#Paste in the link you copied above e.g. https://launcher.mojang.com/v1/objects/d0d0fe2b1dc6ab4c65554cb734270872b72dadd6/server.jar

#In the "Save download as" box enter the filename you want e.g. minecraft_server.1.14.3.jar
#do the same for "Jarfile to run" box.

#Click submit.
#Click the profile name on the left, and then the "DOWNLOAD NOW" link. A tick should appear.

#On the left click Create New Server, enter a name. the group ownership shovel be "mineos"
#Enter Parameters as needed. I use jave_xms and java_xmx as 1024 each.
#Select 'Start Server On Boot"
#Apply.

#In the dashboard, select the Server Name.
#Click start.
#This will fail complaining about the EULA.
#Go back in and select ACCEPT EULA, and click start again.

#To enable stuff ....in the op console, type /op MYNAME to get ops in the server.

#Congratulations, your minecraft server should be running.
#Give it a try in Multiplayer mode.  YOURIPHERE:25565

Google Link to Image:
https://drive.google.com/file/d/1Dumqz7TD6wc4lkvgaY7bHiiggwRz20by/view?usp=sharing

Login: rock64
Pass: rock64

Mineos login: mineos
Mineos Pass: mineos

Enjoy Smile


RE: Minecraft Mineos on RockPro64 - andyburn - 07-02-2019

Updated with link to image

Andy