This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Simple MySQL systemd service file | |
| # | |
| # systemd supports lots of fancy features, look here (and linked docs) for a full list: | |
| # http://www.freedesktop.org/software/systemd/man/systemd.exec.html | |
| # | |
| # Note: this file ( /usr/lib/systemd/system/mysql.service ) | |
| # will be overwritten on package upgrade, please copy the file to | |
| # | |
| # /etc/systemd/system/mysql.service |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /var/lib/redis/logs/redis.log { | |
| daily | |
| rotate 14 | |
| copytruncate | |
| delaycompress | |
| compress | |
| notifempty | |
| missingok | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # see How to Install Redis Server on CentOS 7 - http://linoxide.com/storage/install-redis-server-centos-7/ | |
| # --- Compiling --- | |
| $ yum install gcc make tcl | |
| $ REDIS_VER=3.2.3 | |
| $ wget http://download.redis.io/releases/redis-$REDIS_VER.tar.gz | |
| $ tar xzvf redis-$REDIS_VER.tar.gz | |
| $ cd redis-$REDIS_VER | |
| $ make | |
| $ make test |