mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-25 16:51:54 +00:00
fixing laptop SNowWHite
This commit is contained in:
parent
1ccd9c418b
commit
40126f6e2f
31
os-trog.sh
31
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
|
cat /etc/os-release
|
||||||
# Expects an Ubuntu 22.04 relatively clean install.
|
# 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
|
python --version : ensure python is an alias for python3 not python2.7
|
||||||
sudo apt update -y
|
sudo apt update -y
|
||||||
sudo apt dist-upgrade -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
|
# sudo python3.10 -m pip install -U virtualenv
|
||||||
|
|
||||||
# as debian does not install everything that ubuntu does, you need:
|
# as debian does not install everything that ubuntu does, you need:
|
||||||
sudo useradd expo
|
# sudo useradd expo
|
||||||
sudo usermod -a -G sudo expo # to put expo in sudoers group, re-login required
|
# sudo usermod -a -G sudo expo # to put expo in sudoers group, re-login required
|
||||||
|
|
||||||
# default since 22.04
|
# default since 22.04
|
||||||
# sudo apt install python3.10
|
# sudo apt install python3.10
|
||||||
sudo apt install python3.10-venv -y
|
# sudo apt install python3.10-venv -y
|
||||||
sudo apt install python3.10-dev -y
|
# sudo apt install python3.10-dev -y
|
||||||
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.10 1
|
# sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.10 1
|
||||||
|
|
||||||
sudo apt install mariadb-server -y
|
# sudo apt install mariadb-server -y
|
||||||
sudo apt install libmariadb-dev -y
|
# sudo apt install libmariadb-dev -y
|
||||||
|
|
||||||
sudo python -m pip install --upgrade pip
|
sudo python -m pip install --upgrade pip
|
||||||
|
|
||||||
sudo apt install sftp -y
|
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
|
# Go to https://expo.survex.com/handbook/troggle/troglaptop.html#dbtools
|
||||||
# sudo service mysql start
|
# sudo service mysql start
|
||||||
|
|
||||||
git config --global user.email "you@example.com"
|
echo '### git config --global user.email "you@example.com"
|
||||||
git config --global user.name "Your Name"
|
echo '### git config --global user.name "Your Name"
|
||||||
|
|
||||||
echo '###'
|
echo '###'
|
||||||
echo '### Currently set version of python'
|
echo '### Currently set version of python'
|
||||||
@ -65,3 +63,8 @@ python --version
|
|||||||
echo '###'
|
echo '###'
|
||||||
echo '### Now YOU have to configure the git settings for YOURSELF (not "expo")'
|
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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user