First, install LUA1, first install ReadLine, use the command yum install Readline-devel2, download lua-5.3.1.tar.gz, address http://www.lua.org/download.htmlDecompression TAR-ZXVF lua-5.3.1.tar.gzswitch to unzipped directory CD lua-5.3.1compiling make LinuxInstall make installafter the installation is complete, enter LUA at the command line to enter the LUA programming environment. second, install boostYum Install boostYum Install Boost-develYum Install Boost-doc third, installation Jsoncpp1. Download scons and JSON
http://sourceforge.net/projects/jsoncpp/files/jsoncpp/
Http://sourceforge.net/projects/scons/files/scons/2.1.0/scons-2.1.0.tar.gz/download
2, decompression scons set environment variablesTAR-ZXVF scons-2.1.0.tar.gzExport myscons=/root/soft/scons-2.1.0 setting environment variablesexport scons_lib_dir= $MYSCONS/engine3, decompression jsoncpp compilationTAR-ZXVF jsoncpp-src-0.5.0.tar.gzCD jsoncpp-src-0.5.0/python $MYSCONS/script/scons PLATFORM=LINUX-GCC compilation generates the appropriate library4. Copy the generated library to the appropriate directoryCP libs/linux-gcc-4.8.3/libjson_linux-gcc-4.8.3_libmt.a/usr/local/lib Copy the JSON library to the system library fileCP Libs/linux-gcc-4.8.3/libjson_linux-gcc-4.8.3_libmt.so/usr/local/lib
CentOS install LUA boost Jsoncpp