sudo apt update && sudo apt upgrade

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
%define debug_package %{nil} | |
Name: predixy | |
Version: 1.0.5 | |
Release: 1%{?dist} | |
Summary: Predixy is a redis smart proxy. It supports redis sentinel and redis cluster. | |
Group: Development/Databases | |
License: BSD 3 | |
URL: https://github.com/joyieldInc/predixy |
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
#!/bin/bash | |
aptitude -y install expect | |
// Not required in actual script | |
MYSQL_ROOT_PASSWORD=abcd1234 | |
SECURE_MYSQL=$(expect -c " | |
set timeout 10 |