Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do a initialize a new moon from my Urbit planet?

Tags:

urbit

I have my Urbit planet running on a server which is accessible from the internet, allowing other peers to connect directly without hole-punching or proxying through a star or galaxy.

I'd like to launch separate Urbit moon instances, one for each of my personal computers. These are always behind at least one NAT layer, and may move between networks, so they will probably rely on the planet for their connectivity.

How do I initialize a new moon from my Urbit planet? Is there a command that generates a new name/ticket pair which I use during initialization, or do I need to use my planet's name and passphrase directly on the moon?

If possible, can I specify an unused moon name (within the planet's address space) to initialize that moon, instead of picking one at random?

like image 401
Jeremy Avatar asked Jul 06 '16 00:07

Jeremy


1 Answers

To generate a moon from your planet, you simply enter +moon from the :dojo environment. What I'm gleaning from here is that this generates a name which you can then initialize from some device like you did for your planet. It also seems that they're tied to your planet in the same way that your planet is tied to a star.

I haven't been able to figure out many specifics from the docs, but it seems that each moon is partly synced to its parent planet and can access parts of its filesystem. This is conjecture following from the above, but I'm guessing that, whereas a planet is run on its own server instance, a moon is not. Rather, it depends on its parent planet running in order to function. I'm sure there are more details to come in the docs.

like image 76
Christopher Ronning Avatar answered Jan 04 '23 01:01

Christopher Ronning