1. PaperMC server

 

2. FruitJuice plugin

FruitJuice - Paper Plugin | Hangar (papermc.io)

 

FruitJuice - Paper Plugin | Hangar

Enables a python/scratch API to minecraft - Download the Paper Plugin FruitJuice by jdeast on Hangar

hangar.papermc.io

 

3. Python venv 에 mcpi 설치

pip install mcpi

 

4. 예제

from mcpi.minecraft import Minecraft

mc = Minecraft.create()
mc.postToChat("Hello World!")

 

 

GitHub - gasbugs/Minecraft-To-be-a-architect: Minecraft, To be a architect

 

pip, venv, jupyter 설치

$ sudo apt install python3-pip
$ sudo apt install python3.12-venv


SSD 에 venv 생성
$ cd /mnt/evo860
$ mkdir /mnt/evo860/python_venv
$ python3 -m venv ./python_venv

venv 에서의 설치로, "./pip" 
$ cd ./python_venv/bin
$ ./pip install jupyter


$ ./jupyter-notebook --generate-config
$ vi ~/.jupyter/jupyter_notebook_config.py



c.ServerApp.ip = '0.0.0.0'
c.ServerApp.port = 8889
c.ExtensionApp.open_browser = False

'Tools' 카테고리의 다른 글

Minecraft + Python  (0) 2024.09.29
VS Code  (0) 2021.09.30
Jupyter Notebook: Web Browser (Microsoft Edge), Start-up foler, 'Bad File Descriptor' error  (0) 2021.07.05

 

 

  • Broadcom BCM2712 2.4GHz quad-core 64-bit Arm Cortex-A76 CPU, with cryptography extensions, 512KB per-core L2 caches and a 2MB shared L3 cache
  • VideoCore VII GPU, supporting OpenGL ES 3.1, Vulkan 1.2
  • Dual 4Kp60 HDMI® display output with HDR support
  • 4Kp60 HEVC decoder
  • LPDDR4X-4267 SDRAM (2GB, 4GB, and 8GB)
  • Dual-band 802.11ac Wi-Fi®
  • Bluetooth 5.0 / Bluetooth Low Energy (BLE)
  • microSD card slot, with support for high-speed SDR104 mode
  • 2 × USB 3.0 ports, supporting simultaneous 5Gbps operation
  • 2 × USB 2.0 ports
  • Gigabit Ethernet, with PoE+ support (requires separate PoE+ HAT)
  • 2 × 4-lane MIPI camera/display transceivers
  • PCIe 2.0 x1 interface for fast peripherals (requires separate M.2 HAT or other adapter)
  • 5V/5A DC power via USB-C, with Power Delivery support
  • Raspberry Pi standard 40-pin header
  • Real-time clock (RTC), powered from external battery
  • Power button

 

 

Broadcom BCM2712 quad-core Arm Cortex A76 processor @ 2.4GHz

      ARMv8.2-A 

            Scalable Vector Extension (SVE) : "an optional extension to the ARMv8.2-A architecture and newer"

 

 

 

* Raspberry Pi 27W USB-C Power Supply

5.1V, 5A; 9V, 3A; 12V, 2.25A; 15V, 1.8A (Power Delivery

 

* Samsung 25 W PD 충전기 절전형 (USB C to C 케이블 포함)

PDO : 2.77 A (9 V) / PPS : 3.0 A (3.3-5.9 V) 또는 2.25 A (3.3-11.0 V) 

 

xxd /proc/device-tree/chosen/power/max_current

0000 1388 -> 5000 = 5A
0000 0bb8 -> 3000 = 3A
0000 05dc -> 1500 = 1.5A
0000 0384 ->  900  = 0.9A

 

'Hardware' 카테고리의 다른 글

BCM4322 on Ubuntu  (0) 2023.06.10
Storage - Form factor, Data Bus, Driver  (0) 2021.07.09

 

http://microsoft.com/en-us/edge

 

Get to Know Microsoft Edge

Get quick access to AI-powered tools, apps, and more right within Microsoft Edge’s sidebar. This includes Bing Chat where you can ask questions, get answers, refine search, summarize, and create content–all without switching tabs or breaking your flow.

www.microsoft.com

 

dpkg -i microsoft...deb

'Operating System' 카테고리의 다른 글

Linux command  (0) 2023.04.09
Minecraft server  (0) 2023.03.26
osx iso  (0) 2022.03.01
Install Ubuntu on Raspberry Pi  (0) 2021.09.21
EBS, ffmpeg, rtmpdump, Python (beutiful soup), crontab  (0) 2021.09.18

systemctl disable systemd-networkd-wait-online.service

systemctl mask systemd-networkd-wait-online.service

'Network' 카테고리의 다른 글

EFM, NAS dual 시리즈 펌웨어 업데이트(v1.4.56)  (0) 2022.08.09
Port Forwarding  (0) 2021.07.15

 

 

sudo apt-get update && sudo apt-get install firmware-b43-installer
sudo apt-get install bcmwl-kernel-source

'Hardware' 카테고리의 다른 글

Raspberry Pi 5  (0) 2024.09.08
Storage - Form factor, Data Bus, Driver  (0) 2021.07.09

 

[ df -BM ] disk capacity

-B, --block-size=SIZE  scale sizes by SIZE before printing them; e.g.,
                           '-BM' prints sizes in units of 1,048,576 bytes;

 

[lsusb -t]

BOT: Driver=usb-storage

UASP: Driver=uas

$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 05e3:0731 Genesys Logic, Inc. GL3310 SATA 3Gb/s Bridge Controller
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub


$ lsusb -t
/:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=dwc2/1p, 480M
/:  Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci-hcd/2p, 480M
/:  Bus 003.Port 001: Dev 001, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    |__ Port 001: Dev 002, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
/:  Bus 004.Port 001: Dev 001, Class=root_hub, Driver=xhci-hcd/2p, 480M
/:  Bus 005.Port 001: Dev 001, Class=root_hub, Driver=xhci-hcd/1p, 5000M

 

 

[dd] write speed

(sd card)
/home/[id]$ dd if=/dev/zero bs=1M count=1000 of=test_file oflag=direct
1000+0 records in
1000+0 records out
1048576000 bytes (1.0 GB, 1000 MiB) copied, 39.2173 s, 26.7 MB/s

(ssd)
/mnt/evo860$ dd if=/dev/zero bs=1M count=1000 of=test_file oflag=direct
1000+0 records in
1000+0 records out
1048576000 bytes (1.0 GB, 1000 MiB) copied, 2.96631 s, 353 MB/s

 

[hdparam -Tt /dev/****** ] read speed

$ sudo hdparm -Tt /dev/sda1
/dev/sda1:
 Timing cached reads:   3768 MB in  2.00 seconds = 1885.63 MB/sec
 Timing buffered disk reads: 792 MB in  3.00 seconds = 263.96 MB/sec

$ sudo hdparm -Tt /dev/mmcblk0p2
/dev/mmcblk0p2:
 Timing cached reads:   3714 MB in  2.00 seconds = 1858.88 MB/sec
 Timing buffered disk reads: 256 MB in  3.01 seconds =  85.17 MB/sec

 

 

'Operating System' 카테고리의 다른 글

Ubuntu: Microsoft Edge  (0) 2023.06.11
Minecraft server  (0) 2023.03.26
osx iso  (0) 2022.03.01
Install Ubuntu on Raspberry Pi  (0) 2021.09.21
EBS, ffmpeg, rtmpdump, Python (beutiful soup), crontab  (0) 2021.09.18

 

Build a Minecraft Server on RaspberryPi 4 (linuxnorth.org)

 

 

[Paper Edition]

 

1. Install Java

sudo apt install openjdk-21-jre

 

 

2. Paper Downloads | PaperMC

 

 

 
 

Paper Downloads

Download Paper, our Minecraft server software offering unrivaled performance and stability.

papermc.io

 

java -jar paper-1.21.1-52.jar --nogui

 

 

 

3. 

Setup | GeyserMC

 

Setup | GeyserMC

Guides to setup Geyser on all supported platforms

geysermc.org

 

Place the Geyser-Spigot.jar in the plugins folder, and restart the server.

Open your Geyser config, located in /plugins/Geyser-Spigot/config.yml, and find the following:
bedrock: 
    # The IP address that will listen for connections. 
    # Generally, you should only uncomment and change this if you want to limit what IPs can connect to your server. 
    #address: 0.0.0.0 

    # The port that will listen for connections. This is the port that Bedrock players will use to connect to your server.
    port: 19132 

 

 

4. Geyser | GeyserMC

 

Geyser-Spigot.jar 과 floodgate-spigot.jar 을 plugins 폴더에 복사 후 재부팅

 

 

5. 서버 실행 후

op .[ID]

deop .[ID]

 

 

5. Setting

[Server Setting: server.properties]

difficulty= easy => peaceful

gamemode=survival

 

default-player-permission-level=operator

 

[Permission: permissions.json]

[
   {
      "permission" : "operator",
      "xuid" : "[ID]",
  "level" : 2
   },
   {
      "permission" : "operator",
      "xuid" : "[ID]",
  "level" : 2
   }
]

 

 

[Command]

gamerule keepInventory true 

op [ID]

 

[Command]

gamerule keepInventory true 

op [ID]

 

 

 

 

...................................................

 

 

 

 

b) Install screen (This will be needed to run your minecraft server console while logged out of your Linux server).

    apt install screen

 

 

 

[Java Edition]

1. sudo apt install openjdk-21-jre

 

2. Download

 

Minecraft Server Download | Minecraft

 

Minecraft Server Download

Gain access to amazing Minecraft servers using the Minecraft Server Download. Set up multi-player servers today by following the detailed instructions provided.

www.minecraft.net

 

3 Run & Agree EULA

java -Xmx1G -Xms1G -jar server.jar nogui

vi eula.txt

eula=true

 

   : Port forwarding: TCP, 25565


[Bedrock Edition] Android, Nintendo, ...

   : not support arm (rasberry pi)

 

   : Port forwarding: UDP, 19132

 

Minecraft Bedrock Server Download | Minecraft

 

Minecraft Bedrock Server Download

Discover your own brand of fun when you download the Minecraft bedrock server. Play unique mini-games, collaborate with friends & more with these servers.

www.minecraft.net

 

 

 

Tutorials/Setting up a server – Minecraft Wiki (fandom.com)

 

Tutorials/Setting up a server

This tutorial takes you through the steps of setting up your own Java Edition server using the default server software that Mojang Studios distributes free of charge. The software may be installed on most operating systems, including Windows, macOS, GNU/Li

minecraft.fandom.com

 

 

 

 

'Operating System' 카테고리의 다른 글

Ubuntu: Microsoft Edge  (0) 2023.06.11
Linux command  (0) 2023.04.09
osx iso  (0) 2022.03.01
Install Ubuntu on Raspberry Pi  (0) 2021.09.21
EBS, ffmpeg, rtmpdump, Python (beutiful soup), crontab  (0) 2021.09.18

+ Recent posts