For those who read French, here is another essay by Nora Lafi about the history of Tripoli. It is freely available online.
Nora Lafi, “Ville arabe et modernité administrative municipale : Tripoli (Libye actuelle), 1795-1911.” [The Arab city and municipal administrative modernity: Tripoli (Libya), 1795-1911] Histoire urbaine 1, no. 3 (2001), pp. 149-167.
Abstract: This paper aims both at presenting a short bibliographical essay on Arab towns and, from the case of Tripoli (Libya), at examining the matter of the administrative modernity of such towns. The role in this process of modernization of the various traditional institutions of urban government is studied with the help of new archives, mostly local. A presentation of the machîkha al-bilâd – the cheikh albilâd (chief of the town) and its jamâ’a al-bilâd (town council) – as an organization of municipal kind is proposed in this paper, and the forms of a possible comparatism with Ancien Régime European towns are explored. The 1867 Ottoman municipal reforms (tanzimât) are then studied in the context of the inheritance of traditional forms of urban government.