hey this has been super super helpful but it's also nice to see how patient you've been with people in the comments. this isn't exactly an intuitive thing to do, so your kindness and willing to explain things is going a really far distance. I hope you know that :)
@TechTute28 күн бұрын
Thanks for the feedback, it means a lot to me!
@AlejandroSanchez-nr8tn4 ай бұрын
How can I enable show coordinates? No option in server.properties and the option is greyed out in the minecraft settings. Also curious if there are any other commands other than "weather" that can be changed in the command line. Thanks for all the help! Got the server up and running quickly using your video. Appreciate the hard work!
@TechTute4 ай бұрын
Run "gamerule showcoordinates true" in the command console to enable coordinates. There are lots of other commands you can run. You can find them in the command console by running the "help"command. There are about 36 pages of commands unfortunately, you can show one page at the time only. For nice summary of the commands you can look here minecraft.fandom.com/wiki/Commands
@JO-cc1rn4 ай бұрын
When I try to join my server it says the host (the server) has an older version of Minecraft, how do I fix this?
@TechTute4 ай бұрын
kzbin.info/www/bejne/pWTYfmmfqtdgoMk checkout this video it shows you how to update your server
@JO-cc1rn4 ай бұрын
@@TechTute thank you
@TechTute4 ай бұрын
Btw if you installed your bedrock server with the script from the video, u may want to try the auto update script. techtutelage.net/?p=889
@JO-cc1rn4 ай бұрын
@@TechTute I emailed you explaining the issue. Please help. Thank you
@TechTute4 ай бұрын
Just run the script “sudo bash update-bedrock-server.sh” it should work.
@syedhyderhussaini-86125 ай бұрын
How can i upload my own world onto the server? It would be great if you made a video regarding this
@TechTute5 ай бұрын
Thank you for the suggestion I will look in to it.
@JacquesLeChat18 күн бұрын
I had two minecraft servers on a single oracle VM but was getting some lag/instability/inconsistency, so I split one off using the remainder of the free server space that oracle provides. I was able to get the world info off and transfer it to the other server so we didn't lose any of our work! My process was kinda hacky but that's ok: it works and nothing seems broken and i'm gonna learn to do it better next time. That said, I do have a question you might be able to help with: How do I disable/remove/delete the old minecraft server from the first instance now that all of its information has been transferred off? I don't want it to come online automatically when the instance/servers restart daily
@TechTute17 күн бұрын
If you used this video to build your server and you have not made any changes, all you need to do is run the following commands. "sudo supervisorctl stop all" - Stops the server if running "sudo rm -rf /etc/supervisor/conf.d/bedrock-server-process.conf" - Removes the supervisor config that manages your Minecraft server (Start/Stop/Restart/AutoStart) "sudo rm -rf /opt/bedrock-server" - Deletes Minecraft with all configs and worlds server completely from your system.
@JacquesLeChat16 күн бұрын
@@TechTute Wow awesome thank you so much!
@doky25716 ай бұрын
Hi thanks for the tutorial, i've got the server setup using your vid. Just a quick question, i'm trying to edit server.properties file to allow cheats = true although when I make the change I get a message, permission denied. How can I grant myself permission to change properties in the file ? thank you
@doky25716 ай бұрын
Managed to solve with this command - sudo chmod -R a+rwx /opt/bedrock-server/ (grants writable permissions for the folder bedrock-server)
@TechTute6 ай бұрын
sorry for the delayed response, I am glad you were able to figure it out!
@JO-cc1rn5 ай бұрын
Where did you go at 5:44? and how do I get there on windows?
@TechTute5 ай бұрын
I went in to my user's downloads directory, as that is where I downloaded my private key. On windows will most likely be in c:\Users\USER_NAME\Downloads. once there you can just run ssh -i priv.key user@serverip if permissions are not correct you will have to fix them via gui make sure your user owns the file and have full permissions, and deny access to all other users and turn off inheritance, then you should be able to ssh.
@JO-cc1rn5 ай бұрын
How do I find, access and change the server properties. So I can change the seed of the Minecraft world and the simulation distances. Please help.
@TechTute5 ай бұрын
Stop the server "supervisorctl stop all". Open server.properties file "nano /opt/bedrock-server/server.properties". Look for the line that starts with "level-seed=" chanage the value save the changes and close the server.properties. Start bedrocks server "supervisorctl reload".
@JO-cc1rn5 ай бұрын
Perfect thank you again
@TechTute5 ай бұрын
@@JO-cc1rn you are welcome
@JO-cc1rn5 ай бұрын
@@TechTute It says I am getting a permission error when I use “supervisorctl stop all”
@TechTute5 ай бұрын
@@JO-cc1rn run it with “sudo”
@aguy310 күн бұрын
I followed your tutorial yesterday almost exactly, but I did it on windows and followed your comments on how to ssh into the server and it worked perfectly. But, when I was playing on the minecraft today the minecraft server suddenly became very slow/unresponsive. It was raining when this happened so I tried to ssh back into the server to run the "weather clear" command. But, the server is also very slow to respond. I did run tail -f /var/log/ and after like 15mins it keeps giving a snapd error or something like that. The command "sudo supervisorctl status" doesn't reponds after 15mins. I'm very new to linux/ubuntu. Could you give me some advice?
@TechTute10 күн бұрын
It's hard to pinpoint the exact issue without access to the server, but it seems like resource usage or service errors might be affecting performance. I recommend checking CPU, memory, and disk usage with "top", "free -h"', "df -h" and reviewing system logs for errors. If you're seeing snapd errors, try restarting the service with "systemctl restart snapd". If the system remains unresponsive, a reboot may help restore functionality and clear any temporary issues.
@aguy310 күн бұрын
@@TechTute It seems to have fixed itself. But, checking right now on Oracle cloud it was showing cpu, memory, and disk usage was fine when I had this problem. None of them were fully utilized.
@TechTute9 күн бұрын
@@aguy3 Glad it resolved! It might have been a temporary network or server issue. Hope it keeps working smoothly!
@aguy39 күн бұрын
@@TechTute The issue seems to have come back. But before the minecraft server became very slow/laggy, I was able to ssh into the instance and I was able to attach to the minecraft server log as in "sudo supervisorctl fg bedrock-server" ran successfully. I noticed in the logs that every 5-15 mins it would run "AutoCompaction" and when the server did become slow there wasn't rain in minecraft. So, I rebooted the instance on Oracle and the server works fine again. Minecraft works fine and isn't laggy. Do you know how I can prevent the server from becoming slow/laggy?
@alexanderbautista79306 ай бұрын
what program do you use to adjust the permissions at 5:44
@TechTute6 ай бұрын
I’m using “chmod” a command line utility that allows you to manage file and directory permissions in Unix-like operating systems
@alexanderbautista79306 ай бұрын
@@TechTute is there anything like that for windows based systems?
@TechTute6 ай бұрын
You can install a desktop environment and that it will kinds of look like windows but doing that just so you can change file permissions would be overkill. What r u trying to do?
@alexanderbautista79306 ай бұрын
@@TechTute I'm just trying to make a server that I can mod for me and my friends
@TechTute6 ай бұрын
Why do you need windows like tools? Doesn’t the tutorial help to get the server installed and running?
@dimandeye72585 ай бұрын
The shape you selected doesnt seem to be working for the image or it might be some other problem what do I do.
@TechTute5 ай бұрын
what shape and image are you selecting?
@shaanpatel98146 ай бұрын
cloud-init appears to have failed. "sudo supervisorctl status" says "fatal, exited too quickly". Must have been from when I was troubleshooting earlier and accidently closed it. Is there a way to restart that process? Or am I best off starting from scratch?
@TechTute6 ай бұрын
cloud-init usually only runs when instance is booted the very first time, you can try restarting supervisor by running “supervisorctl reload” but I doubt that will help much based on error you see. What you should do is check the supervisor logs and see why it’s failing to start.
@shaanpatel98146 ай бұрын
@@TechTute Even on a fresh restart the script appears to not be working fully. Off of "tail -f /var/log/syslog" I get: "Jun 24 21:19:26 mcbe systemd[2515]: Listening on GnuPG cryptographic agent and passphrase cache. Jun 24 21:19:26 mcbe systemd[2515]: Listening on debconf communication socket. Jun 24 21:19:26 mcbe systemd[2515]: Listening on REST API socket for snapd user session agent. Jun 24 21:19:26 mcbe systemd[2515]: Listening on D-Bus User Message Bus Socket. Jun 24 21:19:26 mcbe systemd[2515]: Reached target Sockets. Jun 24 21:19:26 mcbe systemd[2515]: Reached target Basic System. Jun 24 21:19:26 mcbe systemd[2515]: Reached target Main User Target. Jun 24 21:19:26 mcbe systemd[2515]: Startup finished in 133ms. Jun 24 21:19:26 mcbe systemd[1]: Started User Manager for UID 1001. Jun 24 21:19:26 mcbe systemd[1]: Started Session 1 of User ubuntu." And "sudo supervisorctl status" still gives me: FATAL Exited too quickly". Really not sure of where the error could lie here tbh. I recall seeing a message saying "too many retries" in another session/attempt but am unable to replicate it in this current instance.
@shaanpatel98146 ай бұрын
How does this differ on Windows? I'm stuck at the part where you open your console because when I type "ls -l" I get nothing (That is through PuTTY)
@TechTute6 ай бұрын
Shouldn’t be any difference on windows, once you connect to the server via putty. What do you mean by “I get nothing” if you re connected to your server you should get a response?
@shaanpatel98146 ай бұрын
@@TechTute So at 5:44 you do the ls -l command and have keys there but when I did it it literally said "0". Now I used the key to run PuTTY, but it didn't show up in the directory like yours did. Unfortunately there aren't a lot of tutorials for bedrock, and they all seem to do it differently. I just want to make sure I'm not missing something. *Edit* Watching again its the part at 6:00 where I'm not sure if I should be doing that in PuTTY or Windows command
@TechTute6 ай бұрын
The commands I’m running between 5:44 and 6:20 are not going to work on windows. You will need to use putty to connect to your remote server and then you should be able to follow along. Here is a link to video on how to use putty to connect How to Use Putty to SSH on Windows | Generate SSH Key Pair with PuTTYGen kzbin.info/www/bejne/iYKcqJeKm52Vn5o
@rayman361010 ай бұрын
Great Job as always!
@TechTute10 ай бұрын
Thanks again!
@davidbedolla48766 ай бұрын
I can connect using my phone but it is not working on the computer. I get an outdated client message, but I have the latest version. How can I stop one of the servers?
@TechTute6 ай бұрын
double check the version of your server and client, make sure you re connecting to the correctserver in case you have multiple servers. On how to stop the server, it would depend on how it was started, if you followed the video used supervisorctl all you need to do is run "supervisorctl stop all"
@breadoggo93535 ай бұрын
How do i create a server for an older version?
@TechTute5 ай бұрын
You will need to download the zip file of the version you need adn then you can just follow these instructions kzbin.info/www/bejne/l3mcZIGMlK6gh7sfeature=shared . You can get older versions of bedrock edition zip file from their official site by replacing the version number in the download link. For example as of today the current download link is "minecraft.azureedge.net/bin-win/bedrock-server-1.21.20.03.zip" if you want to download lets say Bedrock 1.20.51.01 go to "minecraft.azureedge.net/bin-win/bedrock-server-1.20.51.01.zip" . I am not sure how far back they go so hopefully they have what you are looking for.
@KHAOS_CODM4 ай бұрын
Do you have a script that works with canonical Ubuntu and ampere? With this script the Minecraft files do not quite start installing
@KHAOS_CODM4 ай бұрын
When running the "tail -f /var/log/syslog" after having done all the steps and having selected Ampere with 4 cores and the 24 GB, it shows that the system isn't actually doing the Minecraft installation, and thus making all the other commands you use in the video also not work
@TechTute4 ай бұрын
Minecraft Bedrock edition is not natively supported on arm so it wont work on Ampere
@calvin_s3 ай бұрын
Hello again, I have another question: My supervisor status says "FATAL" instead of running with the description "Exited too quickly (process log may have details)". Said log reads: "ENOEXEC supervisor: child process was not spawned". How can I fix this?
@TechTute3 ай бұрын
did you check your stderr_logfile, it may provide you with more useful information. If you followed the video and didn't change anything, it should be in /opt/bedrock-server/bedrock-server.out.log
@calvin_s3 ай бұрын
@@TechTute Yeah, that's exactly the one i looked into. It says "supervisor: couldn't exec /opt/bedrock-server/bedrock_server: ENOEXEC supervisor: child process was not spawned"
@TechTute3 ай бұрын
@@calvin_s how about /var/log/supervisor/supervisord.log anything in there?
@calvin_s3 ай бұрын
@@TechTute That one reads 2024-09-18 21:35:07,673 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message. 2024-09-18 21:35:07,673 WARN No file matches via include "/etc/supervisor/conf.d/*.conf" 2024-09-18 21:35:07,676 INFO RPC interface 'supervisor' initialized 2024-09-18 21:35:07,676 CRIT Server 'unix_http_server' running without any HTTP authentication checking 2024-09-18 21:35:07,676 INFO supervisord started with pid 2326 2024-09-18 21:35:17,112 INFO spawned: 'bedrock-server' with pid 2542 2024-09-18 21:35:17,122 INFO exited: bedrock-server (exit status 127; not expected) 2024-09-18 21:35:18,125 INFO spawned: 'bedrock-server' with pid 2545 2024-09-18 21:35:18,133 INFO exited: bedrock-server (exit status 127; not expected) 2024-09-18 21:35:20,137 INFO spawned: 'bedrock-server' with pid 2547 2024-09-18 21:35:20,147 INFO exited: bedrock-server (exit status 127; not expected) 2024-09-18 21:35:23,413 INFO spawned: 'bedrock-server' with pid 2557 2024-09-18 21:35:23,419 INFO exited: bedrock-server (exit status 127; not expected) 2024-09-18 21:35:24,420 INFO gave up: bedrock-server entered FATAL state, too many start retries too quickly
@calvin_s3 ай бұрын
@@TechTute That one reads: 2024-09-18 21:35:07,673 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message. 2024-09-18 21:35:07,673 WARN No file matches via include "/etc/supervisor/conf.d/*.conf" 2024-09-18 21:35:07,676 INFO RPC interface 'supervisor' initialized 2024-09-18 21:35:07,676 CRIT Server 'unix_http_server' running without any HTTP authentication checking 2024-09-18 21:35:07,676 INFO supervisord started with pid 2326 2024-09-18 21:35:17,112 INFO spawned: 'bedrock-server' with pid 2542 2024-09-18 21:35:17,122 INFO exited: bedrock-server (exit status 127; not expected) 2024-09-18 21:35:18,125 INFO spawned: 'bedrock-server' with pid 2545 2024-09-18 21:35:18,133 INFO exited: bedrock-server (exit status 127; not expected) 2024-09-18 21:35:20,137 INFO spawned: 'bedrock-server' with pid 2547 2024-09-18 21:35:20,147 INFO exited: bedrock-server (exit status 127; not expected) 2024-09-18 21:35:23,413 INFO spawned: 'bedrock-server' with pid 2557 2024-09-18 21:35:23,419 INFO exited: bedrock-server (exit status 127; not expected) 2024-09-18 21:35:24,420 INFO gave up: bedrock-server entered FATAL state, too many start retries too quickly
@calvin_s3 ай бұрын
How do I swap out the world if the files are owned by minecraft_user? I’m a Linux noob.
@TechTute3 ай бұрын
either switch your current user to minecraft_user and run your commands , or switch to user that has sudo privileges.
@calvin_s3 ай бұрын
@@TechTuteThank you!
@syedhyderhussaini-86125 ай бұрын
can you explain how to do steps from 5:44 on windows
@TechTute5 ай бұрын
on windows all you need to do is open "command prompt" then "cd" in to the directory where your private key got downloaded and simply run "ssh -i private.pey ubuntu@serverip" and you should ssh in to the server.
@syedhyderhussaini-86125 ай бұрын
@@TechTute I figured it out.. Thanks a lot
@TechTute5 ай бұрын
@@syedhyderhussaini-8612 awesome!
@CalSolar7 ай бұрын
how can i edit the script after i create the vm? also my tail -f /var/log/syslog is taking very long, its been more than 30 minutes and ports still not open
@TechTute7 ай бұрын
You can't edit it this script runs only once when the vm is being built. Why would you want to edit it after vm is running ?
@CalSolar7 ай бұрын
@@TechTute i wanted to change the directory of the server files and i may have messed something up with the server name
@TechTute7 ай бұрын
If you didn't make any changes to the script, you should be able to run "supervisorctl stop all" to stop your server and then do the necessary changes. To change the server name run "nano /opt/bedrock-server/server.properties" find "server-name=" and replace with new server name. Run "mv /opt/bedrock-server /path/to/new/directory/" to move your server files, then make sure to edit your "nano /etc/supervisor/conf.d/bedrock-server-process.conf" and everywhere you see the old path replace it with the new one. Then run "supervisorctl reload" to start your server.
@CalSolar7 ай бұрын
@@TechTute thanks! i had edited the server name at the top of the script and i edited minecraft_user, where can i fix that?
@TechTute7 ай бұрын
@@CalSolar what exactly did you do, and what are you trying to do? Chnaging name of the server is easy just edit the "server.properties" file. If you want to change the user then you will need to create a new user, give the new user permissions to your server's installation directory (easier if you just make it owner), and update the user in the supervisor configuration file.
@thepuff1299 ай бұрын
its saying like out of capacity i try switching domains
@TechTute9 ай бұрын
yeah unfortunately this is very common on the free accounts now days. I would recommend switching to PAYG and sticking to the always free resources that way you don't have to deal with "out of capacity"
@thepuff1299 ай бұрын
@@TechTute how long do h think it will take if I don’t upgrade
@TechTute9 ай бұрын
@@thepuff129 it is hard to tell, it all depends on the region and the availability domain you are in, and on the current demand for the type of instance you are trying to start in that region and ad.
@thepuff1299 ай бұрын
@@TechTute oh okay thanks well I’ll keep trying I’ve try for a day now but i hope soon
@JO-cc1rn4 ай бұрын
How do I download the world files from the server to my computer
@TechTute4 ай бұрын
you can use "scp" command, or gui tool such as Filezilla, WinSCP. kzbin.info/www/bejne/rX-binyPfbudj8k
@_.tasos_.gamer_.34456 ай бұрын
When going at bit it says error 404 and I can’t copy it !!
@TechTute6 ай бұрын
Is that while running the script?
@Taah_fr8 ай бұрын
does it work on cracked versions as well?
@TechTute8 ай бұрын
I am not sure I get your question? If you use the script as is, it will install the official bedrock server (not cracked).
@henryspielstadt61277 ай бұрын
Can you run the server for free indefinitely?
@TechTute7 ай бұрын
You should be able to, unless oracle decides to discontinue the free tier. I would recommend going to pay as you go account that way you avoid your server getting terminated in case you don’t meet oracle’s minimum utilization requirements.
@JO-cc1rn4 ай бұрын
How do I backup my server?
@TechTute4 ай бұрын
Stop the server, and make a copy of the entire server directory.
@JO-cc1rn4 ай бұрын
What is the command for this do you know?
@TechTute4 ай бұрын
@@JO-cc1rn "cp -r /source/directory /destination/directory" of course you will need to replace source and destination directories with your actual directories.
@tinyauchu76445 ай бұрын
how do i edit server proporties file?
@TechTute5 ай бұрын
you can opem it with any text editor most linux systems ship with vi and nano.
@jesusdn25159 ай бұрын
addons?
@TechTute9 ай бұрын
How To Add Mods To Your Minecraft Bedrock Server | Easy Step-by-step Tutorial kzbin.info/www/bejne/baDUkn2FmK-DsNk
@tinyauchu76446 ай бұрын
is there a script for 1.21
@TechTute6 ай бұрын
this script will download and install the latest version of the server