在CentOS下面打Rpm包时用 make install DESTDIR=%{buildroot} ,而在FreeBSD下用make PREFIX=/usr/local/redis install 好像也成:
cd /usr/ports/databases/redis
make PREFIX=/usr/local/redis install
/usr/local/redis/bin/redis-server
/usr/local/redis/bin/redis-cli
/usr/local/redis/bin/redis-check-rdb
/usr/local/redis/bin/redis-benchmark
/usr/local/redis/bin/redis-sentinel
From:https://www.iyunv.com/thread-51148-1-1.html
最新版本5.0:
/usr/local/bin/gmake PREFIX=/usr/local/redis/ install clean
cd /usr/ports/databases/redis
make PREFIX=/usr/local/redis install
/usr/local/redis/bin/redis-server
/usr/local/redis/bin/redis-cli
/usr/local/redis/bin/redis-check-rdb
/usr/local/redis/bin/redis-benchmark
/usr/local/redis/bin/redis-sentinel
From:https://www.iyunv.com/thread-51148-1-1.html
最新版本5.0:
/usr/local/bin/gmake PREFIX=/usr/local/redis/ install clean
作者:jackxiang@向东博客 专注WEB应用 构架之美 --- 构架之美,在于尽态极妍 | 应用之美,在于药到病除
地址:https://jackxiang.com/post/9486/
版权所有。转载时必须以链接形式注明作者和原始出处及本声明!
最后编辑: jackxiang 编辑于2019-7-18 23:43
评论列表