Install mxnet under CentOS (similar to installing mxnet under Amazon Linux), refer to the official documentation http://mxnet.io/get_started/setup.html#prerequisites,
The installation steps are as follows:
####################################################################### This script installs MXNet forPython along with all required dependencies on a Amazon Linux machine.############################################## ####################### #set-e# CMake is required forinstalling dependencies.sudo Yum Install-y cmake# Set appropriate library pathEnvvariablesEcho 'export Path=/usr/local/bin: $PATH'>> ~/. profileEcho 'export ld_library_path=/usr/local/lib: $LD _library_path'>> ~/. profileEcho 'export pkg_config_path=/usr/local/lib/pkgconfig: $PKG _config_path'>> ~/. profileEcho '. ~/.profile'>> ~/. Bashrcsource~/. profile# InstallGCC-4.8/ Makeand other development tools on Amazon linux# reference:http://docs.aws.amazon.com/awsec2/latest/userguide/compile-software.html# Install Python, Numpy, Scipy and set up tools.sudo YumGroupinstall-y"Development Tools"sudo Yum Install-Y python27 python27-setuptools python27-Toolssudo Yum Install-y python27-numpy python27-scipy python27-nose python27-matplotlib# Install Openblas at/usr/local/openblasgit clone https://Github.com/xianyi/openblasCD Openblas MakeFc=gfortran-j $ (($ (NPROC) +1))sudo MakePrefix=/usr/localInstallCD.. # Install OpenCV at/usr/local/opencvgit clone https://GITHUB.COM/OPENCV/OPENCVCD OpenCVmkdir-P BUILDCD Buildcmake-D build_opencv_gpu=off-d with_eigen=on-d with_tbb=on-d with_cuda=off-d with_1394=off-d cmake_build_type=release-d C make_install_prefix=/usr/Local..sudo MakePrefix=/usr/localInstall# ExportEnvVariables forPkg configexport Pkg_config_path=/usr/local/lib/pkgconfig: $PKG _config_path
Here are some places to be aware of installing OPENCV:
1, if parked in the download IPPICV place, you can download ippicv_linux_20151201.tgz (link: http://www.linuxfromscratch.org/blfs/view/7.9/general/opencv.html),
Then copy the IPPICV file you just downloaded into the OpenCV source directory below: 3rdparty/ippicv/downloads/linux-808b791a6eac9ed78d32a7666804320e
CENTOS7 Install the deployment mxnet