Spinner is now ready to be configured. Here follows a brief
explanation on the configuration interface.
The configuration interface is quite similar to the filesystem of a
Macintosh. This is how it will look like, the first time you see it.
Notice the red arrows. They points on the variables set when you
filled in the form on the "Welcome to Spinner" page.
The fold / unfold principle
The arrows (
) are
fold/unfold buttons. Try clicking on them and you will see how they
work.
Color encoding
As you already have noticed, some arrows are red and some are
blue. Why is it this way? For fun? No, actually the color encoding is
a great help when you are configuring. The red colors is ment to catch
your attention, showing you where unsaved changes has been made. If
you press the [SAVE] button, you'll notice all arrows becoming
blue instead. What you just did, was to save the www-user and
password, that you configured on the first page.
Your first changes
Now when you have begun using the configuration interface, it's about
time to change something. If you run Spinner as root, it might be a
good idea to change the User ID and Group ID of the server, after it
has started. To do this unfold Change uid and gid to under
Global Variables.
As you might know, only root is allowed to open port 80. This means
that if you change uid to anything else (which is highly recommended),
you will have to [RESTART] Spinner, in order to enable
newly added virtual server(s) using this port.
- The uid and gid must be the numerical value, so you
cannot use the symbolical ones (ie www:www).
- Remember that the server has to be able to write logfiles and save
the configurations. To fix this, do as root: "chown -R uid
configurations logs" and possibly also "chgrp -R gid
configurations logs" in the server directory (where uid and gid
are the ones you set before).
Another thing you might want to change is the configuration port
which defaults to the one you was appointed to by the install
script. The main reason for this, is that it might be hard to remember
to use port number 18391. We change it to 4711.
Press [SAVE] to save the changes. Notice that you will have to
change the URL to the configuration interface yourself (ie
http://foop.bar:18830/ -> http://foop.bar:4711/), to be able to
continue the configuring (this may be be fixed in future releases).
When you have finished configuring the Global Variables, it's time to add a new virtual server