Skip to content

Instantly share code, notes, and snippets.

@ljchuello
Created October 7, 2023 02:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ljchuello/63e249d1b35617ac640b96465538fc74 to your computer and use it in GitHub Desktop.
Save ljchuello/63e249d1b35617ac640b96465538fc74 to your computer and use it in GitHub Desktop.
Con este script, actualizamos los paquetes, instalamos la ultima version .NET Core LTS, instalamos Python y Glances como servicio
#! /bin/bash
# Actualizamos
sudo apt update && sudo apt upgrade -y
# .NET Core
curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --channel LTS --install-dir /usr/share/dotnet
ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
# Python
apt install python3
apt install python3-dev -y
apt install python3-pip -y
# Glances
wget -O- https://bit.ly/glances | /bin/bash
cd /etc/systemd/system/
wget -O glances.service "https://gist.githubusercontent.com/ljchuello/77a4a71e8d3c4242355ac76e60b2ff17/raw/1e769877764e7fea40ad1a7b26994770b97d958c/NODELETE-glances.service"
systemctl start glances
systemctl enable glances
cd /root
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment