User Tools

Site Tools


code:work:lvisf:2018gui:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
code:work:lvisf:2018gui:start [2018/12/12 18:58] – [Operating System] davidcode:work:lvisf:2018gui:start [2022/05/05 20:10] (current) david
Line 1: Line 1:
 ====== Development ====== ====== Development ======
 +
 +FIXME
 +  2022 Pandemic Edition
 +FIXME
 +
 +  * [[code:work:lvisf:2018gui:original|Original GUI Instructions]]
  
 ===== Suggested Improvements ===== ===== Suggested Improvements =====
Line 16: Line 22:
  
   * 2018.12.12 attempting with 16.04 LTS (64-bit)   * 2018.12.12 attempting with 16.04 LTS (64-bit)
 +    * And it is trying to upgrade itself to 18.04... oh boy, this is a mistake, just get the fresh ISO
 +    * YEP, that broke itself!
 +  * 2018.12.12 used a fresh install of Kubuntu 18.04.1 LTS from [[https://kubuntu.org/getkubuntu/]]
 +    * This seems to have worked
  
 Install the ssh server Install the ssh server
 <code> <code>
-sudo apt-get install openssh-server+sudo apt install openssh-server
 </code> </code>
  
 ---- ----
 +
 +===== Network =====
 +
 +  * Install network tools (for **ipconfig**) <code>
 +sudo apt install net-tools
 +</code>
 +
 +===== Software =====
 +
 +  * Install **gparted** <code>
 +sudo apt-get install gparted
 +</code>
  
 ===== IDE ===== ===== IDE =====
 +
 +If you need to switch to KDE first [[https://itsfoss.com/install-kde-on-ubuntu/]]
 +
 +  * Install the standard components <code>
 +sudo apt install kde-standard
 +</code>
 +  * Set the display manager to **sddm** when prompted
 +
 KDevelop KDevelop
 <code>sudo apt-get install kdevelop</code> <code>sudo apt-get install kdevelop</code>
Line 47: Line 77:
 <code>sudo apt-get install bison cmake doxygen flex git graphviz grass-dev libexpat1-dev libfcgi-dev libgdal-dev libgeos-dev libgsl0-dev libopenscenegraph-dev libosgearth-dev libpq-dev libproj-dev libqca2-dev libqscintilla2-dev libqt4-dev libqt4-opengl-dev libqtwebkit-dev libqwt5-qt4-dev libspatialindex-dev libspatialite-dev libsqlite3-dev lighttpd locales pkg-config poppler-utils pyqt4-dev-tools python-all python-all-dev python-qscintilla2 python-qt4 python-qt4-dev python-qt4-sql python-sip python-sip-dev spawn-fcgi txt2tags xauth xfonts-100dpi xfonts-75dpi xfonts-base xfonts-scalable xvfb</code> <code>sudo apt-get install bison cmake doxygen flex git graphviz grass-dev libexpat1-dev libfcgi-dev libgdal-dev libgeos-dev libgsl0-dev libopenscenegraph-dev libosgearth-dev libpq-dev libproj-dev libqca2-dev libqscintilla2-dev libqt4-dev libqt4-opengl-dev libqtwebkit-dev libqwt5-qt4-dev libspatialindex-dev libspatialite-dev libsqlite3-dev lighttpd locales pkg-config poppler-utils pyqt4-dev-tools python-all python-all-dev python-qscintilla2 python-qt4 python-qt4-dev python-qt4-sql python-sip python-sip-dev spawn-fcgi txt2tags xauth xfonts-100dpi xfonts-75dpi xfonts-base xfonts-scalable xvfb</code>
  
 +or
 +
 +<code>
 +sudo apt-get install
 +Y bison
 +Y cmake
 +Y doxygen 
 +Y flex
 +Y git
 +Y graphviz
 +Y grass-dev 
 +Y libexpat1-dev
 +Y libfcgi-dev
 +Y libgdal-dev
 +Y libgeos-dev
 +Y libgsl0-dev
 +Y libopenscenegraph-dev 
 +Y libosgearth-dev
 +Y libpq-dev
 +Y libproj-dev
 +Y libqca2-dev
 +Y libqscintilla2-dev
 +Y libqt4-dev
 +Y libqt4-opengl-dev
 +Y libqtwebkit-dev
 +Y libqwt5-qt4-dev
 +Y libspatialindex-dev
 +Y libspatialite-dev
 +Y libsqlite3-dev
 +Y lighttpd
 +Y locales
 +Y pkg-config
 +Y poppler-utils
 +Y pyqt4-dev-tools
 +Y python-all
 +Y python-all-dev
 +Y python-qscintilla2
 +Y python-qt4
 +Y python-qt4-dev
 +Y python-qt4-sql
 +Y python-sip
 +Y python-sip-dev
 +Y spawn-fcgi
 +Y txt2tags
 +Y xauth
 +Y xfonts-100dpi xfonts-75dpi xfonts-base xfonts-scalable
 +Y xvfb
 +</code>
  
   * Prepare the development path.  I like to create a //work// directory and put everything there   * Prepare the development path.  I like to create a //work// directory and put everything there
Line 65: Line 143:
      * Download Qwt 6.2.1 for the newest plotting features. The Ubuntu repository currently has version 6.0.0.      * Download Qwt 6.2.1 for the newest plotting features. The Ubuntu repository currently has version 6.0.0.
  
-<code>svn checkout http://svn.code.sf.net/p/qwt/code/tags/qwt-6.1.2 qwt-6.1.2</code>+<code> 
 +cd ~/work 
 +svn checkout http://svn.code.sf.net/p/qwt/code/tags/qwt-6.1.2 qwt-6.1.2 
 +cd ~/work/qwt-6.1.2 
 +</code> 
  
   * Navigate to the qwt-6.2.1 folder and and open //qwtconfig.pri// Prepend a # to the line **QWT_CONFIG     += QwtDesigner**   * Navigate to the qwt-6.2.1 folder and and open //qwtconfig.pri// Prepend a # to the line **QWT_CONFIG     += QwtDesigner**
Line 111: Line 194:
  
   * Download **libkml-1.3.0** from https://github.com/libkml/libkml/releases and follow the directions for installation.   * Download **libkml-1.3.0** from https://github.com/libkml/libkml/releases and follow the directions for installation.
 +    * Download, compile and install <code> 
 +cd ~/Downloads 
 +wget https://github.com/libkml/libkml/archive/1.3.0.tar.gz 
 +cd ~/work 
 +tar xvf ~/Downloads/1.3.0.tar.gz 
 +cd ~/work/libkml-1.3.0 
 +mkdir build; cd build 
 +cmake .. 
 +make 
 +sudo make install 
 +</code>
   * Checkout the LVIS Facility GUI repository and open the project file (LVISCommander.kdev4) with KDevelop.  You may have to change absolutes paths in the **CMakeLists.txt** file.   * Checkout the LVIS Facility GUI repository and open the project file (LVISCommander.kdev4) with KDevelop.  You may have to change absolutes paths in the **CMakeLists.txt** file.
-<code>mkdir ~/work/lvisf-gui+ 
 +==== Check out LVIS Backend Source ==== 
 + 
 +<code>
 cd ~/work cd ~/work
-svn co svn+ssh://gs694-lvisdev.gsfc.nasa.gov/srv/svn/lvisf-gui</code>+svn co https://svn.yancich.com:8443/svn/NASA/LVIS/trunk/lvisF 
 +</code> 
 + 
 +==== Check out GUI Source ==== 
 + 
 +<code> 
 +mkdir ~/work/lvisf-gui 
 +cd ~/work 
 +svn co svn+ssh://gs694-lvisdev.gsfc.nasa.gov/srv/svn/lvisf-gui 
 +# since our Yancich IT Security incident hehe, we have to use the local IP 
 +svn co svn+ssh://10.4.1.1/srv/svn/lvisf-gui 
 +</code> 
  
 ===== Symlink to QGIS ===== ===== Symlink to QGIS =====
code/work/lvisf/2018gui/start.1544641090.txt.gz · Last modified: 2018/12/12 18:58 by david