To confirm what some have said above: 100g strong flour plus one egg per serving - never add salt. We make 3 kg at a time when we have a glut of eggs, and dry it on a clothes rack. It takes 36 hours, or thereabouts before it is ready to be put in a giant box, with a few cloves of garlic to keep the beasties out.
If you have a food processor, mix the dough up in that - it will look like breadcrumbs when it it's ready, but you can squeeze it into dough fairly readily. A pasta machine will help immensely. Work the dough until it feels "silky smooth", and only then roll it out to the required thickness. With a pasta machine, just keep feeding it through on setting number one, fold in half and feed it through again, and again, until you notice the change in feel. Then work up through the numbers - 6 or 7 is good for tagliatelle, and spaghetti. Lots of extra flour on the dough as you work it will stop it sticking to itself.
I recently learned that durum wheat is used to make both pasta and semolina - you may be able to use semolina flour to make pasta more like shop stuff, but I haven't tried it yet.