Difference between revisions of "RDP Software Configuration"

From edegan.com
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 42: Line 42:
 
*Firefox
 
*Firefox
 
*Geckodriver v0.24.0
 
*Geckodriver v0.24.0
 +
 +
===Standalone Exes===
 +
 +
Some programs don't need installation. Instead standalone executables can be copied out of the installs directory to the users desktop (or wherever). These include:
 +
*puTTY.exe
 +
*vncviewer64-1.11.0.exe
  
 
==Python and R==
 
==Python and R==
Line 93: Line 99:
  
 
==DataGrip==
 
==DataGrip==
 +
 +
{{Colored box|title=Notice!|content=The license for DataGrip expired. Use DBeaver instead!}}
  
 
To use DataGrip on the RDP to work on a database on the dbase server, use a postgres database connection with the following settings:
 
To use DataGrip on the RDP to work on a database on the dbase server, use a postgres database connection with the following settings:

Latest revision as of 15:42, 6 October 2020

All software installed on the RDP, as well as its configuration, should be recorded on this page!

Base installation

Ed installed the following during the build:

  • ActiveState Perl 5.26.3
  • ArcGIS Desktop (instructions at http://answers.library.georgetown.edu/faq/247307)
  • ArcGIS Reader (ESU196456098)
    • Python 2.7 (installed with ArcGIS in C:\Python27\ArcGIS10.6)
  • CUDA 10.1
  • Google Chrome
  • Komodo 9 IDE (licence is E:\mcnair\installs\Komodo-IDE-9-Windows-S19344C4830A.exe)
  • .NET 3.5 (install from media, see instructions [1])
  • Office 2019
  • STATA 15MP (24 core, network edition, 2 licenses)
  • SDC Platinum
  • Textpad 8
  • Visual Studio 2018 Community Edition
    • Anaconda 3 & Python 3.6 (installed with Microsoft Visual Studio, in C:\Program Files (x86)\Microsoft Visual Studio\Shared\)

Ed added:

  • miktex 2.9.7031
  • LyX 2.3.0
  • PyCharm 2019.1.2 (licensed until May 15th 2020). This was uninstalled in May 2020.
  • Datagrip 2019.1.2 (licensed until May 15th 2020). This was uninstalled in May 2020. It was fairly good but required payment... Tried Dbeaver as an alternative.
  • Matlab 2018a (instructions at http://uis.georgetown.edu/computers/purchase/software/matlab/install) was installed but then uninstalled before being activated. Matlab 2019a was then installed and activated with a license that should be valid until 31 March 2020.
  • Julia 1.1.1 (from https://julialang.org/downloads/, installed as admin to C:\Program Files\Julia-1.1.1), as well as Atom and Juno. Note that julia-client didn't install. The error message is in E:\installs\Julia-Client Install Error.txt. Also you need to "Edit System Environment Variables" and add C:\Program Files\Julia-1.1.1\bin.
  • A 40-day trial of WinRAR x64 5.71 on Sept 11th 2019. It should continue to work past the end of the trial period...
  • QGIS v3.8.3 64bit (note that this is open source)
  • padwalker, installed using ppm in admin mode
  • Dbeaver (Community Edition) 7.0.5-CE https://dbeaver.io/ (requires Java but OpenJDK 11 is in the installer). Doesn't have the visual query builder. The enterprise edition (has a visual query builder) is available with an academic license (use uni email).
    • Upgraded to Dbeaver 7.2.0-CE

Hiep installed the following:

  • Git windows 2.21.0
  • Git bash (to use git, no new path added)

Anne installed:

  • ChromeDriver 2.46.628402 (supports Chrome v71-73, did not add to system PATH variables, and instead stated direct path when executable was called in program)

Nancy installed:

  • Firefox
  • Geckodriver v0.24.0

Standalone Exes

Some programs don't need installation. Instead standalone executables can be copied out of the installs directory to the users desktop (or wherever). These include:

  • puTTY.exe
  • vncviewer64-1.11.0.exe

Python and R

Ed installed additional new versions of:

  • Python 2.7
  • Anaconda 3 (with the add to path option)
  • R 3.5.3

Afterwards C:\Python27, C:\Python27\Lib and C:\Program Files\R\R-3.5.3\bin\x64 were added to the path (search "edit system environment variables"). C:\Python27\python.exe was copied to C:\Python27\python2.exe and C:\ProgramData\Anaconda3\python.exe was copied to python3.exe. Then C:\Python27\ArcGIS10.6\Scripts was added to the path as well to give access to pip2 (and pip2.7).

Users wanting to run python can therefore run any of the following:

python -- runs python 3.7 in C:\ProgramData\Anaconda3
python3 -- runs python 3.7 in C:\ProgramData\Anaconda3
python2 --  runs python 2.7 in C:\Python27
py -3 -- runs python 3.7 in C:\ProgramData\Anaconda3
py -2 --  runs python 2.7 in C:\Python27

You should also be able to run:

pip2 -- install modules for python2
pip2.7 -- install modules for python2
pip -- install modules for python3

For some reason this configuration stopped working. It seems that C:\ProgramData\Anaconda3 was removed from the path. It has now been added back. However, pip2 doesn't seem to work...

If you have an issue, please try closing and reopening your shell, or disconnecting and reconnecting your session.

For the old RDP configuration, see notes on Python on the RDP. There was also a GIT server on the old RDP, which hosted our Software Repository. All of the projects in the Software Repository Listing are on the E drive. We may install a new GIT server at some point.

Adding libraries

If you add a library or package to a programming language, for instance through pip or manually, record what you did here!

The following packages have been downloaded for python3 via pip

tensorflow 1.13.1
keras 2.2.4
open-cv 4.0
networkx 4.3
sklearn 0.20.1
numpy 1.16.2 (upgraded from 1.15.4)
selenium 3.141.0
splinter 0.10.0

Komodo IDE 9

Komodo IDE 9 is installed on the server. To get a license for your user account, go to E:\installs and run Komodo-IDE-9-Windows-S19344C4830A.exe. It should say OK, and then you're good to go.

By default Komodo IDE assumes that .py scripts are associated with Python2 not Python3. Most of our libraries and scripts are for Python 3. To change to the Python3 debugger, click the File Type icon (showing Python) at the bottom of the edit window (before the line and column number), and change it to Python3.

Note that Ed fixed the error documented on the ActiveState GitHub [2], by replacing all instances of 'async' with 'asynch' in C:\Program Files (x86)\ActiveState Komodo IDE 9\lib\support\dbgp\python3lib\dbgp\client.py to enable Komodo to run Python 3.

DataGrip

Notice!
The license for DataGrip expired. Use DBeaver instead!

To use DataGrip on the RDP to work on a database on the dbase server, use a postgres database connection with the following settings:

  • Host: 192.168.2.201
  • Port: 5432
  • User: researcher
  • Password: hint:littleamount
  • Database: vcdb3 (or whatever)
  • URL: jdbc:postgresql://192.168.2.201:5432/vcdb3

Reference information is available from jetbrains.[3]