Install Mapserver di MacBook Leopard

Setelah migrate from windows trus ubuntu, skrg gw pake mac. Nah masalah muncul nih, gw harus nginstall mapserver and uborampenya buat project gw, masa’ gw hrs install dual boot mac ama linux atau mac ama win. Gw paling nggak suka pake dual boot. pake win aja, ubuntu aja atau mac aja buat kerja .. kalo server mah tetep aja pake debian :D

skip..skip..
nah setelah liat2 and baca2 ternyata di Mac secara default udah terinstal Apache 2.2 tinggal diaktifin doang, ama phpnya malah.
cara aktifinnya ==> buka system preference trus sharing and idupin web sharing.. and voila buka browser ketik http://localhost/ atau http://localhost/~username-mu :D yang filenya tersimpan di /Users/yourname/Sites/
Terus setelah itu download mapserver yang udah diport ke mac di sini , Download berikut dependency nya di disini

Sebelumnya instal Xcode yang bisa didownload di sini. nah kalo dah selesai donloadnya maka mulai upacara install

  • Install Xcode
  • Install Freetype
  • Install UnixIOFramework
  • Install GeosFramwork
  • Install Sqlite
  • Install Proj
  • Install Gdal
  • Trus Install PHP5
  • dan enable-kan services php5 cgi dengan run sudo sh phpenable.sh cgi5
  • Baru install Mapserver

And Voila dah jalan mapserver + php-mapscriptmu dengan baik
File2 diatas didownload dari sini

~ oleh Enggar Prajanto pada Oktober 15, 2009.

Tinggalkan Balasan

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Ubah )

Twitter picture

You are commenting using your Twitter account. Log Out / Ubah )

Facebook photo

You are commenting using your Facebook account. Log Out / Ubah )

Connecting to %s

 
Ikuti

Get every new post delivered to your Inbox.