Glassfish server is installing with Netbeans IDE. So to install it, simply install the Netbeans IDE.
I install Netbeans 8 with all components.
Word domain1 is the default domain in glassfish server.
It is properties of GlassFish server in Netbeans IDE:
Write in address field in browser:
The Administrator GlassFish Console appear.