ArcGIS Portal 11.4 #7

Open
opened 10 months ago by byprakoso · 0 comments
Owner

Install & Config ArcGIS Portal

1.pastikan file Portal_for_ArcGIS_Linux_114_192978.tar.gz sudah ada di /home/geonet/Documnets

1.pastikan file instalasi arcgisportal.zip sudah ada dalam direktori dokumen

2.extract file instalasi Portal_for_ArcGIS. pastikan masuk sebagai user geonet.masuk ke /home/geonet/Documents

masukan command berikut untuk extract

tar -xzvf Portal_for_ArcGIS_Linux_114_192978.tar.gz

2.masuk sebagai user geonet lalu extract file instalasi arcgisportal

3.jika sudah terextract dengan benar pada direktori documents akan ada PortalForArcGIS,cd PortalForArcGIS lalu jalankan ./Setup.sh dan proses instalasi akan berjalan.

3.pastikan file sudah terextract dengan benar,pada direktori dokumen akan muncul portalforarcgis,masuk ke direktori tdb dan jalankan .setup.sh

4.proses instalasi

4.berikut adalah tampilan saat instalasi sedang berjalan,klik enter unutk melanjutkan sampai instlasi selessai

pilih Y untuk menyetujui agreement

5.pilih Y unutk menyetujui agreement

pada instalation path bairkan default

6.unutk path instalasi biarkan default

instalasi selesai dan kita diarahkan untuk mengakses portal https://lcoalhost:7443/arcgis/home unutk melakukan config lanjutan

7.instalasi selesai,disini kita sudah bisa membuka portal arcgis. akan ada beberapa hal yang akan kita config agar portal arcgis daapt berjalan

5.sebelum membuka portal,ubah dan copy arcgis.war menjadi portal.war.

masuk ke direktoricd /opt/tomcat/arcgis/webadaptor11.4/java/

input command

sudo cp arcgis.war /opt/tomcat/webapps/portal.war

masuk ke webapadtor copy dan rename arcgis.war menjadi portal.war,setelah itu masuk ke direktori webapps kemudian pastikan bahwa portal.war sudah ada

pastikan portal.war sudah ada di /opt/tomcat/webapps/

input command sudo chown -R tomcat:tomcat portal.war agar portal.war dapat diekseskusi oleh tomcat

6.create new portal

masuk ke https://localhost:7443/arcgis/home lalu pilih create new portal

masuk ke localhost 7443 lalu klik create new portal

select license.json,pastikan sudah ada file license untuk ArcGIS Portal. file license terdapat di /home/geonet/documents. klik browse dan pilih license yg sudaha ada

masukan file json yang sudah kita simpan pada documents geonet

membuat account untuk administrator & additional account

create admin account

additional acc information

configuration summary,lalu klik create untuk melanjutkan proses create

config summary

tampilan saat akun berhasil di created

8.setup portal for arcgis

setelah account unutk portal berhasil di created masuk ke https://localhost/portal/webdaptor/ pilih portal for arcgis

buka localhost.portal.webadaptor pilih portal for acrgis

9.config portal webadaptor

jika config yang dilakukan banar,portal webadaptor akan terbuka dan akan meminta portal name,admin username dan password

input

https://localhost:7443/

pada portal name masukan domain portal yang sudah kita config pda awal install

10.config portal webadaptor via command line

config melalui command line denganconfigurewebadaptor.sh masuk kecd /homne/geonet/arcgis/webadaptor11.4/java/tools

jalankan perintah ini padaconfigurawebadaptor.sh:

./configurewebadaptor.sh -m portal -w https://local.gisportal.id/portal/webadaptor -g https://local.gisportal.id:7443 -u adminportal -p' admin.123' -a true

saat terjadi error pada proses configure masuk ke:

cd /arcgis/portal/usr/arcgisportal/logs/local/portal

kemudian:

ls -ltr

lihat log file secara real time

tail -f portal-20250827.085821-153868-0.0.log

dari log file tsb kita bisa melihat error yang terjadi serta perhatikan webadaptor name dan credential.

11.tampilan akhir portal

berikut tampilan localhost portal saat sudah selesai di config

Post Instalation

service lifecycle management

masuk ke file instalasi arcgisportal cd /home/geonet/arcgis/portal/framework/etc/arcgisportal.servicepastikan ada arcgisportal.service

image

copy file arcgisportal.service ke /etc/systemd/system/
copy command:

sudo cp arcgisportal.service /etc/systemd/system/

image

ubah permission arcgisportal.service yang sudah tersimpan pada /etc/systemd/system. pastikan permissionya menjadi rw------- agar dapt dieksekusi

chmod 600 arcgisportal.service

image

untuk membuat links otomatis di dalam /etc/systemd/system/multi-user.target.wants jalankan command di bawah ini:

systemctl enable arcgisportal.service

Dengan menambahkan /bin/bash di depan perintah, Anda secara eksplisit memberitahu systemd untuk menggunakan interpreter Bash untuk menjalankan skrip Anda. Hal ini penting jika skrip Anda tidak memiliki shebang (#!/bin/bash) atau tidak memiliki izin untuk dijalankan secara langsung (tidak executable).

masuk ke file arcgisportal.service:

sudo nano /etc/systemd/system/arcgisportal.service

update file seperti berikut:

[Unit]
Description=Portal for ArcGIS Service
After=network.target

[Service]
Type=forking
User=geonet
GuessMainPID=false
LimitNOFILE=65535
Restart=on-failure
# To prevent any one service from spawning too many threads and consuming all
# server resources, systemd v228 and beyond included in SLES12 SP2 and higher
# set the maximum number of threads to be created at 512.  Users on SLES12 may
# need to enable and raise this limit if it is a heavily used system.  Use
# "systemctl show --property DefaultTasksMax" to check the current value.   To
# find the version of systemd, use "systemctl --version".
# TasksMax=512

ExecStart=/bin/bash /home/geonet/arcgis/portal/startportal.sh
ExecStop=/bin/bash /home/geonet/arcgis/portal/stopportal.sh

[Install]
WantedBy=multi-user.target

Lalu reload daemon dan start ulang servicenya:

systemctl daemon-reload

systemctl enable arcgisportal.service

untuk memastikan servide systemd berjalan jalankan command berikut:

systemctl stop arcgisportal.service
systemctl start arcgisportal.service
systemctl start arcgisportal.service

service management pada arcgis portal berhasil berjalan

image

# Install & Config ArcGIS Portal ## 1.pastikan file Portal_for_ArcGIS_Linux_114_192978.tar.gz sudah ada di /home/geonet/Documnets ![1.pastikan file instalasi arcgisportal.zip sudah ada dalam direktori dokumen](/attachments/b04aec50-b70c-42a9-a2e0-f20264ebec72) ## 2.extract file instalasi Portal_for_ArcGIS. pastikan masuk sebagai user geonet.masuk ke ``/home/geonet/Documents`` masukan command berikut untuk extract ``` tar -xzvf Portal_for_ArcGIS_Linux_114_192978.tar.gz ``` ![2.masuk sebagai user geonet lalu extract file instalasi arcgisportal](/attachments/fdfdcc10-a426-4c28-b65f-fd0150e07c11) ## 3.jika sudah terextract dengan benar pada direktori documents akan ada PortalForArcGIS,``cd PortalForArcGIS`` lalu jalankan ``./Setup.sh`` dan proses instalasi akan berjalan. ![3.pastikan file sudah terextract dengan benar,pada direktori dokumen akan muncul portalforarcgis,masuk ke direktori tdb dan jalankan .setup.sh](/attachments/69814ede-250d-48cc-a772-2fa33dead2ed) ## 4.proses instalasi ![4.berikut adalah tampilan saat instalasi sedang berjalan,klik enter unutk melanjutkan sampai instlasi selessai](/attachments/111a2143-8c45-481c-be2a-a557530d76b1) pilih Y untuk menyetujui agreement ![5.pilih Y unutk menyetujui agreement](/attachments/e17f2bf0-2f41-47a3-838d-7beec8eb9fab) pada instalation path bairkan default ![6.unutk path instalasi biarkan default](/attachments/937acb27-7555-4863-9625-28580769ac10) instalasi selesai dan kita diarahkan untuk mengakses portal ``https://lcoalhost:7443/arcgis/home`` unutk melakukan config lanjutan ![7.instalasi selesai,disini kita sudah bisa membuka portal arcgis. akan ada beberapa hal yang akan kita config agar portal arcgis daapt berjalan](/attachments/34e8c023-8271-4882-8aa0-47ebf028b021) ## 5.sebelum membuka portal,ubah dan copy arcgis.war menjadi portal.war. masuk ke direktori``cd /opt/tomcat/arcgis/webadaptor11.4/java/`` input command ``` sudo cp arcgis.war /opt/tomcat/webapps/portal.war ``` ![masuk ke webapadtor copy dan rename arcgis.war menjadi portal.war,setelah itu masuk ke direktori webapps kemudian pastikan bahwa portal.war sudah ada](/attachments/f5241659-52a8-49a2-8477-f52509e17455) pastikan portal.war sudah ada di ``/opt/tomcat/webapps/`` input command ``` sudo chown -R tomcat:tomcat portal.war``` agar portal.war dapat diekseskusi oleh tomcat ## 6.create new portal masuk ke ``https://localhost:7443/arcgis/home`` lalu pilih create new portal ![masuk ke localhost 7443 lalu klik create new portal](/attachments/38908629-9b59-4d2c-8bd8-7cd9d117e5f0) select license.json,pastikan sudah ada file license untuk ArcGIS Portal. file license terdapat di /home/geonet/documents. klik browse dan pilih license yg sudaha ada ![masukan file json yang sudah kita simpan pada documents geonet](/attachments/027579d9-2e74-422a-b2ca-86ecaf7d263d) membuat account untuk administrator & additional account ![create admin account](/attachments/5797348d-19f3-4693-8e6b-2cda58bcf42e) ![additional acc information](/attachments/58d139b5-9b2b-406d-9649-7ecb5724e2bd) configuration summary,lalu klik create untuk melanjutkan proses create ![config summary](/attachments/c522b0c9-f661-45b9-b4e4-607bf93c588a) ![tampilan saat akun berhasil di created](/attachments/b46cb3ed-69e2-4353-8b41-ad74b6f03427) ## 8.setup portal for arcgis setelah account unutk portal berhasil di created masuk ke ``https://localhost/portal/webdaptor/`` pilih portal for arcgis ![buka localhost.portal.webadaptor pilih portal for acrgis](/attachments/bff061a8-f6ee-43d5-bc59-94bd9c9536bd) ## 9.config portal webadaptor jika config yang dilakukan banar,portal webadaptor akan terbuka dan akan meminta portal name,admin username dan password input ``` https://localhost:7443/ ``` ![pada portal name masukan domain portal yang sudah kita config pda awal install](/attachments/6eca465f-1c3a-4ac7-b1d5-fd862f4f49d7) ## 10.config portal webadaptor via command line config melalui command line dengan``configurewebadaptor.sh`` masuk ke``cd /homne/geonet/arcgis/webadaptor11.4/java/tools`` jalankan perintah ini pada``configurawebadaptor.sh``: ``` ./configurewebadaptor.sh -m portal -w https://local.gisportal.id/portal/webadaptor -g https://local.gisportal.id:7443 -u adminportal -p' admin.123' -a true ``` saat terjadi error pada proses configure masuk ke: ``` cd /arcgis/portal/usr/arcgisportal/logs/local/portal ``` kemudian: ``` ls -ltr ``` lihat log file secara real time ``` tail -f portal-20250827.085821-153868-0.0.log ``` dari log file tsb kita bisa melihat error yang terjadi serta perhatikan webadaptor name dan credential. ## 11.tampilan akhir portal ![berikut tampilan localhost portal saat sudah selesai di config](/attachments/7d65a141-1033-450b-adf4-c06043004f0b) ## Post Instalation ### service lifecycle management masuk ke file instalasi arcgisportal ``cd /home/geonet/arcgis/portal/framework/etc/arcgisportal.service``pastikan ada arcgisportal.service ![image](/attachments/a3333e8b-80d5-4162-a09e-0904839ebbc9) copy file arcgisportal.service ke ``/etc/systemd/system/`` copy command: ``` sudo cp arcgisportal.service /etc/systemd/system/ ``` ![image](/attachments/fa84132a-035b-4554-9a9a-31d257ea83d4) ubah permission arcgisportal.service yang sudah tersimpan pada /etc/systemd/system. pastikan permissionya menjadi rw------- agar dapt dieksekusi ``` chmod 600 arcgisportal.service ``` ![image](/attachments/fa86730b-5314-411d-ad73-cbbb12adde1a) untuk membuat links otomatis di dalam ``/etc/systemd/system/multi-user.target.wants`` jalankan command di bawah ini: ``` systemctl enable arcgisportal.service ``` Dengan menambahkan /bin/bash di depan perintah, Anda secara eksplisit memberitahu systemd untuk menggunakan interpreter Bash untuk menjalankan skrip Anda. Hal ini penting jika skrip Anda tidak memiliki shebang (#!/bin/bash) atau tidak memiliki izin untuk dijalankan secara langsung (tidak executable). masuk ke file arcgisportal.service: ``` sudo nano /etc/systemd/system/arcgisportal.service ``` update file seperti berikut: ``` [Unit] Description=Portal for ArcGIS Service After=network.target [Service] Type=forking User=geonet GuessMainPID=false LimitNOFILE=65535 Restart=on-failure # To prevent any one service from spawning too many threads and consuming all # server resources, systemd v228 and beyond included in SLES12 SP2 and higher # set the maximum number of threads to be created at 512. Users on SLES12 may # need to enable and raise this limit if it is a heavily used system. Use # "systemctl show --property DefaultTasksMax" to check the current value. To # find the version of systemd, use "systemctl --version". # TasksMax=512 ExecStart=/bin/bash /home/geonet/arcgis/portal/startportal.sh ExecStop=/bin/bash /home/geonet/arcgis/portal/stopportal.sh [Install] WantedBy=multi-user.target ``` Lalu reload daemon dan start ulang servicenya: ``` systemctl daemon-reload systemctl enable arcgisportal.service ``` untuk memastikan servide systemd berjalan jalankan command berikut: ``` systemctl stop arcgisportal.service ``` ``` systemctl start arcgisportal.service ``` ``` systemctl start arcgisportal.service ``` ### service management pada arcgis portal berhasil berjalan ![image](/attachments/dc845e6c-3e44-426d-ba1d-447fdeb21e55)
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.