I'm not sure what you're asking here. You would like to install Flarum in two different places? If they are on a web server, they would be accessed by two different URLs. If on a local machine, you would have two instances of Flarum, without communication between them.
Can you clarify a little more what you're trying to do?