Document Linux server install procedure

This commit is contained in:
xeruf 2023-12-21 23:34:11 +03:00
parent 8c48956267
commit 2c80c73149
4 changed files with 18 additions and 3 deletions

View File

@ -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`

View File

@ -6,4 +6,6 @@ fd
bpytop
tree
wget
mosh
rsync

View File

@ -4,3 +4,4 @@ git
tmux
curl
pfetch
instalee

View File

@ -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