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 An offline version is possible as well
but I did not get around to publishing it yet, just ask :) 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 ### Configuration
All configuration is stored in `INSTALEE_HOME` All configuration is stored in `INSTALEE_HOME`

View file

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

View file

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

View file

@ -182,8 +182,8 @@ if ! test -f "$handlersfile"
then then
copy="$(case "$(uname)" in copy="$(case "$(uname)" in
(MINGW64*) echo "$dir_home/handlers.available.windows";; (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'; } | (*) 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;; sed 's/^/handlers.available./' | paste -d' ' -s)" 2>/dev/null | head -1;;
esac)" && esac)" &&
test -n "$copy" && test -n "$copy" &&
echo "Bootstrapping available handlers from $copy" && echo "Bootstrapping available handlers from $copy" &&
@ -208,5 +208,5 @@ while test $# -gt 0; do
exitcode=$(expr $exitcode \| $?) exitcode=$(expr $exitcode \| $?)
shift shift
done 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 exit $exitcode