Just use straight through cables to connect all of the computers to the hub itself, each wire should be in the same order on both ends of the cord. Like Anna777 said, the standard order of the wires is orange/white, orange, green, blue, blue/white,green/white, brown/white, brown.
There are a few different ways to hook up this setup to the internet. You can have one computer that acts as the gateway and has two NICs (or a NIC and a modem), and connects to the home network with one NIC and provides internet access through the second NIC or modem. A more common solution, however, especially if you have a cable modem, is to plug the cable modem directly into your hub. If you are going to do that, be sure that you either (a) plug it into the uplink port using a straight through cable or (b) plug it into a regular port with a crossover cable.
Most hubs have a switch for the uplink port that can toggle it between a normal port and an uplink port. If you want/need to make a crossover cable, then I suggest going to http://www.littlewhitedog.com/reviews_other_00009.asp which has a great tutorial on constructing them. If you keep in mind the order of the cables it is also good for creating straight through cables.