If lots of electrons are moving along the same path, they create a bigger magnetic field. Because of this you can make a magnet by using electric current. Non ferromagnetic materials are simply ones that dont have this property. This is the way a permanent magnet is made. If you put a piece of iron in a strong magnetic field, however, this will line up many of the atoms inside the iron.
Vibration can also help the atoms line up.
Railroad rails get hit by train wheels all the time. Over time, the railroad rail will become magnetized since little by little the atoms line up with the earth's magnetic field as they are shook by passing trains.