Setup my personal machine installing manually is too dull, so I created this automated installation using Ansible to help with this stuff. Ansible is a configuration management tool too used throughout the world, I recommend it.
To clone this repository:
$ git clone https://github.com/Samuellucas97/MySetup.git
$ cd MySetup
- Basic Linux packages
- ☑️ net-tools
- ☑️ curl
- ☑️ htop
- ☑️ Java JDK 17
- ☑️ VSCode IDE
- ❎ Oh My Bash
- ❎ Google Chrome
-
Install Git (version >= 2.25.1)
- Execute on terminal:
sudo apt install git
. - To check if it was installed:
git --version
.
- Execute on terminal:
-
Install Python (version >= 3.8.10)
- Execute on terminal:
sudo apt install python3.8
. - Open
~/.bashrc
file and insertalias python=python3
. - To check if it was installed:
python --version
.
- Execute on terminal:
-
Install Ansible (version >= 2.12.4)
- Execute on terminal:
sudo apt install ansible
. - To check if it was installed:
ansible --version
.
- Execute on terminal:
Run the following command on terminal:
$ sudo ansible-playbook -i "localhost," -c local setup_ubuntu20_04.yml
Always you change some of the YAML files, do not forget to use this command:
$ ansible-playbook setup_ubuntu20_04.yml --check