Skip to content

Commit 29af4af

Browse files
authored
Create ubuntu-setup.sh for testing a project
1 parent cec910a commit 29af4af

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

ubuntu-setup.sh

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Derived from https://stackoverflow.microsoft.com/articles/285523#heading-configuring-linux-desktop-new-install
2+
3+
# Pre-Req for compliance policy - Configure minimum password strength
4+
sudo apt install libpam-pwquality
5+
# check that the pam_pwquality line in /etc/pam.d/common-password contains at least the required settings:
6+
password requisite pam_pwquality.so retry=3 dcredit=-1 ocredit=-1 ucredit=-1 lcredit=-1 minlen=12
7+
8+
# Step 1 - Add the apt sources & install for Edge and Intune
9+
10+
# Install Curl
11+
sudo apt install curl
12+
13+
# Install Microsoft's public key
14+
curl -sSl https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc
15+
16+
# Install the standard focal production repo
17+
curl https://packages.microsoft.com/config/ubuntu/20.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft-ubuntu-focal-prod.list
18+
19+
# Install Edge's dev channel repo
20+
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" > /etc/apt/sources.list.d/microsoft-edge-dev.list'
21+
22+
sudo apt update
23+
24+
# Install Edge
25+
sudo apt install microsoft-edge-dev
26+
27+
# Install Intune
28+
sudo apt install intune-portal

0 commit comments

Comments
 (0)