Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@mine:~# apt -y install git rdiff-backup screen
- Reading package lists... Done
- Building dependency tree... Done
- Reading state information... Done
- git is already the newest version (1:2.40.1-1ubuntu1).
- rdiff-backup is already the newest version (2.2.2-1build1).
- screen is already the newest version (4.9.0-4).
- 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- root@mine:~# apt -y install build-essential
- Reading package lists... Done
- Building dependency tree... Done
- Reading state information... Done
- build-essential is already the newest version (12.10ubuntu1).
- 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
- root@mine:~# cd /usr/games
- root@mine:/usr/games# git clone https://github.com/hexparrot/mineos-node minecraft
- Cloning into 'minecraft'...
- remote: Enumerating objects: 6597, done.
- remote: Counting objects: 100% (8/8), done.
- remote: Compressing objects: 100% (8/8), done.
- remote: Total 6597 (delta 1), reused 4 (delta 0), pack-reused 6589
- Receiving objects: 100% (6597/6597), 5.29 MiB | 1.26 MiB/s, done.
- Resolving deltas: 100% (3900/3900), done.
- root@mine:/usr/games# cd minecraft
- root@mine:/usr/games/minecraft# git config core.filemode false
- root@mine:/usr/games/minecraft# chmod +x generate-sslcert.sh mineos_console.js webui.js
- root@mine:/usr/games/minecraft# cp mineos.conf /etc/mineos.conf
- root@mine:/usr/games/minecraft# cd /usr/games/minecraft
- root@mine:/usr/games/minecraft# npm install
- > diskusage@1.1.3 install /usr/games/minecraft/node_modules/diskusage
- > node-gyp rebuild
- gyp ERR! configure error
- gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/games/minecraft/node_modules/diskusage/build'
- gyp ERR! System Linux 6.5.0-10-generic
- gyp ERR! command "/usr/bin/node" "/usr/bin/node-gyp" "rebuild"
- gyp ERR! cwd /usr/games/minecraft/node_modules/diskusage
- gyp ERR! node -v v18.13.0
- gyp ERR! node-gyp -v v9.3.0
- gyp ERR! not ok
- npm ERR! code ELIFECYCLE
- npm ERR! errno 1
- npm ERR! diskusage@1.1.3 install: `node-gyp rebuild`
- npm ERR! Exit status 1
- npm ERR!
- npm ERR! Failed at the diskusage@1.1.3 install script.
- npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
- npm ERR! A complete log of this run can be found in:
- npm ERR! /root/.npm/_logs/2023-11-01T19_11_11_584Z-debug.log
- root@mine:/usr/games/minecraft# cd /usr/games/minecraft
- root@mine:/usr/games/minecraft# ./generate-sslcert.sh
- ...+..........+..+......+.......+.....+.......+..+....+..+.........+...+...+..........+..+.+.....+......+.+..+...............+.......+.....+.+........+....+..+......+.......+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*....+.....+...+.......+..+.+.....+...+.........+.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+........+.......+...+..+...+.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- ..+.......+..+.............+..+...................+.........+.....+.+.........+......+..+.......+..+...+......+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*............+...+..+......+...............+.+...+.....+......+...............+....+..+....+..+............+.+..+....+...+.....+.+.....+......+..................+.+..+..........+.....+...+.+......+...+..+.......+............+.....+..................+...+.......+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+......+......+..+...+...+......+.................................+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- -----
- writing RSA key
- root@mine:/usr/games/minecraft# cp /usr/games/minecraft/init/systemd_conf /etc/systemd/system/mineos.service
- root@mine:/usr/games/minecraft# systemctl enable mineos
- root@mine:/usr/games/minecraft# systemctl start mineos
- Job for mineos.service failed because the service did not take the steps required by its unit configuration.
- See "systemctl status mineos.service" and "journalctl -xeu mineos.service" for details.
- root@mine:/usr/games/minecraft#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement