Good job on updating this OS, even if I'd find CentOS to fit my needs better, tested on my laptop with tripleboot. :smile.gif:
The only problem I did see was multiple OS support, there was no easy way to change to another OS after installing MineOS (because of the lack of GRUB as read from above posts aswell) and I don't know how to use LILO. :tongue.gif:
I'm having problems with pigmap that must be related to installation.
When I tell pigmap to render a world, as user mc: ./mineos_console.py pigmap [servername]
In the terminal I get:
region-format world detected
scanning world data...
rendering tiles...
single thread will render 689 base tiles
failed to write /var/www/hiawatha/pigmap/MiddleEarth/world/0/3/3/3/3/2/0/3/2/2.png
[plus many reiterations of "falied to write"]
On checking /var/www/hiawatha, I see I have only three directories:
admin, pnpmyadmin, snapshots
I've installed all addons through the weekend, should I see more directories? Or at least the pigmap directory?
I am guessing I didn't follow a setup instruction properly somewhere.
I've tried the pigmap install script again, but it says failed to run, probably because it is already installed.
[edit] It appears I am able to access the phpmyadmin directory without https, when I click a php, it takes me to https for running it. Is that correct behavior?
For that matter, when I go to my server (on a LAN), entering just the ip-address I end up at the hiawatha directory listing. I can then select /admin to get to the MineOS web-UI, is that correct behavior?
[end edit]
Thanks for your help.
I'm having problems with pigmap that must be related to installation.
When I tell pigmap to render a world, as user mc: ./mineos_console.py pigmap [servername]
In the terminal I get:
region-format world detected
scanning world data...
rendering tiles...
single thread will render 689 base tiles
failed to write /var/www/hiawatha/pigmap/MiddleEarth/world/0/3/3/3/3/2/0/3/2/2.png
[plus many reiterations of "falied to write"]
On checking /var/www/hiawatha, I see I have only three directories:
admin, pnpmyadmin, snapshots
I've installed all addons through the weekend, should I see more directories? Or at least the pigmap directory?
I am guessing I didn't follow a setup instruction properly somewhere.
I've tried the pigmap install script again, but it says failed to run, probably because it is already installed.
[edit] It appears I am able to access the phpmyadmin directory without https, when I click a php, it takes me to https for running it. Is that correct behavior?
For that matter, when I go to my server (on a LAN), entering just the ip-address I end up at the hiawatha directory listing. I can then select /admin to get to the MineOS web-UI, is that correct behavior?
[end edit]
Thanks for your help.
I have no explanation for why the pigmap directory is missing, but it most certainly should be there. In fact, it should be there on MineOS installations even ones that don't use it. The first thing to do is just to recreate the directory. (as 'mc')
# mkdir -p /var/www/hiawatha/pigmap
If this isn't enough, reinstall pigmap via pkgadd utility or the pkgrm utility. There are two ways to go about this, and the way I recommend is with the pkgrm first. As root:
# pkgrm pigmap
// this removes pigmap from the system and tells the package manager 'its gone'
# cd /usr/games/minecraft/addons
# ./pigmap.sh
// this will effectively reinstall it and hopefuly all should go well.
Alternatively, you could just do this to install all packaged files to their expected location without removing beforehand:
# cd /usr/ports/mineos/pigmap
# pkgadd -f -u pigmap#[version].pkg.tar.gz
/f u means 'force upgrade'
Let me know if you run into any troubles. And as a last note, be sure you are user 'mc' when running pigmap! If the renderings are made by root, subsequent attempts as 'mc' will explicitly fail'
I have no explanation for why the pigmap directory is missing, but it most certainly should be there. In fact, it should be there on MineOS installations even ones that don't use it. The first thing to do is just to recreate the directory. (as 'mc')
# mkdir -p /var/www/hiawatha/pigmap
If this isn't enough, reinstall pigmap via pkgadd utility or the pkgrm utility. There are two ways to go about this, and the way I recommend is with the pkgrm first. As root:
# pkgrm pigmap
// this removes pigmap from the system and tells the package manager 'its gone'
# cd /usr/games/minecraft/addons
# ./pigmap.sh
// this will effectively reinstall it and hopefuly all should go well.
Alternatively, you could just do this to install all packaged files to their expected location without removing beforehand:
# cd /usr/ports/mineos/pigmap
# pkgadd -f -u pigmap#[version].pkg.tar.gz
/f u means 'force upgrade'
Let me know if you run into any troubles. And as a last note, be sure you are user 'mc' when running pigmap! If the renderings are made by root, subsequent attempts as 'mc' will explicitly fail'
Thanks for quick reply.
Arrgh, I sense my problem early on here, though I'm not literate enough to suss the next step.
I tried all the steps above, but failure at the first one I think is the main point.
As user mc, I can't make that directory, "only root" can.
As root I can make it. I did so, then deleted it in case that wasn't what I need to do.
Perhaps my permissions for ./hiawatha are wrong? [drwxr-xr-x 4 root root (etc)]
If so, and changing permissions solves it, where did I likely go wrong?
More importantly, how do I change the permissions and where else should I look for similar issues if you think you know where I went wrong originally?
Following on with my pigmap issue, here's a python script request:
A script that checks all directory and file permissions of the base and addons (assuming default install).
I know at many points in the HowTos, it says, "do this as root", then for the immediately next step, "do this as mc".
I could easily have messed up in one of those.
Following on with my pigmap issue, here's a python script request:
A script that checks all directory and file permissions of the base and addons (assuming default install).
I know at many points in the HowTos, it says, "do this as root", then for the immediately next step, "do this as mc".
I could easily have messed up in one of those.
It probably means that the first time you ran a mineos_console.py script since pigmap was added, you did so as root (and it should always be run as 'mc'). The script makes the /pigmap directory and if made by root, then thats why 'mc' cant write to it later on.
I believe a full fix could be is if you run the script i made in /root/runonce
(as root)
# cd /root/runonce
# ./fix_permissions
thats a user-friendly way of changing ownership to directories. Most specifically, its doing this (which you could alternatively use)
It probably means that the first time you ran a mineos_console.py script since pigmap was added, you did so as root (and it should always be run as 'mc'). The script makes the /pigmap directory and if made by root, then thats why 'mc' cant write to it later on.
I believe a full fix could be is if you run the script i made in /root/runonce
(as root)
# cd /root/runonce
# ./fix_permissions
thats a user-friendly way of changing ownership to directories. Most specifically, its doing this (which you could alternatively use)
Or at least, my server's gotten all teenager surly on me (uncommunicative) as it renders away.
Might I recommend you highlight this handy tool in the Addons top-level wiki...unless I missed it...
BTW: some folks less linuxy might not realize "sudo" before a command is same as "run as root"
Can you point me to how I would make a copy of my server (an image?) so I could safely test bukkit plugins on a another machine within a VirtualBox?
Thanks
Do you mean to make a server of the entire OS, or just the minecraft server individually? If the latter, you simply need to archive your minecraft server directory from whatever place its at now and import it using the steps outlined in the CRUX wiki: http://minecraft.codeemo.com/buildmineos/index.php/Importing_a_world
If it works fine on CRUX on virtualbox, you can likewise archive it up again (using the built in function of the web-ui) and move it to your 'live' server.
1. Support for EFI boot would be nice so that i could run it on bare metal :smile.gif:
2. Ability to delete server from WebUI
3. Servers with can't have spaces in their name, if so it will fail at starting up.
4. I can't seem to use any ports except 25565 :sad.gif:
1. Support for EFI boot would be nice so that i could run it on bare metal :smile.gif:
MineOS CRUX already installs onto bare metal, as most users do, but I have no experience with EFI and I'm not sure I can warrant the dev/debug time to add a feature with indeterminate use. What's your situation that requires EFI but cannot install with the existing boot options?
2. Ability to delete server from WebUI
Not intending to implement this--have been asked repeatedly, but I'm not at a place with the web-ui that I can trust that I can stop a reckless admin from doing damage to his or her own server. Also, adding delete from the server is just so simple via SSH/SFTP that I feel like I'm doing a disservice in not pushing admins to learn the ropes with simple console commands. Deleting servers certainly doesn't happen often enough, in my opinion.
3. Servers with can't have spaces in their name, if so it will fail at starting up.
Correct, I guess I should document it (because javascript --as opposed to python--data validation is not my strongsuit. ) Servers are started up with 'screen' and with a space in the name, it messes up screens expected arguments.
It might be that Mac OS X has a better GUI :tongue.gif: :tongue.gif: :tongue.gif:
just kidding.... I know MineOS ain't supposed to have GUI :smile.gif:
Well, MineOS certainly isn't supposed to have a windowing system, but definitely a GUI. Soon I'm revamping the web-ui and it should a pretty drastic change. A lot of graphical improvements, but all still browser-based so low resource
1). www.luaserver.org
2). Support for mod-mods (like modloadermp and planes like mods)
My experience with mods is probably lower than the average home-hoster, to be honest, as I typically dabble around only the OS related stuff, so I'll have to look into those 'mod-mods'. As far as luaserver, I had a hard time finding good documentation on starting that stuff from the CLI, but if it can be run in the same fashion as vanilla or bukkit, it should be no problem for it to work immediately.
download the jar as 'mc' to /usr/games/minecraft
create a new server, select luaserver.jar from the dropdown
start the server
That assumes it uses the similar jar arguments built for CLI rather than a windowing system (which is what vanilla mc does with 'nogui' argument). I'll look into it and see if there are any other steps or if the commands are different in any way that I can factor into the scripts.
So let me start off by saying im pretty new to linux but im fairly proficient with computers. Ok so im having some errors with MineOS and MineOS crux.
Let me start with crux: when i start the installation process, i boot the f1024 kernel (i think thats what its called?). It goes through the process of loading the ATA, and all the other devices and then it says waiting 10 seconds for devices to settle. This is where the error occurs, when it starts up again, it stops and says the media failed to mount correctly. It lists a bunch of locations that are missing (unfortunately im not at the computer im running the server on so i cant copy the error exactly. If need arises I can re post later with the exact errors). It then says its spawning a shell to fix it, having very little knowledge of linux i dont know what to do there.
I also tried the tinycore distro mineOS and I got through the entire installation, and rebooted but it comes up and says missing an operating system. My first reaction was that I forgot to make a partition bootable so I went back and redid the installation making sure to make sd1 bootable. I still got the same error though :/
Again im not at the computer so if you need to know actual specs let me know but here is what i know off hand:
- intel board
- about 2 gb of ram
- i think its an ati graphics card but im not sure
- its a 1tb hard drive
- it previously had windows vista but i wiped the hard drive during the installation so now its empty
- any thing else you guys need to know?
Anyway, if anyone has any ideas the help would be appreciated! :smile.gif:
jdn
P.S. The thought just occured to me that im in the wrong section of the forum as this is my first post so if I am i apologize in advance
Youtube video now created for walking through installation of phpbb3 discussion board software.
The only problem I did see was multiple OS support, there was no easy way to change to another OS after installing MineOS (because of the lack of GRUB as read from above posts aswell) and I don't know how to use LILO. :tongue.gif:
AngelCraft 64 Texture Pack v2.0.2 (Beta 1.8.1)
Nerd, geek, server admin, guy wearing a rainbow skin (with an office suit of epicness)? That's me.
I'm having problems with pigmap that must be related to installation.
When I tell pigmap to render a world, as user mc: ./mineos_console.py pigmap [servername]
In the terminal I get:
region-format world detected
scanning world data...
rendering tiles...
single thread will render 689 base tiles
failed to write /var/www/hiawatha/pigmap/MiddleEarth/world/0/3/3/3/3/2/0/3/2/2.png
[plus many reiterations of "falied to write"]
On checking /var/www/hiawatha, I see I have only three directories:
admin, pnpmyadmin, snapshots
I've installed all addons through the weekend, should I see more directories? Or at least the pigmap directory?
I am guessing I didn't follow a setup instruction properly somewhere.
I've tried the pigmap install script again, but it says failed to run, probably because it is already installed.
[edit] It appears I am able to access the phpmyadmin directory without https, when I click a php, it takes me to https for running it. Is that correct behavior?
For that matter, when I go to my server (on a LAN), entering just the ip-address I end up at the hiawatha directory listing. I can then select /admin to get to the MineOS web-UI, is that correct behavior?
[end edit]
Thanks for your help.
I have no explanation for why the pigmap directory is missing, but it most certainly should be there. In fact, it should be there on MineOS installations even ones that don't use it. The first thing to do is just to recreate the directory. (as 'mc')
# mkdir -p /var/www/hiawatha/pigmap
If this isn't enough, reinstall pigmap via pkgadd utility or the pkgrm utility. There are two ways to go about this, and the way I recommend is with the pkgrm first. As root:
# pkgrm pigmap
// this removes pigmap from the system and tells the package manager 'its gone'
# cd /usr/games/minecraft/addons
# ./pigmap.sh
// this will effectively reinstall it and hopefuly all should go well.
Alternatively, you could just do this to install all packaged files to their expected location without removing beforehand:
# cd /usr/ports/mineos/pigmap
# pkgadd -f -u pigmap#[version].pkg.tar.gz
/f u means 'force upgrade'
Let me know if you run into any troubles. And as a last note, be sure you are user 'mc' when running pigmap! If the renderings are made by root, subsequent attempts as 'mc' will explicitly fail'
Thanks for quick reply.
Arrgh, I sense my problem early on here, though I'm not literate enough to suss the next step.
I tried all the steps above, but failure at the first one I think is the main point.
As user mc, I can't make that directory, "only root" can.
As root I can make it. I did so, then deleted it in case that wasn't what I need to do.
Perhaps my permissions for ./hiawatha are wrong? [drwxr-xr-x 4 root root (etc)]
If so, and changing permissions solves it, where did I likely go wrong?
More importantly, how do I change the permissions and where else should I look for similar issues if you think you know where I went wrong originally?
A script that checks all directory and file permissions of the base and addons (assuming default install).
I know at many points in the HowTos, it says, "do this as root", then for the immediately next step, "do this as mc".
I could easily have messed up in one of those.
It probably means that the first time you ran a mineos_console.py script since pigmap was added, you did so as root (and it should always be run as 'mc'). The script makes the /pigmap directory and if made by root, then thats why 'mc' cant write to it later on.
I believe a full fix could be is if you run the script i made in /root/runonce
(as root)
# cd /root/runonce
# ./fix_permissions
thats a user-friendly way of changing ownership to directories. Most specifically, its doing this (which you could alternatively use)
(as root)
# chown -R mc:games /var/www/hiawatha/pigmap
Schweetness!
Or at least, my server's gotten all teenager surly on me (uncommunicative) as it renders away.
Might I recommend you highlight this handy tool in the Addons top-level wiki...unless I missed it...
BTW: some folks less linuxy might not realize "sudo" before a command is same as "run as root"
Can you point me to how I would make a copy of my server (an image?) so I could safely test bukkit plugins on a another machine within a VirtualBox?
Thanks
Do you mean to make a server of the entire OS, or just the minecraft server individually? If the latter, you simply need to archive your minecraft server directory from whatever place its at now and import it using the steps outlined in the CRUX wiki: http://minecraft.codeemo.com/buildmineos/index.php/Importing_a_world
If it works fine on CRUX on virtualbox, you can likewise archive it up again (using the built in function of the web-ui) and move it to your 'live' server.
1. Support for EFI boot would be nice so that i could run it on bare metal :smile.gif:
2. Ability to delete server from WebUI
3. Servers with can't have spaces in their name, if so it will fail at starting up.
4. I can't seem to use any ports except 25565 :sad.gif:
just kidding.... I know MineOS ain't supposed to have GUI :smile.gif:
Let me know if you have any other questions!
That'll be one massively powerful server. Be sure to keep up with the wiki or send me a pm if you run into any snags!
Well, MineOS certainly isn't supposed to have a windowing system, but definitely a GUI. Soon I'm revamping the web-ui and it should a pretty drastic change. A lot of graphical improvements, but all still browser-based so low resource
1). www.luaserver.org
2). Support for mod-mods (like modloadermp and planes like mods)
My experience with mods is probably lower than the average home-hoster, to be honest, as I typically dabble around only the OS related stuff, so I'll have to look into those 'mod-mods'. As far as luaserver, I had a hard time finding good documentation on starting that stuff from the CLI, but if it can be run in the same fashion as vanilla or bukkit, it should be no problem for it to work immediately.
That assumes it uses the similar jar arguments built for CLI rather than a windowing system (which is what vanilla mc does with 'nogui' argument). I'll look into it and see if there are any other steps or if the commands are different in any way that I can factor into the scripts.
So let me start off by saying im pretty new to linux but im fairly proficient with computers. Ok so im having some errors with MineOS and MineOS crux.
Let me start with crux: when i start the installation process, i boot the f1024 kernel (i think thats what its called?). It goes through the process of loading the ATA, and all the other devices and then it says waiting 10 seconds for devices to settle. This is where the error occurs, when it starts up again, it stops and says the media failed to mount correctly. It lists a bunch of locations that are missing (unfortunately im not at the computer im running the server on so i cant copy the error exactly. If need arises I can re post later with the exact errors). It then says its spawning a shell to fix it, having very little knowledge of linux i dont know what to do there.
I also tried the tinycore distro mineOS and I got through the entire installation, and rebooted but it comes up and says missing an operating system. My first reaction was that I forgot to make a partition bootable so I went back and redid the installation making sure to make sd1 bootable. I still got the same error though :/
Again im not at the computer so if you need to know actual specs let me know but here is what i know off hand:
- intel board
- about 2 gb of ram
- i think its an ati graphics card but im not sure
- its a 1tb hard drive
- it previously had windows vista but i wiped the hard drive during the installation so now its empty
- any thing else you guys need to know?
Anyway, if anyone has any ideas the help would be appreciated! :smile.gif:
jdn
P.S. The thought just occured to me that im in the wrong section of the forum as this is my first post so if I am i apologize in advance