Setting Roc@t-Remote Catalogue (Apache, Oracle InstantClient, PHP di RHEL5)

Apa sih itu Roc@t

ROC@T merupakan produk dari PT. Sigma Cipta Utama (http://scu.co.id/) dibuat untuk membantu Anda dalam pengelolaan pencarian dan peminjaman pada lokasi penyimpanan data katalog di perusahaan Anda agar lebih efisien dalam pencarian, pendistribusian dan pemeliharaannya. Hal ini memungkinkan untuk membuat index dari data yang disimpan pada banyak unit penyimpanan asset menjadi katalog yang secara sentral dikelola dari data fisik yang didistribusikan. Aplikasi ini juga termasuk sistem pemesanan. Sistem pemesanan adalah fasilitas yang membantu pengguna untuk memesan beberapa item dari catatan yang ditunjukkan pada laporan

Apa aja sih yang dibutuhkan :

  1. Web Server (Apache)
  2. Oracle Database atau InstantClient jika database Oraclenya terpisah
  3. PHP

Langkah Instalasi di sistem operasi RedHat Enterprise Linux 5

1. Compile Apache

Buka console/terminal untuk memulai installasi

Pindah ke direktori dimana file aplikasi disimpan

Ekstract file Apache dengan mengetikkan

tar -xvf httpd-[versi aplikasi].tar.gz

Pindah ke dalam folder aplikasi Apache dengan mengetikkan perintah

cd httpd-[versi aplikasi]/

Compile aplikasi dengan mengetikkan perintah

./configure –enable-so

make

make install

 

2. Install Oracle InstantClient

Buka console/terminal untuk memulai installasi

Pindah ke direktori dimana file aplikasi disimpan

Install aplikasi dengan mengetikkan perintah

rpm -ivh oracle-instantclient-basic-11.1.0.1-1.i386.rpm

 

PATH instantclient di : /usr/lib/oracle/11.1.0.1/client/

Set Environment Variables:

export LD_LIBRARY_PATH=/usr/lib/oracle/11.1.0.1/client/:$PATH

export ORACLE_HOME=/usr/lib/oracle/11.1.0.1/client/

export PATH=$ORACLE_HOME/bin:$PATH

tambah baris diatas ke /etc/rc.local sehingga variabel tetap efektif walaupun setelah reboot

 

3. Compile PHP

Buka console/terminal untuk memulai installasi

Pindah ke direktori dimana file aplikasi disimpan

Ekstract file PHP dengan mengetikkan

tar -xvf php-[versi aplikasi].tar.gz

Pindah ke dalam folder aplikasi PHP dengan mengetikkan perintah

cd php-[versi aplikasi]/

Compile aplikasi dengan mengetikkan perintah

./configure –with-apxs2=/usr/local/apache2/bin/apxs –enable-debug –with-zlib-dir=/usr/ local/lib –enable-dba –enable-dbase –with-regex –with-pear –with- oci8=instantclient,/usr/lib/oracle/11.1.0.1/client/lib/

make

make install

Jika Anda terhubung ke database Oracle Anda harus mendefinisikan service dalam file yang bernama tnsnames.ora. Buat file tnsnames.ora di direktori /etc/

Contoh tnsnames.ora :

ORCL =

(DESCRIPTION =

(ADDRESS_LIST =

(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.1)(PORT = 1521))

)

(CONNECT_DATA =

(SID = ORCL)

(SERVER = DEDICATED)

)

)

 

Setting variabel TNS_ADMIN untuk mencari variabel tnsnames.ora :

export TNS_ADMIN=/etc/

dan tambah baris diatas pada /etc/rc.local
Done

Share on Facebook
Posted in Linux, Oracle, php | Tagged , , , , , | 2 Comments

Install Oracle Database 11g R1 di RHEL 5

Sumber :

http://www.oracle.com/technology/pub/articles/smiley-11gr1-install.html
http://www.sqlplex.com/articles/oracle/installation/installing-oracle-database-11g.html
http://rattyboy.wordpress.com/2008/07/09/encrypted-rsync-with-centos-5-rhel-5-fuse-sshfs-and-duplicity/
http://www.oracle-base.com/articles/linux/AutomatingDatabaseStartupAndShutdownOnLinux.php#the_rsh_command
http://ifrozi.wordpress.com/2008/05/

Setting Public Key
[root@rocat /]# ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/root/.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_dsa.
Your public key has been saved in /root/.ssh/id_dsa.pub.
The key fingerprint is:
e9:44:24:20:dc:6a:1b:5e:6a:73:58:ca:5e:3e:35:fd root@testbox

Install Library yang dibutuhkan :
* elfutils-libelf-devel-0.125-3.el5
rpm -ivh elfutils-libelf-devel-0.125-3.el5.i386.rpm elfutils-libelf-devel-static-0.125-3.el5.i386.rpm
* compat-libstdc++-33-3.2.3-61
* elfutils-libelf-0.125-3.el5
* glibc-2.5-12
* glibc-devel-2.5-12
* glibc-common-2.5-12
* gcc-4.1.1-52.el5
* gcc-c++-4.1.1-52.el5
* libgcc-4.1.1-52.el5
* libaio-0.3.106-3.2
* libaio-devel-0.3.106-3.2
* libstdc++-4.1.1-52.el5
* libstdc++-devel-4.1.1-52.el5
* unixODBC-2.2.11-7.1
* unixODBC-devel-2.2.11-7.1
* sysstat-7.0.0-3.el5
* binutils-2.17.50.0.6-2.el5
* make-3.81-1.1

Setting User dan Group :
[root@rocat /]# /usr/sbin/groupadd oinstall
[root@rocat /]# /usr/sbin/groupadd dba
[root@rocat /]# /usr/sbin/useradd -m -g oinstall -G dba oracle
[root@rocat /]# passwd oracle

Pembuatan direktori dan hak akses :
[root@rocat /]# mkdir -p /u01/app/oracle
[root@rocat /]# chown -R oracle:oinstall /u01/app
[root@rocat /]# chmod -R 775 /u01/app

Setting Kernel :
[root@rocat /]# cat >> /etc/sysctl.conf <<EOF
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default=262144
> kernel.shmmni = 4096
> kernel.sem = 250 32000 100 128
> fs.file-max = 65536
> net.ipv4.ip_local_port_range = 1024 65000
> net.core.rmem_default=4194304
> net.core.wmem_default=262144
> net.core.rmem_max=4194304
> net.core.wmem_max=262144
> EOF

[root@rocat /]# /sbin/sysctl -p

Minimum Kernel
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default=4194304
net.core.wmem_default=262144
net.core.rmem_max=4194304
net.core.wmem_max=262144

Install Oracle :

* Login sebagai User oracle

* [root@rocat /]# ./runInstaller

Start Oracle automatically :

Setting oratab
/etc/oratab : SID:ORACLE_HOME:Y

Setting /etc/init.d/dbora
#########################################################
#!/bin/sh
# chkconfig: 345 99 10
# description: Oracle auto start-stop script.
#
# Set ORA_HOME to be equivalent to the $ORACLE_HOME
# from which you wish to execute dbstart and dbshut;
#
# Set ORA_OWNER to the user id of the owner of the
# Oracle database in ORA_HOME.

#ORA_HOME=/u01/app/oracle/product/10.2.0/db_1
ORA_HOME=/u01/app/oracle/product/11.1.0/db_1
ORA_OWNER=oracle

if [ ! -f $ORA_HOME/bin/dbstart ]
then
echo “Oracle startup: cannot start”
exit
fi

case “$1? in
’start’)
# Start the Oracle databases:
# The following command assumes that the oracle login
# will not prompt the user for any values
su – $ORA_OWNER -c “$ORA_HOME/bin/dbstart $ORA_HOME”
;;
’stop’)
# Stop the Oracle databases:
# The following command assumes that the oracle login
# will not prompt the user for any values
su – $ORA_OWNER -c “$ORA_HOME/bin/dbshut $ORA_HOME”
;;
esac

#########################################################

[root@rocat /]# chmod 750 /etc/init.d/dbora
[root@rocat /]# chkconfig –level 345 dbora on

Start Oracle
[root@rocat /]# $ORACLE_HOME/bin/lsnrctl start
[root@rocat /]# $ORACLE_HOME/bin/dbstart

Kalau masih masalah, tambahkan aja skrip dibawah ke /etc/rc.local
/etc/rc.local
export ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1/
$ORACLE_HOME/bin/lsnrctl start
/etc/init.d/dbora start

Share on Facebook
Posted in Linux, Oracle | Tagged , , | Leave a comment

MapServer with fist-mapping template

Template MapServer yang satu sudah tidak di develop lagi oleh pembuatnya.

Situsnya pun kini menghilang, padahal template yang satu ini sangat bagus untuk para user yang menginginkan untuk bisa mendigit, mengedit dan menghapus data secara live di web dengan menggunakan data dari database PostgreSQL maupun Oracle.

Langkah untuk menginstall bisa dibaca di folder docs nya FIST, berikut step stepnya :

1. Installing MS4W
* Unzip ms4w di c:
* Double click file di c:ms4wapache-install.bat file.
2. Konfigurasi MS4W untukFIST
* Buka file c:ms4wApacheconfhttpd.conf dan tambah file di bawah ini :
# set the FIST document root
Alias /fist/ “/ms4w/apps/fist/htdocs/”
<Directory “/ms4w/apps/fist/htdocs/”>
AllowOverride None
Options none
Order allow,deny
Allow from all
</Directory>
* PDFlib tidak dicompile dengan PHP di versi MS4W ini, jadi tugas di bawah diperlukan :
download file php_pdf.dll (php-5.2.1) dari http://pecl4win.php.net/ext.php/php_pdf.dll
tempatkan file php_pdf.dll di direktori C:ms4wApachephpext
* Buka file c:ms4wApachecgi-binphp.ini dan uncomment/tambah baris berikut :
extension=php_gd2.dll
extension=php_pdf.dll
extension=php_pgsql.dll
* Buka file c:ms4wApachecgi-binphp.ini dan modifikasi baris berikut :
display_errors=Off
log_errors=On
* Double klik file c:ms4wapache-restart.bat.

3. Install FIST
* Unzip fist ke c:ms4wapps
* Buat direktori c:temp , dimana error log FIST dibuat.
* Buka FIST-Admin di browser dan login (username dan password adalah ‘default’). Langkah ini mengkonfigurasi dan mengecek installasi:
http://localhost/fist/fist-Admin/
* Buka contoh sites FIST di browser :
http://localhost/fist/fistMain.php?site=example_world_win
http://localhost/fist/fistMain.php?site=example_bc_win

4. Settingan config untuk localhost, ini aku tulis karena aku sering kesulitan saat menginstall di localhost pada windows vista

user-config

<!DOCTYPE user-config SYSTEM “c:/ms4w/apps/fist/htdocs//user-config.dtd”>

map-service-config

<!DOCTYPE map-service-config SYSTEM “c:/ms4w/apps/fist/htdocs/map-service-config.dtd”>
<map-service-config>

<web-options>
<url-root>http://localhost/fist/</url-root>
<system-root>c:/ms4w/apps/fist/</system-root>
</web-options>

layer-config

<!DOCTYPE layer-config SYSTEM “d:/ms4w/apps/fist/htdocs/layer-config.dtd”>

site-config

<!DOCTYPE site-config SYSTEM “d:/ms4w/apps/fist/htdocs/site-config.dtd”>

fist/htdocs/.session-config-template

<!DOCTYPE session-config SYSTEM “http://localhost/fist//session-config.dtd”>

Share on Facebook
Posted in GIS, MapServer, Web GIS | Tagged , , | 4 Comments

Surat Pengunduran diri Kerja

[scribd id=8100093 key=key-ei26hcz5c5hmwv6eo5z mode=list]

Share on Facebook
Posted in My Live, Uncategorized | Tagged , | Leave a comment

Bikin Trigger untuk Insert/Update the_geom

Apabila kita mempunyai Layer yang bertipe point, maka kita bisa menambahkan/mengupdate point tersebut dalam database PostgreSQL.

Misal kita mempunyai tabel map_point yang mempunyai field2 sebagai berikut:

TABLE map_point
(
id character varying(254),
nama character varying(254),
x numeric,
y numeric,
the_geom geometry,
)

dimana x dan y adalah koordinat titik tersebut dan the_geom adalah koordinat dalam format PostGIS.

Kita bisa menambah/mengupdate titik tersebut tanpa menyentuh field the_geom dengan membuat Trigger.

Pertama kita membuat function yang bernama map_point_change(), seperti dibawah ini :

CREATE OR REPLACE Function map_point_change() RETURNS TRIGGER AS

$$
DECLARE
the_geom_insert text;
the_geom_update text;

BEGIN
IF (TG_OP = ‘INSERT’) THEN
the_geom_insert = PointFromText(’POINT (’|| new.x || ‘ ‘ || new.y ||’)’, 4326);
UPDATE map_point SET the_geom = the_geom_insert;

ELSIF (TG_OP = ‘UPDATE’) THEN
IF new.x <> old.x OR new.y <> old.y THEN
the_geom_update = PointFromText(’POINT (’|| new.x || ‘ ‘ || new.y ||’)’, 4326);
UPDATE map_point SET the_geom = the_geom_update;

END IF;
RETURN NEW;
END IF;
RETURN NEW;
END;
$$
LANGUAGE ‘plpgsql’;

Lalu buat Trigger seperti dibawah ini :

CREATE TRIGGER map_point_change
AFTER INSERT OR UPDATE
ON map_point FOR EACH ROW
EXECUTE PROCEDURE map_point_change();

Share on Facebook
Posted in GIS, PostgreSQL | Tagged , | 4 Comments

ArcGIS 10 Desktop, Server, ArcSDE Crack

 

HOW TO FOR APPLY LICENSE
1. Install license manager

2. Update to the latest version (Licence manager SP 1)

3. add the license , put on service.txt insine license/bin folder (dont forget to change the this_host on the license into your PC name)

4. RESTART

5. open LSAdmin

6. Check the license in Diagnostic , it must said RUNNING

7. Close the LSAdmin and then go to ArcGIS Administrator

8. Check on Arcinfo Concurrent License

9. After that you will see the toogle for ArcGIS License manager activated (left bottom)

10. fill the license manager with localhost

11. press OK and you can see the available license will loading and show the all license

12. close the Arcgis Administrator and ENJOYYYYYYYYYYYYYY [/quote]

thanx to ENDEST, IROGO, and all LAVTeam member  :grin:enjoy, :kiss:

Share on Facebook
Posted in ArcGIS, GIS, GIS-Linux, Web GIS | Tagged , , | 35 Comments

ArcGIS 10 : Internet Explorer 8 (IE8) compatibility

Permasalahan yang terjadi ketika menjalankan Aplikasi Web Map ArcGIS 10 adalah pada waktu dijalankan pada browser Internet Explorer 8.

Permasalahan yang tejadi adalah toolbarnya menjadi bergeser ke bawah.

Hal ini disebabkan ArcGIS 10 web tidak kompatibel dengan IE8. Hal ini menyebabkan munculnya ikon Compability View pada IE 8, yaitu berada pada sebelah kiri tombol Refresh.

Agar ArcGIS 10 dapat menjalankan pada browser IE8, maka pada Default.aspx perlu ditambahkan line berikut :

<meta http-equiv="X-UA-Compatible" content="IE=7" />
Share on Facebook
Posted in ArcGIS, GIS, Web GIS | Tagged , , , | Leave a comment

Compile MapServer

1. Pendahuluan

Persyaratan software yang dibutuhkan :

Database spatial PostgreSQL/PostGIS

Apache

Php

MapServer


2. Instalasi software yang dibutuhkan


Database spatial PostgreSQL/PostGIS

PostGIS (http://postgis.refractions.net)

PostGIS merupakan plugin untuk database PostgreSQL yang berfungsi untuk menyimpan dan melakukan analisis data geospasial. Fungsi dan kegunaannya sama dengan SDE (Spatial Data Engine) ESRI dan Oracle Spasial.

Untuk menginstall database PostgreSQL/PostGIS terlebih dahulu kita harus mengcompile komponen pendukungnya yaitu : PROJ dan GEOS.

Proj

Proj4 (http://proj.maptools.org) – Cartographic Projections Library

Library untuk proyeksi peta, menyediakan lebih dari 100 macam proyeksi.

Geos

GEOS (http://geos.refractions.net) – Geometry Engine Open source

Library untuk topology data vektor.

Compile Proj

Buka console/terminal untuk memulai installasi

Pindah ke direktori dimana file aplikasi disimpan

Ekstract file PROJ dengan mengetikkan

tar -xvf proj-[versi aplikasi].tar.gz

Pindah ke dalam folder aplikasi proj dengan mengetikkan perintah

cd  proj-[versi aplikasi]/

Compile aplikasi dengan mengetikkan perintah

./configure

make

make install

Compile Geos

Buka console/terminal untuk memulai installasi

Pindah ke direktori dimana file aplikasi disimpan

Ekstract file Geos dengan mengetikkan

tar -xvf geos-[versi aplikasi].tar.gz

Pindah ke dalam folder aplikasi Geos dengan mengetikkan perintah

cd  geos-[versi aplikasi]/

Compile aplikasi dengan mengetikkan perintah

./configure

make

make install

Tambahkan baris /usr/local/lib pada file /etc/ld.so.conf

/sbin/ldconfig

Compile PostgreSQL

Buka console/terminal untuk memulai installasi

Pindah ke direktori dimana file aplikasi disimpan

Ekstract file PostgreSQL dengan mengetikkan

tar -xvf postgresql-[versi aplikasi].tar.gz

Pindah ke dalam folder aplikasi PostgreSQL dengan mengetikkan perintah

cd  postgresql-[versi aplikasi]/

Compile aplikasi dengan mengetikkan perintah

./configure
gmake
su
gmake install
adduser postgres
mkdir /usr/local/pgsql/data
chown postgres /usr/local/pgsql/data
su – postgres
/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
/usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data >logfile 2>&1 &
/usr/local/pgsql/bin/createdb test
/usr/local/pgsql/bin/psql test

/usr/local/pgsql/bin/pg_ctl start -l logfile -D /usr/local/pgsql/data

createlang plpgsql [yourdatabase]
psql -d [yourdatabase] -f lwpostgis.sql
psql -d [yourdatabase] -f spatial_ref_sys.sql

3. Instalasi MapServer

MapServer

MapServer merupakan aplikasi pemetaan online (web-mapping) yang cukup populer. Dikembangkan oleh Universitas Minnesota dan didukung oleh NASA dan Departemen Sumber Daya Alam Minnesota (Minnesota Department of Natural Resources).

Sebelum menginstall aplikasi MapServer, terlebih dahulu kita harus menginstall web server Apache dan bahasa pemrograman php.


Apache

Apache adalah server web yang dapat dijalankan di banyak sistem operasi (Unix, BSD, Linux, Microsoft Windows dan Novell Netware serta platform lainnya) yang berguna untuk             melayani dan memfungsikan situs web. Protokol yang digunakan untuk melayani fasilitas web/www ini mengunakan HTTP.

Buka console/terminal untuk memulai installasi

Pindah ke direktori dimana file aplikasi disimpan

Ekstract file Apache dengan mengetikkan

tar -xvf httpd-[versi aplikasi].tar.gz

Pindah ke dalam folder aplikasi Apache dengan mengetikkan perintah

cd  httpd-[versi aplikasi]/

Compile aplikasi dengan mengetikkan perintah

./configure –enable-so

make

make install

Php

Buka console/terminal untuk memulai installasi

Pindah ke direktori dimana file aplikasi disimpan

Ekstract file php dengan mengetikkan

tar -xvf php-[versi aplikasi].tar.gz

Pindah ke dalam folder aplikasi php dengan mengetikkan perintah

cd  php-[versi aplikasi]/

Compile aplikasi dengan mengetikkan perintah

./configure –with-apxs2=/usr/local/apache2/bin/apxs –with-png-dir=/usr/local/bin –       with-freetype-dir=/usr/local/bin –with-gd=/usr/local –with-zlib-dir=/usr/local/lib –with-curl=/usr/local/bin –with-libxml-dir=/usr/local/lib –-with-pgsql=/usr/local/pgsql/bin/pg_config –with-gettext=/usr/local/bin –enable-dbase –with-oci8=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server –with-iconv-dir=/usr/local/bin –enable-soap

make

make install

cp php.ini-dist /usr/local/lib/php.ini

Tambahkan baris berikut pada file httpd.conf

LoadModule php5_module modules/libphp5.so

AddType application/x-httpd-php .php .phtml

AddType application/x-httpd-php-source .phps

Jalankan Apache dengan mengetikkan :

/usr/local/apache2/bin/apachectl start

Untuk menginstall aplikasi MapServer, kita memerlukan beberapa komponen pembentuk MapServer, diantaranya :

1. libpng (http://www.libpng.org/pub/png/libpng.html)

Merupakan library yang digunakan untuk baca/tulis gambar dalam format PNG.

2. freetype (http://www.freetype.org/)

Merupakan library yang digunakan MapServer untuk menampilkan tulisan menggunakan font TrueType.

3. GD (http://libgd.org)

Digunakan MapServer untuk menggambar objek geografis seperti garis, poligon atau          bentuk geometris lain. GD juga dapat digunakan untuk menghasilkan gambar dalam               format PNG, JPEG, selain menggunakan libpng atau libjpeg secara langsung.

4. zlib (http://www.gzip.org/zlib/)

Dibutuhkan oleh library GD untuk keperluan kompresi data gambar.

5. libproj (http://trac.osgeo.org/proj/)

Library untuk proyeksi peta, menyediakan lebih dari 100 macam proyeksi

6. libcurl (http://curl.haxx.se/)

Merupakan library untuk mensupport client dan server OGC (WFS/WMS/WCS).


7. GDAL/OGR (http://www.gdal.org/)

Library untuk membaca dan menulis data raster (GDAL) dan data vektor(OGR). GDAL dan OGR banyak digunakan pada aplikasi GIS dan penginderaan jauh dan bahkan pada aplikasi komersial

8. libtiff (http://www.libtiff.org/)

Merupakan library untuk membaca format file TIFF (Tagged Image File Format)

9. libgeotiff (http://www.remotesensing.org/geotiff/geotiff.html)

Merupakan library untuk membaca format file GeoTIFF (file TIFF dengan referensi geografis).

10. libjpeg (http://www.ijg.org/)

Merupakan library yang digunakan untuk baca/tulis gambar dalam format JPG/JPEG


11. GEOS

Library untuk topology data vektor.

12. libxml (http://xmlsoft.org/)

libxml diperlukan untuk menggunakan OGC SOS

13. SDE Client Library

client library untuk support koneksi data ArcSDE.


14. Oracle Spatial OCI

client library untuk koneksi database Oracle.

15. libpq

Merupakan library yang diperlukan untuk mensupport data PostGIS dari database PostgreSQL


16. pdflib (lite)

Library untuk menghasilkan output PDF.

17. libming (http://ming.sourceforge.net/)

Library untuk menghasilkan output Macromedia Flash.


Compile seluruh library diatas tersebut dengan langkah-langkah :

Buka console/terminal untuk memulai installasi

Pindah ke direktori dimana file aplikasi disimpan

Ekstract file library dengan mengetikkan

tar -xvf library-[versi aplikasi].tar.gz

Pindah ke dalam folder aplikasi library dengan mengetikkan perintah

cd  library-[versi aplikasi]/

Compile aplikasi dengan mengetikkan perintah

./configure

make

make install

Compile MapServer

Buka console/terminal untuk memulai installasi

Pindah ke direktori dimana file aplikasi disimpan

Ekstract file mapserver dengan mengetikkan

tar -xvf mapserver-[versi aplikasi].tar.gz

Pindah ke dalam folder aplikasi proj dengan mengetikkan perintah

cd  mapserver-[versi aplikasi]/

Compile aplikasi dengan mengetikkan perintah

./configure –with-ogr=/usr/local/bin/gdal-config –with-gdal=/usr/local/bin/gdal-config –with-httpd=/usr/local/apache2/bin/httpd –with-wfsclient –with-wmsclient –enable-debug –with-curl-config=/usr/local/bin/curl-config –with-proj=/usr/local/ –with-tiff –with-gd=/usr/local –with-jpeg –with-freetype=/usr/local/bin –with-wcs –with-postgis=/usr/local/pgsql/bin/pg_config –with-geos=/usr/local/bin/geos-config –with-xml2-config=/usr/local/bin/xml2-config –with-sos –with-php=/media/hda6/download/php-5.2.3  –with-sde=/usr/arcsde/sdeexe83 –with-sde-version=83 –with-oraclespatial=$ORACLE_HOME

make

cp mapscript/php3/php_mapscript.so /usr/local/lib/php/ext/

Tambahkan baris berikut pada php.ini

extension=php_mapscript.so

Share on Facebook
Posted in GIS, GIS-Linux, MapServer, Ubuntu, Web GIS | Tagged , , , , | Leave a comment

Ganti password user, error ArcGIS Server

Seting ArcGIS identity menggunakan Visual Studio

Pendekatan termudah untuk seting identity adalah dengan menggunakan Visual Studio context menu yang ditambahkan dan dikonfigurasikan ketika Web ADF diinstall. Untuk menggunakan pendekatan ini :

  1. Menggunakan Visual Studio, buka website pada Web server.
  2. Klik-kanan nama web application dalam Solution Explorer dan pilih Add ArcGIS Identity.
  3. Masukan username baru, password dan nama machine atau domain. Pastikan bahwa check-box untuk encrypting the credentials enabled. Lalu klik. Simpan file web.config.
  4. Verifikasi bahwa identity tag telah di update di web.config.
Share on Facebook
Posted in ArcGIS, GIS, Web GIS | Tagged , , | Leave a comment

Upgrade Ubuntu Edgy to Feisty

Upgrading Ubuntu Edgy to Ubuntu Feisty

Method 1 – Using GUI

If you want to upgrade using GUI use the following command

gksu “update-manager -c -d”

The “-d” switch instructs Update Manager to consider pre-release versions and “-c” switch tells it to look for upgrades at all.

You should see the following screen here Now you can see 7.04 is available for upgrade click on upgrade

Now you should see the release notes as follows here you need to click on upgrade

Once you click on upgrade you might get the error “Authentication failed”

You need to fix the above error for this open the terminal and type the “gpg” and press enter once you see the following message

gpg:Go ahead and type your message …

Press Ctrl+C and then start the install process again.

Now you should see the following screen downloading upgrade tool

You need to enter root password and click ok

Preparing the upgrade in progress

You need to confirm the upgrade process by clicking “Start Upgrade”

Download in progress for all the required packages for Upgrade

Installation in progress

If you click on Terminal to see detailed installation in progress

Cleaning Up is in Progress

You need to restart the system to complete the Upgrade by clicking “Restart Now”

Method 2 – Using apt-get

Edit your /etc/apt/sources.list as root. Change every occurrence of edgy to feisty.

Use any prefered editor. If you have a CD-ROM line in your file, then remove it.

sudo vi /etc/apt/sources.list

or

use the following Simple command

sudo sed -e ’s/edgy/feisty/g’ -i /etc/apt/sources.list

Now you need to update the source list using the following command

sudo apt-get update

Upgrade using the following command

sudo apt-get dist-upgrade

Double check your process was finished properly using the following commd

sudo apt-get -f install

sudo dpkg --configure -a

Now you need to Reboot your machine to take your new ubuntu 7.04 installation to effect all changes.

Testing Your Upgrade

You can check the ubuntu version installed using the following command

sudo lsb_release -a

Output Looks like below

Distributor ID: Ubuntu
Description: Ubuntu feisty (development branch)
Release: 7.04
Codename: feisty

or

Just type the following command in your terminal

cat /etc/issue

Output Lokks like below

Ubuntu feisty (development branch) n l

source : http://www.ubuntugeek.com/upgrade-ubuntu-610-edgy-eft-to-ubuntu-704-feisty-fawn.html

Share on Facebook
Posted in Ubuntu | Tagged , , , | Leave a comment