Minecraft Mineos on RockPro64
#1
Tongue 
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


Attached Files
.png   Screenshot at 2019-07-01 12-52-35.png (Size: 188.46 KB / Downloads: 322)
#2
(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
You can find me on IRC, Discord and Twitter


#3
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
#4
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/d...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/1Dumqz7T...sp=sharing

Login: rock64
Pass: rock64

Mineos login: mineos
Mineos Pass: mineos

Enjoy Smile


Attached Files
.zip   dptx.bin.zip (Size: 13.58 KB / Downloads: 219)
.png   Screenshot at 2019-07-01 15-36-42.png (Size: 377.85 KB / Downloads: 337)
.png   Screenshot at 2019-07-01 15-46-56.png (Size: 182.83 KB / Downloads: 300)
#5
Updated with link to image

Andy


Possibly Related Threads…
Thread Author Replies Views Last Post
  irradium (based on crux linux) RockPro64 riscv64, aarch64 mara 1 342 03-25-2024, 12:12 PM
Last Post: mara
  yocto for RockPro64 Fide 1 647 01-16-2024, 10:01 AM
Last Post: Fide
  Installing Ubuntu Server on RockPro64 deutschlmao 2 2,517 10-29-2023, 04:43 PM
Last Post: brotherj4mes
  Vanilla mainline Debian 11 (Bullseye) on the RockPro64 Pete Tandy 22 16,820 08-16-2023, 01:34 AM
Last Post: varac
  slarm64 (unofficial slackware) ROCKPro64 RK3399 (aarch64) mara 54 82,190 08-11-2023, 11:13 AM
Last Post: mara
  How to enable CoreSight ETM trace on RockPro64 shpark 0 540 05-21-2023, 11:34 PM
Last Post: shpark
  Rockpro64 Dead on arrival? quixoticgeek 1 879 03-12-2023, 06:55 PM
Last Post: quixoticgeek
  RockPro64 boot questions misterc 3 1,487 01-13-2023, 06:21 PM
Last Post: misterc
  A fix for Bluetooth audio stuttering on the RockPro64 raph 2 1,579 01-03-2023, 06:53 PM
Last Post: raph
  hello i want to drive an edp screen with my rockpro64 hannescam 0 707 10-20-2022, 01:22 PM
Last Post: hannescam

Forum Jump:


Users browsing this thread: 1 Guest(s)