Equatorial Guinea pulled off a shock in the Africa Cup of Nations' opening game as they beat Libya 1-0 at the Estadio de Bata.