mirror of https://github.com/tteck/Proxmox.git
feat: address review comments
This commit is contained in:
parent
6064ddf446
commit
56137432a9
|
@ -8,7 +8,8 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build
|
||||||
function header_info {
|
function header_info {
|
||||||
clear
|
clear
|
||||||
cat <<"EOF"
|
cat <<"EOF"
|
||||||
____ ___
|
|
||||||
|
____ ___
|
||||||
/ __ \___ ____/ (_)____
|
/ __ \___ ____/ (_)____
|
||||||
/ /_/ / _ \/ __ / / ___/
|
/ /_/ / _ \/ __ / / ___/
|
||||||
/ _, _/ __/ /_/ / (__ )
|
/ _, _/ __/ /_/ / (__ )
|
||||||
|
|
|
@ -19,17 +19,15 @@ $STD apt-get install -y sudo
|
||||||
$STD apt-get install -y mc
|
$STD apt-get install -y mc
|
||||||
$STD apt-get install -y apt-transport-https
|
$STD apt-get install -y apt-transport-https
|
||||||
$STD apt-get install -y gnupg
|
$STD apt-get install -y gnupg
|
||||||
$STD apt-get install -y lsb-release
|
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
msg_info "Installing Redis"
|
msg_info "Installing Redis"
|
||||||
curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg
|
curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg
|
||||||
echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list
|
echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(grep '^VERSION_CODENAME=' /etc/os-release | cut -d'=' -f2) main" | sudo tee /etc/apt/sources.list.d/redis.list
|
||||||
$STD apt-get update
|
$STD apt-get update
|
||||||
$STD apt-get install -y redis
|
$STD apt-get install -y redis
|
||||||
sed -i 's/^bind .*/bind 0.0.0.0/' /etc/redis/redis.conf
|
sed -i 's/^bind .*/bind 0.0.0.0/' /etc/redis/redis.conf
|
||||||
systemctl enable -q redis-server.service
|
systemctl enable -q --now redis-server.service
|
||||||
systemctl restart -q redis-server.service
|
|
||||||
msg_ok "Installed Redis"
|
msg_ok "Installed Redis"
|
||||||
|
|
||||||
motd_ssh
|
motd_ssh
|
||||||
|
|
Loading…
Reference in New Issue