Prepaing insall scripts
Creating description and installation scripts
This commit is contained in:
2
packages.txt
Normal file
2
packages.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
curl
|
||||
mc less vim tcpdump hwinfo
|
||||
11
scripts/docker-noroot.sh
Executable file
11
scripts/docker-noroot.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
# https://docs.docker.com/engine/install/linux-postinstall/
|
||||
|
||||
set -x
|
||||
|
||||
sudo groupadd docker
|
||||
sudo usermod -aG docker $USER
|
||||
#newgrp docker
|
||||
#docker run hello-world
|
||||
|
||||
12
scripts/git-config.sh
Normal file
12
scripts/git-config.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
git config --global user.name "Martin Blazik"
|
||||
git config --global user.email martin.blazik@gooddata.com
|
||||
|
||||
git config --global core.editor vim
|
||||
|
||||
git config --global alias.co checkout
|
||||
git config --global alias.br branch
|
||||
git config --global alias.ci commit
|
||||
git config --global alias.st status
|
||||
|
||||
11
scripts/git-prompt-install.sh
Normal file
11
scripts/git-prompt-install.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
# https://github.com/magicmonty/bash-git-prompt
|
||||
|
||||
git clone https://github.com/magicmonty/bash-git-prompt.git ~/.bash-git-prompt --depth=1
|
||||
|
||||
# ~/.bashrc
|
||||
if [ -f "$HOME/.bash-git-prompt/gitprompt.sh" ]; then
|
||||
GIT_PROMPT_ONLY_IN_REPO=1
|
||||
source $HOME/.bash-git-prompt/gitprompt.sh
|
||||
fi
|
||||
|
||||
11
scripts/gw-install.sh
Executable file
11
scripts/gw-install.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
# https://github.com/To-da/gdub
|
||||
|
||||
set -x
|
||||
|
||||
cd $HOME/src/other
|
||||
git clone https://github.com/dougborg/gdub.git
|
||||
cd gdub
|
||||
sudo ./install
|
||||
|
||||
10
scripts/spotify-install.sh
Executable file
10
scripts/spotify-install.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
# https://www.spotify.com/cz/download/linux/
|
||||
|
||||
set -x
|
||||
|
||||
curl -sS https://download.spotify.com/debian/pubkey.gpg | sudo apt-key add -
|
||||
echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list
|
||||
sudo apt-get update && sudo apt-get install spotify-client
|
||||
|
||||
12
scripts/sublime-install.sh
Executable file
12
scripts/sublime-install.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
# https://www.sublimetext.com/docs/3/linux_repositories.html#apt
|
||||
|
||||
set -x
|
||||
|
||||
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
|
||||
sudo apt-get install apt-transport-https
|
||||
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
|
||||
sudo apt-get update
|
||||
sudo apt-get install sublime-text
|
||||
|
||||
Reference in New Issue
Block a user