Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Mar 23, 2019
1 parent a305648 commit 2a54f89
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 22 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -15,7 +15,7 @@ The [server manual](http://opencpu.github.io/server-manual/opencpu-server.pdf) i
Installation repositories are available for recent versions of:

- [Ubuntu](https://www.opencpu.org/download.html)
- [Fedora](http://software.opensuse.org/download.html?project=home:jeroenooms:opencpu-2.0&package=opencpu)
- [Fedora](http://software.opensuse.org/download.html?project=home:jeroenooms:opencpu-2.1&package=opencpu)

For other systems (e.g. Debian, CentOS) the installers are available from the [archive](https://archive.opencpu.org/) server.

Expand Down
2 changes: 1 addition & 1 deletion cloudserver.md
Expand Up @@ -21,7 +21,7 @@ New linode server with Ubuntu 16.04. To enable apparmor, change kernel to `GRUB2
Now reboot. Then login as jeroen

sudo apt-get install byobu software-properties-common
sudo add-apt-repository ppa:opencpu/opencpu-2.0 && sudo apt-get update
sudo add-apt-repository ppa:opencpu/opencpu-2.1 && sudo apt-get update
sudo apt-get install opencpu-full

# test it
Expand Down
23 changes: 4 additions & 19 deletions debian/readme.md
Expand Up @@ -31,31 +31,16 @@ First install dependencies required for building OpenCPU:
sudo apt-get dist-upgrade -y

# Install build dependencies
sudo apt-get install -y wget make devscripts apache2-dev apache2 libapreq2-dev r-base r-base-dev libapparmor-dev libcurl4-openssl-dev libprotobuf-dev protobuf-compiler xvfb xauth xfonts-base curl libssl-dev libxml2-dev libicu-dev pkg-config libssh2-1-dev

## Building rApache

**UPDATE**: As of 2016 [libapache2-mod-r-base](http://packages.ubuntu.com/xenial/web/libapache2-mod-r-base) is now included with:

- **Debian 9** (Stretch) and up
- **Ubuntu 16.04** (Xenial) and up

On these platforms **skip this step** and proceed with building `opencpu-server` below! On older systems we need to `libapache2-mod-r-base` ourselves: run this **not** as root (use a regular user):

cd ~
wget https://github.com/jeffreyhorner/rapache/archive/v1.2.9.tar.gz
tar xzf v1.2.9.tar.gz
cd rapache-1.2.9
dpkg-buildpackage -us -uc
sudo apt-get install -y wget make devscripts r-base r-base-dev libapparmor-dev libcurl4-openssl-dev libprotobuf-dev protobuf-compiler xvfb xauth xfonts-base curl libssl-dev libxml2-dev libicu-dev pkg-config libssh2-1-dev

## Building OpenCPU

To build OpenCPU Server (`opencpu-server` and `opencpu-cache`): run this **not** as root.

cd ~
wget https://github.com/opencpu/opencpu-server/archive/v2.0.tar.gz
tar xzf v2.0.tar.gz
cd opencpu-server-2.0
wget https://github.com/opencpu/opencpu-server/archive/v2.1.tar.gz
tar xzf v2.1.tar.gz
cd opencpu-server-2.1
dpkg-buildpackage -us -uc

## Installing OpenCPU server
Expand Down
2 changes: 1 addition & 1 deletion rpm/readme.md
Expand Up @@ -6,7 +6,7 @@

## Binary packages for Fedora, Suse

Ready-to-go opencpu-server rpm packages for recent versions of Fedora and SUSE systems are available [here](http://software.opensuse.org/download.html?project=home:jeroenooms:opencpu-2.0&package=opencpu).
Ready-to-go opencpu-server rpm packages for recent versions of Fedora and SUSE systems are available [here](http://software.opensuse.org/download.html?project=home:jeroenooms:opencpu-2.1&package=opencpu).

## Building from source

Expand Down

0 comments on commit 2a54f89

Please sign in to comment.