O'Neill Cylinder's are how we might do space colonies in the future. From Wikipedia:

An O'Neill cylinder would consist of two counter-rotating cylinders. The cylinders would rotate in opposite directions in order to cancel out any gyroscopic effects that would otherwise make it difficult to keep them aimed toward the Sun. Each would be 5 miles (8.0 km) in diameter and 20 miles (32 km) long, connected at each end by a rod via a bearing system. They would rotate so as to provide artificial gravity via centrifugal force on their inner surfaces.