ThinkChat🤖让你学习和工作更高效,注册即送10W Token,即刻开启你的AI之旅 广告
debian打包需要用到的命令 ``` apt-get update apt-get install ruby-dev ruby-full build-essential libssl-dev gem sources -a http://mirrors.aliyun.com/rubygems/ gem sources --remove https://rubygems.org/ gem install fpm ``` 使用fpm打包deb软包,由于fpm和Debian打包规则不一致,使用deb-no-default-config-files禁用这种默认行为 ``` fpm -s dir -t deb -n redis_install -v 1.0 --deb-no-default-config-files --post-install /root/install_scripts/auto_redis.sh -f /root/install_scripts/ ```