Skip to content

Commit

Permalink
update redis install
Browse files Browse the repository at this point in the history
  • Loading branch information
zhu2688 committed Nov 12, 2018
1 parent b056a9e commit c960312
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion centos/centos69.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,17 @@ curl -L -o /usr/local/src/redis-${REDIS}.tar.gz http://download.redis.io/release
tar xzf redis-${REDIS}.tar.gz
cd redis-${REDIS} || exit 1
make && make install
sh ./utils/install_server.sh
mkdir -p /etc/redis
cp -f *.conf /etc/redis
sed -i -e 's/redis_\${REDIS_PORT}/redis-server/' ./utils/install_server.sh
sed -i -e 's/redis_\$REDIS_PORT/redis-server/' ./utils/install_server.sh
cat << CMD | ./utils/install_server.sh
6379
/etc/redis/redis.conf
CMD

## install mysql

Expand Down

0 comments on commit c960312

Please sign in to comment.