Installing Microsoft Casablanca (cpprestsdk) on RHEL7 / CentOS7

This is a library used to run a HTTP/HTTPS server for a REST API. Prerequisites devtoolset-7 (might not be required, but this is what I built/tested with) boost (built-in boost 1.53 no good for casablanca) websocketpp Shell commands in install cpprestsdk sudo yum -y install openssl-devel mkdir -p ~/src && cd ~/src git clone https://github.com/Microsoft/cpprestsdk.git …

Installing Microsoft Casablanca (cpprestsdk) on RHEL7 / CentOS7 Read More »

Installing Websocketpp on RHEL7 / CentOS7

This is a requirement for cpprestsdk (Microsoft Casablanca). sudo yum -y install cmake3 mkdir -p ~/src && cd ~/src git clone https://github.com/zaphoyd/websocketpp.git cd websocketpp mkdir build && cd build && cmake3 .. make sudo make install  

Installing boost on RHEL7/CentOS7

The following is an example of how to to install boost on RHEL7 or CentOS7. The boost version here is 1.68 and the library selection was based on requirements for a Microsoft Casablanca (cpprestsdk) build. These particular notes assume GCC 7.2 built from source. mkdir -p ~/src && cd ~/src wget https://dl.bintray.com/boostorg/release/1.68.0/source/boost_1_68_0.tar.gz tar xf boost_1_68_0.tar.gz …

Installing boost on RHEL7/CentOS7 Read More »

SQLite3 on RHEL7/CentOS7

Building and installing SQLite3 mkdir -p ~/src && cd ~/src wget https://www.sqlite.org/2018/sqlite-autoconf-3250200.tar.gz tar xf sqlite-autoconf-3250200.tar.gz cd sqlite-autoconf-3250200 ./configure && make sudo make install  

RHEL7 devtoolset-7

Installing devtoolset-7 on Red Hat Enterprise Linux (RHEL) 7 and persistently enabling sudo yum-config-manager –enable rhel-server-rhscl-7-rpms sudo yum -y install devtoolset-7 echo “source scl_source enable devtoolset-7 &> /dev/null” >> ~/.bashrc source ~/.bashrc For CentOS7, run “sudo yum install centos-release-scl” instead of firstyum-config-manager command.