Compare commits
4 Commits
41b6cfbfb3
...
8f990dfd3e
| Author | SHA1 | Date | |
|---|---|---|---|
|
8f990dfd3e
|
|||
|
12fe7630b1
|
|||
|
6d46e36f46
|
|||
|
3db1b4ba9b
|
@@ -1,12 +1,14 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
. "../src/01-common.sh" || exit 5
|
echo
|
||||||
title "Installing git..."
|
echo "==============================================="
|
||||||
|
echo "Installing git..."
|
||||||
|
echo "==============================================="
|
||||||
|
echo
|
||||||
|
|
||||||
if installed 'git'; then
|
if installed git; then
|
||||||
[ ! -d "/usr/src/git" ] && sudo git clone https://github.com/git/git.git --depth=1 /usr/src/git
|
[ ! -d "/usr/src/git" ] && sudo git clone https://github.com/git/git.git --depth=1 /usr/src/git
|
||||||
sudo chown -R anthony: /usr/src/git
|
sudo chown -R anthony: /usr/src/git
|
||||||
cd /usr/src/git/
|
cd /usr/src/git/
|
||||||
# sudo git pull
|
|
||||||
sudo make prefix=/usr/local all
|
sudo make prefix=/usr/local all
|
||||||
sudo make prefix=/usr/local install
|
sudo make prefix=/usr/local install
|
||||||
else
|
else
|
||||||
@@ -21,4 +23,4 @@ else
|
|||||||
sudo git clone https://github.com/git/git.git --depth=1 /usr/src/git
|
sudo git clone https://github.com/git/git.git --depth=1 /usr/src/git
|
||||||
sudo chown -R anthony: /usr/src/git
|
sudo chown -R anthony: /usr/src/git
|
||||||
fi
|
fi
|
||||||
success "$(git --version)"
|
git --version
|
||||||
|
|||||||
@@ -1,21 +1,24 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
. "../src/01-common.sh" || exit 5
|
echo
|
||||||
title "Installing docker..."
|
echo "==============================================="
|
||||||
|
echo "Installing docker..."
|
||||||
|
echo "==============================================="
|
||||||
|
echo
|
||||||
|
|
||||||
# https://docs.docker.com/engine/install/ubuntu/
|
# https://docs.docker.com/engine/install/ubuntu/
|
||||||
|
|
||||||
# curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
|
# curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
|
||||||
# sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"
|
# sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"
|
||||||
# sudo apt update
|
# sudo apt update
|
||||||
# apti docker-ce docker-compose
|
# sudo apt install -y --autoremove docker-ce docker-compose
|
||||||
|
|
||||||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
|
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
|
||||||
echo \
|
echo \
|
||||||
"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
|
"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
|
||||||
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
|
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
|
||||||
sudo apt update
|
sudo apt update
|
||||||
apti docker-ce docker-ce-cli containerd.io
|
sudo apt install -y --autoremove docker-ce docker-ce-cli containerd.io
|
||||||
|
|
||||||
sudo usermod -aG docker anthony
|
sudo usermod -aG docker anthony
|
||||||
|
|
||||||
success "You need to logout and log in again to apply docker group"
|
echo "You need to logout and log in again to apply docker group"
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
. "../src/01-common.sh" || exit 5
|
echo
|
||||||
title "Installing ulauncher from apt..."
|
echo "==============================================="
|
||||||
|
echo "Installing ulauncher..."
|
||||||
|
echo "==============================================="
|
||||||
|
echo
|
||||||
|
|
||||||
sudo add-apt-repository ppa:agornostal/ulauncher
|
sudo add-apt-repository ppa:agornostal/ulauncher
|
||||||
apti ulauncher
|
sudo apt install -y --autoremove ulauncher
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
. "../src/01-common.sh" || exit 5
|
echo
|
||||||
title "Installing syncthing..."
|
echo "==============================================="
|
||||||
|
echo "Installing syncthing..."
|
||||||
|
echo "==============================================="
|
||||||
|
echo
|
||||||
|
|
||||||
# https://apt.syncthing.net/
|
# https://apt.syncthing.net/
|
||||||
|
|
||||||
@@ -14,8 +17,8 @@ echo "deb [signed-by=/usr/share/keyrings/syncthing-archive-keyring.gpg] https://
|
|||||||
echo "deb [signed-by=/usr/share/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing candidate" | sudo tee /etc/apt/sources.list.d/syncthing.list
|
echo "deb [signed-by=/usr/share/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing candidate" | sudo tee /etc/apt/sources.list.d/syncthing.list
|
||||||
|
|
||||||
# Update and install syncthing:
|
# Update and install syncthing:
|
||||||
aptu
|
sudo apt update
|
||||||
apti syncthing
|
sudo apt install -y --autoremove syncthing
|
||||||
|
|
||||||
wget "https://raw.githubusercontent.com/syncthing/syncthing/main/etc/linux-desktop/syncthing-start.desktop" -O /home/anthony/.local/share/applications/syncthing-start.desktop
|
wget "https://raw.githubusercontent.com/syncthing/syncthing/main/etc/linux-desktop/syncthing-start.desktop" -O /home/anthony/.local/share/applications/syncthing-start.desktop
|
||||||
wget "https://raw.githubusercontent.com/syncthing/syncthing/main/etc/linux-desktop/syncthing-ui.desktop" -O /home/anthony/.local/share/applications/syncthing-ui.desktop
|
wget "https://raw.githubusercontent.com/syncthing/syncthing/main/etc/linux-desktop/syncthing-ui.desktop" -O /home/anthony/.local/share/applications/syncthing-ui.desktop
|
||||||
|
|||||||
Reference in New Issue
Block a user