SlideShare uma empresa Scribd logo
1 de 13
Baixar para ler offline
The Antelope interface to PHP
          p
                       2007/08/22
             IES A l
                 Antelope U G
                          User Group M i
                                     Meeting
                      Wang, Taiyuan
                 wtu@earth.sinica.edu.tw
                 wtu@earth sinica edu tw




                                               1
agenda
                   agenda 
    IES BATS Database via web
•
    Real time SOH via web
    Real‐time SOH via web
•
    Access data from PDA/mobilephone
•
    Access data from Google Map
•




                                       2
Antelope & PHP
               Antelope & PHP
    Successfully test on esant3 (140.109.81.173)
•
    openSUSE 10.2
•
    Apache /PHP 5.2.0
•
    Antelope 4.9 
•




                                                   3
Why we need PHP?
              Why we need PHP?
Traditional Remote Login            Use IE (or any Browser) 

• Install Remote Software
• User Login (ID/PASS)
• Command required




                            http://140.109.81.173/webdbe/webdbe20070802.php
                                                                       4
5
Compile Antelope PHP Module
      Compile  Antelope PHP Module
    編譯並安裝
    編譯並安裝Antelope_PHP模組
                     模組
               p                                                       4)建立或拷貝連結檔.ini
                                                                        )建立或拷貝連結檔
•                                                                  •
                                                                       etc/php5/conf.d/datascope.ini
•                                                                  •
    下載最新版本Antelope_Contrib_Src使用者社群開發套件至安裝硬碟                           etc/php5/conf.d/orb.ini
•                                                                  •
      http://www.indiana.edu/~aug/source_downloads/download.html       etc/php5/conf.d/sysinfo.ini
•                                                                  •
    0)將shell由bash切換成tcsh shell
•                                                                  •
      tcsh                                                             5)須重新啟動Apache 與PHP 服務
•                                                                  •
    載入Antelope預設環境參數                                                           rcapache2 restart 
•                                                                  •
                  source /opt/antelope/4.9/setup.csh
•                                                                  •
    查詢現有系統環境變數並確定設定 確
    查詢現有系統環境變數並確定設定正確                                                  6)查詢[PHP module]是否成功載入Datascope Orb  sysinfo 三個檔案
                                                                                                                     個檔案
                                                                        )查詢[           ]是否成功載入      p        y
•                                                                  •
                  setenv                                               /home/tuwang> php ‐m
•                                                                  •
    再將PHP_INC參數加入系統環境變數 (重要!)                                          [PHP Modules]
•                                                                  •
                  setenv PHP_INC /usr/include/php5                     Datascope
•                                                                  •
                                                                       Orb
•                                                                  •
    1)先移至到解壓縮目錄                                                        sysinfo
•                                                                  •
            cd $ANTELOPE                                               …
•                                                                  •
    如果下載檔案的附檔名為*.gz 須先用gzip指令解開成TAR檔案                                  完成編譯步驟
•                                                                  •
            gp
            gzip ‐d Antelope_contrib_src_*.tar.gz
                          p_        __         g
•
    如果下載檔案的附檔名為*.Z 須先用uncompress指令解開TAR檔案
•
            uncompress Antelope_contrib_src_*.tar.Z
•
    最後再使用tar指令將檔案解壓縮
•
            tar xvf Antelope_contrib_src_*.tar
•
•
    2)進入已解壓縮檔案目錄
•
               cd $ANTELOPE/src/contrib/data/php
•
    先加入Include $(ANTELOPEMAKE)參數檔案
•
               make Include
•
               (可略cd lib; make install)
•
    執行編譯並觀察gcc編譯過程出現的文字訊息
•
               make install
•
    完成安裝Antelope_PHP外掛擴充模組
•
    3)檢查是否已正確安裝antelope_PHP使用者外掛擴充模組.so
•
•
    至/opt/antelope/4.9/data/php目錄下
•
    檢查編譯完成檔案是否存在
•
    Datascope.so
•
    Orb.so
•
    sysinfo.so
•
    將這3個檔案拷貝
•
    至/usr/lib/php5/extensions目錄下
•




                                                                                                                           6
Access IES BATS Database via web
Access IES BATS Database via web




     http://140.109.81.173/webdbe/webdbe20070802.php
                                                       7
Real‐time State‐of‐health monitoring:
       Voltages, GPS locks, etc.




      http://140.109.81.173/php/orb_20070712.php
                                                   8
Antelope in PDA / MobilePhone
Antelope in PDA / MobilePhone




                                9
Antelope PHP in google
Antelope PHP in google map




                             10
Antelope PHP in google map(con d)
Antelope PHP in google map(con’d)




       http://140.109.81.173/gmap/site5.php   11
Antelope PHP in google map(con’d)
Antelope PHP in google map(con d)

                                              We can ZoomIn
                                                     ZoomOut
                                                     Click Map




       http://140.109.81.173/gmap/site5.php                12
Summary 
                 Summary
    Database via web
    Database via web
•
    Real‐time SOH via web
•
    Access data from PDA/mobilephone
•
    A
    Access data from Google Map
           dt f      G    lM
•




                                       13

Mais conteúdo relacionado

Mais procurados

Lerna 的套件管理術 - 2020 JSDC Taiwan
Lerna 的套件管理術 - 2020 JSDC TaiwanLerna 的套件管理術 - 2020 JSDC Taiwan
Lerna 的套件管理術 - 2020 JSDC TaiwanFong Liou
 
優雅與摩登的使用docker container和資料庫建立部落格.
優雅與摩登的使用docker container和資料庫建立部落格.優雅與摩登的使用docker container和資料庫建立部落格.
優雅與摩登的使用docker container和資料庫建立部落格.ChihChiaWang
 
පරිගණක වර්ගීකරණය
පරිගණක වර්ගීකරණයපරිගණක වර්ගීකරණය
පරිගණක වර්ගීකරණයTennyson
 
Operating Systems::: G.C.E O/L
Operating Systems::: G.C.E O/LOperating Systems::: G.C.E O/L
Operating Systems::: G.C.E O/LMahesh Kodituwakku
 
Short Note - IT Srilanka edu
Short Note - IT Srilanka eduShort Note - IT Srilanka edu
Short Note - IT Srilanka eduachalagamage
 
Input and Output Devicesආදාන හා ප්‍රතිදාන උපාංග
Input and Output Devicesආදාන හා ප්‍රතිදාන උපාංගInput and Output Devicesආදාන හා ප්‍රතිදාන උපාංග
Input and Output Devicesආදාන හා ප්‍රතිදාන උපාංගMahesh Kodituwakku
 
shibuya_pm_tt07_mogilefs_with_catalyst
shibuya_pm_tt07_mogilefs_with_catalystshibuya_pm_tt07_mogilefs_with_catalyst
shibuya_pm_tt07_mogilefs_with_catalystHiroshi Ono
 
01 Introduction to ict.pdf
01 Introduction to ict.pdf01 Introduction to ict.pdf
01 Introduction to ict.pdfAjith Pathirana
 
Web 2.0 架站工具—AJAX By Examples-馮彥文(Tempo)
Web 2.0 架站工具—AJAX By Examples-馮彥文(Tempo)Web 2.0 架站工具—AJAX By Examples-馮彥文(Tempo)
Web 2.0 架站工具—AJAX By Examples-馮彥文(Tempo)taiwanweb20
 

Mais procurados (15)

3.3
3.33.3
3.3
 
Lerna 的套件管理術 - 2020 JSDC Taiwan
Lerna 的套件管理術 - 2020 JSDC TaiwanLerna 的套件管理術 - 2020 JSDC Taiwan
Lerna 的套件管理術 - 2020 JSDC Taiwan
 
優雅與摩登的使用docker container和資料庫建立部落格.
優雅與摩登的使用docker container和資料庫建立部落格.優雅與摩登的使用docker container和資料庫建立部落格.
優雅與摩登的使用docker container和資料庫建立部落格.
 
පරිගණක වර්ගීකරණය
පරිගණක වර්ගීකරණයපරිගණක වර්ගීකරණය
පරිගණක වර්ගීකරණය
 
Operating Systems::: G.C.E O/L
Operating Systems::: G.C.E O/LOperating Systems::: G.C.E O/L
Operating Systems::: G.C.E O/L
 
C++ in sinhala
C++ in sinhalaC++ in sinhala
C++ in sinhala
 
Ict grade 10
Ict grade 10Ict grade 10
Ict grade 10
 
Short Note - IT Srilanka edu
Short Note - IT Srilanka eduShort Note - IT Srilanka edu
Short Note - IT Srilanka edu
 
Input and Output Devicesආදාන හා ප්‍රතිදාන උපාංග
Input and Output Devicesආදාන හා ප්‍රතිදාන උපාංගInput and Output Devicesආදාන හා ප්‍රතිදාන උපාංග
Input and Output Devicesආදාන හා ප්‍රතිදාන උපාංග
 
Grade 10 1st Term IT Notes
Grade 10 1st Term IT NotesGrade 10 1st Term IT Notes
Grade 10 1st Term IT Notes
 
yonex
yonexyonex
yonex
 
shibuya_pm_tt07_mogilefs_with_catalyst
shibuya_pm_tt07_mogilefs_with_catalystshibuya_pm_tt07_mogilefs_with_catalyst
shibuya_pm_tt07_mogilefs_with_catalyst
 
01 Introduction to ict.pdf
01 Introduction to ict.pdf01 Introduction to ict.pdf
01 Introduction to ict.pdf
 
Web 2.0 架站工具—AJAX By Examples-馮彥文(Tempo)
Web 2.0 架站工具—AJAX By Examples-馮彥文(Tempo)Web 2.0 架站工具—AJAX By Examples-馮彥文(Tempo)
Web 2.0 架站工具—AJAX By Examples-馮彥文(Tempo)
 
PHP超入門@LL温泉
PHP超入門@LL温泉PHP超入門@LL温泉
PHP超入門@LL温泉
 

Destaque

Conic Sections
Conic SectionsConic Sections
Conic Sectionshallb76
 
How To Build A Marketing Plan
How To Build A Marketing PlanHow To Build A Marketing Plan
How To Build A Marketing PlanLaurent Bouty
 
Stratadigm Key Profiles
Stratadigm Key ProfilesStratadigm Key Profiles
Stratadigm Key ProfilesStratadigm
 
The Berry Tree - How it works
The Berry Tree - How it worksThe Berry Tree - How it works
The Berry Tree - How it worksberrytree
 
Alto De Xoandres
Alto De XoandresAlto De Xoandres
Alto De Xoandresaxouxere8
 
Пациент П.С.Н.
Пациент П.С.Н.Пациент П.С.Н.
Пациент П.С.Н.gtuni
 
同志為什麼要保障?
同志為什麼要保障?同志為什麼要保障?
同志為什麼要保障?lalacamp07
 
I Asked God
I Asked GodI Asked God
I Asked Godcoqui513
 
ValdoviñO (Frouxeira), Cedeira, PantíN
ValdoviñO (Frouxeira), Cedeira, PantíNValdoviñO (Frouxeira), Cedeira, PantíN
ValdoviñO (Frouxeira), Cedeira, PantíNaxouxere8
 
The Berry Tree - How it works
The Berry Tree - How it worksThe Berry Tree - How it works
The Berry Tree - How it worksberrytree
 
Tpfinal A Quitegui
Tpfinal  A QuiteguiTpfinal  A Quitegui
Tpfinal A Quiteguiandreaq
 
Si Observamos
Si ObservamosSi Observamos
Si Observamosdarios
 
The Berry Tree - How it works
The Berry Tree - How it worksThe Berry Tree - How it works
The Berry Tree - How it worksberrytree
 
Partnerpuzzle
PartnerpuzzlePartnerpuzzle
Partnerpuzzleakoenig
 
Open Source Business(Business 20)
Open Source Business(Business 20)Open Source Business(Business 20)
Open Source Business(Business 20)alesalevsky
 

Destaque (20)

Conic Sections
Conic SectionsConic Sections
Conic Sections
 
How To Build A Marketing Plan
How To Build A Marketing PlanHow To Build A Marketing Plan
How To Build A Marketing Plan
 
Stratadigm Key Profiles
Stratadigm Key ProfilesStratadigm Key Profiles
Stratadigm Key Profiles
 
The Berry Tree - How it works
The Berry Tree - How it worksThe Berry Tree - How it works
The Berry Tree - How it works
 
Alto De Xoandres
Alto De XoandresAlto De Xoandres
Alto De Xoandres
 
筹募资金
筹募资金筹募资金
筹募资金
 
Пациент П.С.Н.
Пациент П.С.Н.Пациент П.С.Н.
Пациент П.С.Н.
 
同志為什麼要保障?
同志為什麼要保障?同志為什麼要保障?
同志為什麼要保障?
 
Josiah2 Kings23
Josiah2 Kings23Josiah2 Kings23
Josiah2 Kings23
 
I Asked God
I Asked GodI Asked God
I Asked God
 
testing
testingtesting
testing
 
ValdoviñO (Frouxeira), Cedeira, PantíN
ValdoviñO (Frouxeira), Cedeira, PantíNValdoviñO (Frouxeira), Cedeira, PantíN
ValdoviñO (Frouxeira), Cedeira, PantíN
 
The Berry Tree - How it works
The Berry Tree - How it worksThe Berry Tree - How it works
The Berry Tree - How it works
 
Tpfinal A Quitegui
Tpfinal  A QuiteguiTpfinal  A Quitegui
Tpfinal A Quitegui
 
Si Observamos
Si ObservamosSi Observamos
Si Observamos
 
The Berry Tree - How it works
The Berry Tree - How it worksThe Berry Tree - How it works
The Berry Tree - How it works
 
Escuela1
Escuela1Escuela1
Escuela1
 
Partnerpuzzle
PartnerpuzzlePartnerpuzzle
Partnerpuzzle
 
Folio Extracts
Folio ExtractsFolio Extracts
Folio Extracts
 
Open Source Business(Business 20)
Open Source Business(Business 20)Open Source Business(Business 20)
Open Source Business(Business 20)
 

Semelhante a 2007 0822 Antelope Php

【13-A-2】 「Delphi for PHP のエバンジェリストが、日本の PHP エバンジェリストと、 PHP と IDE の今と未来を語る」~Em...
【13-A-2】 「Delphi for PHP のエバンジェリストが、日本の PHP エバンジェリストと、 PHP と IDE の今と未来を語る」~Em...【13-A-2】 「Delphi for PHP のエバンジェリストが、日本の PHP エバンジェリストと、 PHP と IDE の今と未来を語る」~Em...
【13-A-2】 「Delphi for PHP のエバンジェリストが、日本の PHP エバンジェリストと、 PHP と IDE の今と未来を語る」~Em...devsumi2009
 
Ruby on Rails Tutorial Part I
Ruby on Rails Tutorial Part IRuby on Rails Tutorial Part I
Ruby on Rails Tutorial Part IWei Jen Lu
 
微软客户端技术纵览
微软客户端技术纵览微软客户端技术纵览
微软客户端技术纵览ntoskrnl
 
yusukebe in Yokohama.pm 090909
yusukebe in Yokohama.pm 090909yusukebe in Yokohama.pm 090909
yusukebe in Yokohama.pm 090909Yusuke Wada
 
Fedora App Slide 2009 Hastac
Fedora App Slide 2009 HastacFedora App Slide 2009 Hastac
Fedora App Slide 2009 HastacLoretta Auvil
 
フラクタリスト技術知識共有会発表資料 090903
フラクタリスト技術知識共有会発表資料 090903フラクタリスト技術知識共有会発表資料 090903
フラクタリスト技術知識共有会発表資料 090903ngi group.
 
Peeling The Onion For Ipdc Forum09 Mix Ver1
Peeling The Onion For Ipdc Forum09 Mix Ver1Peeling The Onion For Ipdc Forum09 Mix Ver1
Peeling The Onion For Ipdc Forum09 Mix Ver1hutuworm
 
Ruby on Rails 2.1 What's New Chinese Version
Ruby on Rails 2.1 What's New Chinese VersionRuby on Rails 2.1 What's New Chinese Version
Ruby on Rails 2.1 What's New Chinese VersionLibin Pan
 
Zend Framework Study@Tokyo Vol1
Zend Framework Study@Tokyo Vol1Zend Framework Study@Tokyo Vol1
Zend Framework Study@Tokyo Vol1Shinya Ohyanagi
 
Zend Framework Study@Tokyo vol1
Zend Framework Study@Tokyo vol1Zend Framework Study@Tokyo vol1
Zend Framework Study@Tokyo vol1Shinya Ohyanagi
 
HA+DRBD+Postgres - PostgresWest '08
HA+DRBD+Postgres - PostgresWest '08HA+DRBD+Postgres - PostgresWest '08
HA+DRBD+Postgres - PostgresWest '08Jesse Young
 
How To Create Custom DSLs By PHP
How To Create Custom DSLs By PHPHow To Create Custom DSLs By PHP
How To Create Custom DSLs By PHPAtsuhiro Kubo
 
20090410 Gree Opentech Main
20090410 Gree Opentech Main20090410 Gree Opentech Main
20090410 Gree Opentech MainHideki Yamane
 
Really Simple Document Management - 2009 Update
Really Simple Document Management - 2009 UpdateReally Simple Document Management - 2009 Update
Really Simple Document Management - 2009 UpdateAlfresco Software
 
Roll-out of the NYU HSL Website and Drupal CMS
Roll-out of the NYU HSL Website and Drupal CMSRoll-out of the NYU HSL Website and Drupal CMS
Roll-out of the NYU HSL Website and Drupal CMSChris Evjy
 
The Lean Startup at Web 2.0 Expo
The Lean Startup at Web 2.0 ExpoThe Lean Startup at Web 2.0 Expo
The Lean Startup at Web 2.0 ExpoVenture Hacks
 
20090313 Cakephpstudy
20090313 Cakephpstudy20090313 Cakephpstudy
20090313 CakephpstudyYusuke Ando
 

Semelhante a 2007 0822 Antelope Php (20)

【13-A-2】 「Delphi for PHP のエバンジェリストが、日本の PHP エバンジェリストと、 PHP と IDE の今と未来を語る」~Em...
【13-A-2】 「Delphi for PHP のエバンジェリストが、日本の PHP エバンジェリストと、 PHP と IDE の今と未来を語る」~Em...【13-A-2】 「Delphi for PHP のエバンジェリストが、日本の PHP エバンジェリストと、 PHP と IDE の今と未来を語る」~Em...
【13-A-2】 「Delphi for PHP のエバンジェリストが、日本の PHP エバンジェリストと、 PHP と IDE の今と未来を語る」~Em...
 
Ruby on Rails Tutorial Part I
Ruby on Rails Tutorial Part IRuby on Rails Tutorial Part I
Ruby on Rails Tutorial Part I
 
微软客户端技术纵览
微软客户端技术纵览微软客户端技术纵览
微软客户端技术纵览
 
yusukebe in Yokohama.pm 090909
yusukebe in Yokohama.pm 090909yusukebe in Yokohama.pm 090909
yusukebe in Yokohama.pm 090909
 
Fedora App Slide 2009 Hastac
Fedora App Slide 2009 HastacFedora App Slide 2009 Hastac
Fedora App Slide 2009 Hastac
 
フラクタリスト技術知識共有会発表資料 090903
フラクタリスト技術知識共有会発表資料 090903フラクタリスト技術知識共有会発表資料 090903
フラクタリスト技術知識共有会発表資料 090903
 
HTML Parsing With Hpricot
HTML Parsing With HpricotHTML Parsing With Hpricot
HTML Parsing With Hpricot
 
XS Japan 2008 Xen Mgmt Japanese
XS Japan 2008 Xen Mgmt JapaneseXS Japan 2008 Xen Mgmt Japanese
XS Japan 2008 Xen Mgmt Japanese
 
Peeling The Onion For Ipdc Forum09 Mix Ver1
Peeling The Onion For Ipdc Forum09 Mix Ver1Peeling The Onion For Ipdc Forum09 Mix Ver1
Peeling The Onion For Ipdc Forum09 Mix Ver1
 
Ruby on Rails 2.1 What's New Chinese Version
Ruby on Rails 2.1 What's New Chinese VersionRuby on Rails 2.1 What's New Chinese Version
Ruby on Rails 2.1 What's New Chinese Version
 
Zend Framework Study@Tokyo Vol1
Zend Framework Study@Tokyo Vol1Zend Framework Study@Tokyo Vol1
Zend Framework Study@Tokyo Vol1
 
Zend Framework Study@Tokyo vol1
Zend Framework Study@Tokyo vol1Zend Framework Study@Tokyo vol1
Zend Framework Study@Tokyo vol1
 
HA+DRBD+Postgres - PostgresWest '08
HA+DRBD+Postgres - PostgresWest '08HA+DRBD+Postgres - PostgresWest '08
HA+DRBD+Postgres - PostgresWest '08
 
How To Create Custom DSLs By PHP
How To Create Custom DSLs By PHPHow To Create Custom DSLs By PHP
How To Create Custom DSLs By PHP
 
20090410 Gree Opentech Main
20090410 Gree Opentech Main20090410 Gree Opentech Main
20090410 Gree Opentech Main
 
Really Simple Document Management - 2009 Update
Really Simple Document Management - 2009 UpdateReally Simple Document Management - 2009 Update
Really Simple Document Management - 2009 Update
 
Roll-out of the NYU HSL Website and Drupal CMS
Roll-out of the NYU HSL Website and Drupal CMSRoll-out of the NYU HSL Website and Drupal CMS
Roll-out of the NYU HSL Website and Drupal CMS
 
The Lean Startup at Web 2.0 Expo
The Lean Startup at Web 2.0 ExpoThe Lean Startup at Web 2.0 Expo
The Lean Startup at Web 2.0 Expo
 
Revisited
RevisitedRevisited
Revisited
 
20090313 Cakephpstudy
20090313 Cakephpstudy20090313 Cakephpstudy
20090313 Cakephpstudy
 

Último

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 

Último (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 

2007 0822 Antelope Php

  • 1. The Antelope interface to PHP p 2007/08/22 IES A l Antelope U G User Group M i Meeting Wang, Taiyuan wtu@earth.sinica.edu.tw wtu@earth sinica edu tw 1
  • 2. agenda agenda  IES BATS Database via web • Real time SOH via web Real‐time SOH via web • Access data from PDA/mobilephone • Access data from Google Map • 2
  • 3. Antelope & PHP Antelope & PHP Successfully test on esant3 (140.109.81.173) • openSUSE 10.2 • Apache /PHP 5.2.0 • Antelope 4.9  • 3
  • 4. Why we need PHP? Why we need PHP? Traditional Remote Login  Use IE (or any Browser)  • Install Remote Software • User Login (ID/PASS) • Command required http://140.109.81.173/webdbe/webdbe20070802.php 4
  • 5. 5
  • 6. Compile Antelope PHP Module Compile  Antelope PHP Module 編譯並安裝 編譯並安裝Antelope_PHP模組 模組 p 4)建立或拷貝連結檔.ini )建立或拷貝連結檔 • • etc/php5/conf.d/datascope.ini • • 下載最新版本Antelope_Contrib_Src使用者社群開發套件至安裝硬碟 etc/php5/conf.d/orb.ini • • http://www.indiana.edu/~aug/source_downloads/download.html etc/php5/conf.d/sysinfo.ini • • 0)將shell由bash切換成tcsh shell • • tcsh 5)須重新啟動Apache 與PHP 服務 • • 載入Antelope預設環境參數 rcapache2 restart  • • source /opt/antelope/4.9/setup.csh • • 查詢現有系統環境變數並確定設定 確 查詢現有系統環境變數並確定設定正確 6)查詢[PHP module]是否成功載入Datascope Orb  sysinfo 三個檔案 個檔案 )查詢[ ]是否成功載入 p y • • setenv /home/tuwang> php ‐m • • 再將PHP_INC參數加入系統環境變數 (重要!) [PHP Modules] • • setenv PHP_INC /usr/include/php5  Datascope • • Orb • • 1)先移至到解壓縮目錄 sysinfo • • cd $ANTELOPE  … • • 如果下載檔案的附檔名為*.gz 須先用gzip指令解開成TAR檔案 完成編譯步驟 • • gp gzip ‐d Antelope_contrib_src_*.tar.gz p_ __ g • 如果下載檔案的附檔名為*.Z 須先用uncompress指令解開TAR檔案 • uncompress Antelope_contrib_src_*.tar.Z • 最後再使用tar指令將檔案解壓縮 • tar xvf Antelope_contrib_src_*.tar • • 2)進入已解壓縮檔案目錄 • cd $ANTELOPE/src/contrib/data/php • 先加入Include $(ANTELOPEMAKE)參數檔案 • make Include • (可略cd lib; make install) • 執行編譯並觀察gcc編譯過程出現的文字訊息 • make install • 完成安裝Antelope_PHP外掛擴充模組 • 3)檢查是否已正確安裝antelope_PHP使用者外掛擴充模組.so • • 至/opt/antelope/4.9/data/php目錄下 • 檢查編譯完成檔案是否存在 • Datascope.so • Orb.so • sysinfo.so • 將這3個檔案拷貝 • 至/usr/lib/php5/extensions目錄下 • 6
  • 7. Access IES BATS Database via web Access IES BATS Database via web http://140.109.81.173/webdbe/webdbe20070802.php 7
  • 8. Real‐time State‐of‐health monitoring:   Voltages, GPS locks, etc. http://140.109.81.173/php/orb_20070712.php 8
  • 11. Antelope PHP in google map(con d) Antelope PHP in google map(con’d) http://140.109.81.173/gmap/site5.php 11
  • 12. Antelope PHP in google map(con’d) Antelope PHP in google map(con d) We can ZoomIn ZoomOut Click Map http://140.109.81.173/gmap/site5.php 12
  • 13. Summary  Summary Database via web Database via web • Real‐time SOH via web • Access data from PDA/mobilephone • A Access data from Google Map dt f G lM • 13