22 lines
616 B
Bash
22 lines
616 B
Bash
#!/bin/sh
|
|
|
|
apt-get update
|
|
apt-get install -y gpg-agent
|
|
gpg --keyserver keyserver.ubuntu.com --recv-keys 871920D1991BC93C
|
|
gpg --export --armor 871920D1991BC93C | apt-key add - && apt-get update
|
|
|
|
# Update Software repository
|
|
apt update
|
|
apt full-upgrade -y
|
|
|
|
# Install base soft
|
|
apt install -y curl wget nano telnet iputils-ping net-tools
|
|
|
|
# Setup timezone
|
|
## set noninteractive installation
|
|
export DEBIAN_FRONTEND=noninteractive
|
|
## install tzdata package
|
|
apt update && apt install -y tzdata
|
|
## set Moscow timezone
|
|
ln -fs /usr/share/zoneinfo/Europe/Moscow /etc/localtime
|
|
dpkg-reconfigure --frontend noninteractive tzdata |