Skip to content

Additional instructions for Linux

Ty Stanford edited this page Apr 14, 2020 · 6 revisions

Here you'll find specific instructions to help you install and run Achilles on Linux. At the end of this page you'll find some details specifically for CentOS 6.

Installing on Linux

  1. Make sure your distribution has libcurl-devel and libxml2-devel installed. If not, install as root (or sudo) using your distributions's software installation tool (e.g. yum, apt-get)
  • RCurl: "Cannot find curl-config": Install libcurl4-gnutls-dev or libcurl4-nss-dev, or libcurl4-openssl-dev
  1. The R packages available on your distribution's standard repositories often are not the most recent. Follow the instructions at http://www.jason-french.com/blog/2013/03/11/installing-r-in-linux/ to install the latest R packages.

  2. Ensure you have installed sun java Version 6 (the current Version 8 doesn't work). The open-source versions of Java do not seem to work. Each Linux distro has different instructions for how to do this.

  1. sudo R CMD javareconf

  2. Restart R

  3. Getting around installation issues with rJava. Before loading from any of the github packages, execute the following command in R:

  1. CentOS uses SELinux permission, which causes issues with "Permission Denied" to AchillesWeb files. See https://wiki.apache.org/httpd/13PermissionDenied

For how to fix: see http://wiki.centos.org/HowTos/SELinux

  • chmod -R +x /var/www/localhost
  • chcon -Rv --type=httpd_sys_content_t /var/www/localhost

Running Achilles on Linux

  1. Full syntax for createConnectionDetails (for postgresql -- where database is omop, schema is omop, and user is achilles and password is achilles) is: connectionDetails <- createConnectionDetails(dbms="postgresql",server="localhost/omop",port="5432", schema="omop",user="achilles",password="achilles")

Type in R: ?createConnectionDetails for full syntax

Key additional URLs specifically for installing Achilles on Centos 6

  1. Installing CentOS as a guest OS in VirtualBox:
  1. Installing RPMForge repository in RHEL/CentOS 6,5,4
  1. Installing a GUI on Centos server:
  1. Installing R
  1. Installing Postgres with PG 9.3:
  1. Installing PGAdmin3 Version 1.18 (needed for PG 9.3):
  1. Tutorials for installing web server on basic Centos image (skip MySQL, we use Postgresql)