From 40126f6e2f6fb9a517c80d31cd34624fff50e4d1 Mon Sep 17 00:00:00 2001 From: "Philip Sargent (laptop)" Date: Mon, 1 May 2023 22:01:47 +0300 Subject: [PATCH] fixing laptop SNowWHite --- os-trog.sh | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/os-trog.sh b/os-trog.sh index bf18cbe..c6ff0e0 100644 --- a/os-trog.sh +++ b/os-trog.sh @@ -6,7 +6,7 @@ echo 'Run this in a terminal in the troggle directory: "bash venv-trog.sh"' cat /etc/os-release # Expects an Ubuntu 22.04 relatively clean install. -sudo apt install python-is-python3 -y +#sudo apt install python-is-python3 -y python --version : ensure python is an alias for python3 not python2.7 sudo apt update -y sudo apt dist-upgrade -y @@ -33,30 +33,28 @@ sudo apt install git openssh-client -y # sudo python3.10 -m pip install -U virtualenv # as debian does not install everything that ubuntu does, you need: -sudo useradd expo -sudo usermod -a -G sudo expo # to put expo in sudoers group, re-login required +# sudo useradd expo +# sudo usermod -a -G sudo expo # to put expo in sudoers group, re-login required + # default since 22.04 # sudo apt install python3.10 -sudo apt install python3.10-venv -y -sudo apt install python3.10-dev -y -sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.10 1 +# sudo apt install python3.10-venv -y +# sudo apt install python3.10-dev -y +# sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.10 1 -sudo apt install mariadb-server -y -sudo apt install libmariadb-dev -y +# sudo apt install mariadb-server -y +# sudo apt install libmariadb-dev -y sudo python -m pip install --upgrade pip sudo apt install sftp -y -echo '###' -echo '### NOW INSTALLING tunnel and therion, go and have a cup of tea. Or a 3-course meal.' -echo '###' -sudo apt install tunnelx therion -y + # Go to https://expo.survex.com/handbook/troggle/troglaptop.html#dbtools # sudo service mysql start -git config --global user.email "you@example.com" -git config --global user.name "Your Name" +echo '### git config --global user.email "you@example.com" +echo '### git config --global user.name "Your Name" echo '###' echo '### Currently set version of python' @@ -65,3 +63,8 @@ python --version echo '###' echo '### Now YOU have to configure the git settings for YOURSELF (not "expo")' +echo '###' +echo '### NOW INSTALLING tunnel and therion, go and have a cup of tea. Or a 3-course meal.' +echo '###' +sudo apt install tunnelx therion -y +