Skip to content

Installation

HX Lin edited this page Apr 4, 2019 · 46 revisions

rDSN has been built on the following platforms, and here are the quick summaries.

Ubuntu 16.04 LTS x86_64 with gcc 5.3.1/Ubuntu 14.04 LTS x86_64 with gcc 4.8.2
~$ sudo apt-get install build-essential
~$ sudo apt-get install git
~$ sudo apt-get install cmake
~$ sudo apt-get install php-cli   # For Ubuntu 16.04 LTS
~$ sudo apt-get install php5-cli  # For Ubuntu 14.04 LTS
~$ sudo apt-get install libboost-all-dev
~$ sudo apt-get install libaio-dev
~/projects$ git clone https://github.com/Microsoft/rdsn.git
~/projects/rdsn$ ./run.sh build --build_plugins
~/projects/rdsn$ ./run.sh start_zk
~/projects/rdsn$ ./run.sh test
~/projects/rdsn$ ./run.sh stop_zk
~/projects/rdsn$ ./run.sh install
Windows 8.1/Server 2012 R2/10 with Visual Studio 2015 and 2017.

install Visual Studio 2017, or Visual Studio 2015

install GitHub Windows

open "x64 Native Tools Command Prompt" for Visual Studio

c:\projects> git clone https://github.com/Microsoft/rDSN.git
c:\Projects\rDSN> run.cmd build Debug builddbg build_plugins
c:\Projects\rDSN> run.cmd start_zk
c:\Projects\rDSN> run.cmd test Debug builddbg
c:\Projects\rDSN> run.cmd stop_zk
c:\Projects\rDSN> run.cmd install Debug builddbg

If everything is as expected, congratulations, and you are ready to try our tutorial to develop your first service with rDSN, as well as cluster demo to experience how rDSN will help your service registration, deployment, and operation.