Create Sample Install Scripts

This commit is contained in:
GuilhermeWerner
2021-02-01 13:50:33 -03:00
parent 00daaa111b
commit d63f6663f1
3 changed files with 42 additions and 0 deletions

0
Install.bat Normal file
View File

1
Install.command Normal file
View File

@ -0,0 +1 @@
#!/bin/zsh

41
Install.sh Normal file
View File

@ -0,0 +1,41 @@
#!/bin/bash
sudo apt update && sudo apt upgrade -y
sudo apt install -y git curl nano build-essential ffmpeg
# ASDF
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.8.0
# Nginx
sudo apt install -y nginx
sudo ufw enable
sudo ufw allow 'Nginx HTTP'
# Node
asdf plugin-add nodejs https://github.com/asdf-vm/asdf-nodejs.git
bash -c '${ASDF_DATA_DIR:=$HOME/.asdf}/plugins/nodejs/bin/import-release-team-keyring'
bash -c '${ASDF_DATA_DIR:=$HOME/.asdf}/plugins/nodejs/bin/import-previous-release-team-keyring'
npm i yarn -g
# Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# Python
sudo apt install -y python3-pip libssl-dev libffi-dev python3-dev python3-venv
# Redis
sudo apt install -y redis-server
# Java
sudo apt install -y default-jre default-jdk