Step 0: create snapshot from desired disk, example name: disk-snapshot-20171026
For development use, we need to have consul running on localhost. When using a Macbook (Air), we need to specify the “-bind=0.0.0.0” and “-client=0.0.0.0” in order to have programs (tests) access to the consul agent in the container:
To install EPEL-7
% rpm -ivh http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm
Also, enable it by default, edit /etc/yum.repos.d/remi.repo and set ‘enable=1’ under section of [remi] and [remi-
In python, for cropping image I use PIL. However the dependencies of PIL is huge, also need to install some lib*-dev packages.