Skip to content
Snippets Groups Projects
Commit fbd6272f authored by Michael Edlich's avatar Michael Edlich
Browse files

Update file install.sh

parent 6fe6197c
No related branches found
No related tags found
No related merge requests found
Pipeline #79258 passed
...@@ -53,6 +53,11 @@ fi ...@@ -53,6 +53,11 @@ fi
sudo sed -i "s/#\$nrconf{restart} = 'i';/\$nrconf{restart} = 'a';/" /etc/needrestart/needrestart.conf sudo sed -i "s/#\$nrconf{restart} = 'i';/\$nrconf{restart} = 'a';/" /etc/needrestart/needrestart.conf
export NEEDRESTART_MODE=a export NEEDRESTART_MODE=a
if [ "$systemOS" = "debian12" ]; then
apt install -y --no-install-recommends ntpdate
sudo ntpdate time.nist.gov
sudo timedatectl set-timezone Europe/Paris
fi
if [ "$systemOS" = "debian12" ] || [ "$systemOS" = "ubuntu22" ] || [ "$systemOS" = "ubuntu24" ]; then if [ "$systemOS" = "debian12" ] || [ "$systemOS" = "ubuntu22" ] || [ "$systemOS" = "ubuntu24" ]; then
...@@ -69,9 +74,7 @@ if [ "$systemOS" = "rocky" ]; then ...@@ -69,9 +74,7 @@ if [ "$systemOS" = "rocky" ]; then
fi fi
if [ "$systemOS" = "debian12" ]; then if [ "$systemOS" = "debian12" ]; then
sudo apt install -y --no-install-recommends xfonts-base ntpdate net-tools xfonts-75dpi xfonts-utils xfonts-encodings x11-common libfontenc1 libxrender1 fontconfig git nginx default-mysql-server gnupg curl apt-transport-https lsb-release ca-certificates wget libjpeg62-turbo telnet whiptail openssl sudo apt install -y --no-install-recommends xfonts-base net-tools xfonts-75dpi xfonts-utils xfonts-encodings x11-common libfontenc1 libxrender1 fontconfig git nginx default-mysql-server gnupg curl apt-transport-https lsb-release ca-certificates wget libjpeg62-turbo telnet whiptail openssl
sudo ntpdate time.nist.gov
sudo timedatectl set-timezone Europe/Paris
apt-key adv --fetch-keys "https://packages.sury.org/php/apt.gpg" > /dev/null 2>&1 apt-key adv --fetch-keys "https://packages.sury.org/php/apt.gpg" > /dev/null 2>&1
sudo wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg sudo wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
sudo echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php.list sudo echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php.list
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment