-
Notifications
You must be signed in to change notification settings - Fork 0
/
instubp1arm.sh
31 lines (23 loc) · 917 Bytes
/
instubp1arm.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
apt update
###################################
#### Install updated Ubuntu Version
###################################
apt install --install-recommends linux-generic-hwe-20.04 -y
apt upgrade -y
apt install mlocate sntp ntpdate software-properties-common -y
hostnamectl set-hostname $2
##############################
#### Change MariaDB repository
##############################
#apt-key adv --fetch-keys 'https://mariadb.org/mariadb_release_signing_key.asc'
#add-apt-repository 'deb [arch=ppc64el,amd64,arm64] https://mirror.mva-n.net/mariadb/repo/10.5/ubuntu focal main'
apt update
#passwd root
echo "root:$1" | chpasswd # set root password -
##############################
#### Install Virtualmin
##############################
wget -O virtualmin-install_arm.sh https://raw.githubusercontent.com/fdmgit/install-ubuntu/main/virtualmin-install_arm.sh
sh virtualmin-install_arm.sh -y
reboot