CentOS7 installation and configuration
1, the installation is minimized using VirtualBox centos
Set the system memory size: 3072MB; set hard disk size: 20GB, Format: Normal (VDI)
2, centos configure a static ip
VirtualBox host to modify the current network settings
Into the current host console, modify the network card settings
vi /etc/sysconfig/network-scripts/ifcfg-enp0s3
vi /etc/sysconfig/network-scripts/ifcfg-enp0s3
Redis installation and configuration
1, redis and upload to the installation package rubygems / stx / app, and install
mkdir -p /sxt/app
cd /stx/app
cd /stx/app
Or use wget to download
yum -y install wget
wget http://download.redis.io/releases/redis-3.0.6.tar.gz
wget https ://rubygems.org/rubygems/rubygems-3.0.6.tgz
wget http://download.redis.io/releases/redis-3.0.6.tar.gz
wget https ://rubygems.org/rubygems/rubygems-3.0.6.tgz
Gcc installed dependence
yum install gcc-c++
Redis extracting archive
takes -zxvf redis-
3.0. 6.tar.gz
Compile redis
cd redis-3.0.6
make
make
Install redis
mdir /usr/local/redis
make install PREFIX=/usr/local/redis
make install PREFIX=/usr/local/redis