Como trabalhar com máquinas virtuais v1.5 avaliações
18630 avaliações
KWANGHOON L. · Revisado há over 7 years
4 stars
junghyun c. · Revisado há over 7 years
Agrata K. · Revisado há over 7 years
Agrata K. · Revisado há over 7 years
Reshma S. · Revisado há over 7 years
Reshma S. · Revisado há over 7 years
ok
Shiva P. · Revisado há over 7 years
paul f. · Revisado há over 7 years
Daniel F. · Revisado há over 7 years
MYKHAYLO S. · Revisado há over 7 years
Sedona H. · Revisado há over 7 years
Nicolas E. · Revisado há over 7 years
Vivek A. · Revisado há over 7 years
Aliaksandr Z. · Revisado há over 7 years
Francesco S. · Revisado há over 7 years
Pavel B. · Revisado há over 7 years
Server maintenance step is broken. No point awarded. I know i followed the exact instructions
Gregory U. · Revisado há over 7 years
Sergey S. · Revisado há over 7 years
Clément B. · Revisado há over 7 years
Victor B. · Revisado há over 7 years
Aliaksei D. · Revisado há over 7 years
Muhammad F. · Revisado há over 7 years
YOUNGHUN Y. · Revisado há over 7 years
3
Younguk C. · Revisado há over 7 years
I noticed errors while running backup.sh google2486574_student@mc-server:/home/minecraft$ . /home/minecraft/backup.sh No screen session found. Maybe this is because we run script as non-root user, but previously we started screen as root sudo screen -S mcs java -Xms1G -Xmx7G -d64 -jar /home/minecraft/minecraft_server.1.11.2.jar nogui simple fix would be just to add sudo before screen commands in backup.sh #!/bin/bash sudo screen -r mcs -X stuff '/save-all\n/save-off\n' /usr/bin/gsutil cp -R ${BASH_SOURCE%/*}/world gs://${YOUR_BUCKET_NAME}-minecraft-backup/$(date "+%Y%m%d-%H%M%S")-world sudo screen -r mcs -X stuff '/save-on\n' (I tested it and it seems to work) Also each run of startup-script adds one line to crontab. Not so important, but anyway. (crontab -l ; echo "0 */4 * * * /home/minecraft/backup.sh")| crontab - And at the end of lab we got 0 */4 * * * /home/minecraft/backup.sh 0 */4 * * * /home/minecraft/backup.sh in crontab. Simple fix could be to grep output of crontab -l. Something like this (crontab -l | grep -v /home/minecraft/backup.sh ; echo "0 */4 * * * /home/minecraft/backup.sh")| crontab - (but I not tested it :)) Sorry for long message, and thanks for great course!
Den P. · Revisado há over 7 years
Não garantimos que as avaliações publicadas sejam de consumidores que compraram ou usaram os produtos. As avaliações não são verificadas pelo Google.