A magnitude 6.7 earthquake shook central Peru, sending Lima residents into the streets and raising fears of further seismic activity.