Document Linux server install procedure
This commit is contained in:
parent
8c48956267
commit
2c80c73149
4 changed files with 18 additions and 3 deletions
12
README.md
12
README.md
|
@ -60,6 +60,18 @@ and run `./instalee PACKAGE`.
|
|||
An offline version is possible as well
|
||||
but I did not get around to publishing it yet, just ask :)
|
||||
|
||||
### (Debian) Linux Server
|
||||
|
||||
The classic way I get this onto a Linux server:
|
||||
|
||||
```sh
|
||||
cd /opt
|
||||
sudo chown --from=:root :sudo . && sudo chmod g+w .
|
||||
sudo apt install git
|
||||
git clone https://github.com/xeruf/instalee
|
||||
instalee/instalee shell/basics
|
||||
```
|
||||
|
||||
### Configuration
|
||||
|
||||
All configuration is stored in `INSTALEE_HOME`
|
||||
|
|
|
@ -6,4 +6,6 @@ fd
|
|||
bpytop
|
||||
tree
|
||||
wget
|
||||
|
||||
mosh
|
||||
rsync
|
||||
|
|
|
@ -4,3 +4,4 @@ git
|
|||
tmux
|
||||
curl
|
||||
pfetch
|
||||
instalee
|
||||
|
|
6
instalee
6
instalee
|
@ -182,8 +182,8 @@ if ! test -f "$handlersfile"
|
|||
then
|
||||
copy="$(case "$(uname)" in
|
||||
(MINGW64*) echo "$dir_home/handlers.available.windows";;
|
||||
(*) ls $({ cat /etc/os-release | grep -E '^ID(_LIKE)?=' | cut -d= -f2 | grep . || lsb_release -s -i | tr 'A-Z' 'a-z'; } |
|
||||
sed 's/^/handlers.available./' | paste -d' ' -s) 2>/dev/null | head -1;;
|
||||
(*) ls "$dir_home/$({ cat /etc/os-release | grep -E '^ID(_LIKE)?=' | cut -d= -f2 | grep . || lsb_release -s -i | tr 'A-Z' 'a-z'; } |
|
||||
sed 's/^/handlers.available./' | paste -d' ' -s)" 2>/dev/null | head -1;;
|
||||
esac)" &&
|
||||
test -n "$copy" &&
|
||||
echo "Bootstrapping available handlers from $copy" &&
|
||||
|
@ -208,5 +208,5 @@ while test $# -gt 0; do
|
|||
exitcode=$(expr $exitcode \| $?)
|
||||
shift
|
||||
done
|
||||
case $- in (*x*) $(which tree && echo " -L" || echo "find -maxdepth") 3 "$execdir";; esac
|
||||
case $- in (*x*) $(which tree && echo " $execdir -L" || echo "find $execdir -maxdepth") 3;; esac
|
||||
exit $exitcode
|
||||
|
|
Loading…
Add table
Reference in a new issue