Code Monkey home page Code Monkey logo

personal-development-pipeline's Introduction

Personal Development Pipeline

Learn-along exercise in creating enterprise-grade infrastructure.

Notes

This is an evergreen exercise, it SHOULD NOT be used in production; Moreover licenses for specific software should be followed.

Providing with vagrant

WSL2 or linux

Vagrant

curl -O https://releases.hashicorp.com/vagrant/2.2.14/vagrant_2.2.14_x86_64.deb \
    && sudo dpkg -i vagrant_2.2.14_x86_64.deb \
    && rm vagrant_2.2.14_x86_64.deb

# Allow disks to be programatically changed by vagrant
echo 'export VAGRANT_EXPERIMENTAL="disks"' >> ~/.bashrc

# WSL2 Only
echo 'export VAGRANT_WSL_WINDOWS_ACCESS_USER_HOME_PATH="/mnt/f"' >> ~/.bashrc
echo 'export VAGRANT_WSL_ENABLE_WINDOWS_ACCESS="1"' >> ~/.bashrc
# echo 'export VAGRANT_DEFAULT_PROVIDER=hyperv' >> ~/.bashrc

. ~/.bashrc

Ansible

sudo apt install python python3-pip --assume-yes
pip3 install ansible --user

# Add to bashrc to discover ansible 
echo 'PATH=$HOME/.local/bin:$PATH' >> ~/.bashrc

. ~/.bashrc
# Set in /etc/wsl.conf I have the follow configuration
[automount]
enabled = true
root = /mnt/
options = "metadata,umask=22,fmask=11"
Restart-Service -Name "LxssManager"

then run ./bootstrap.sh

Warning! There is a bug in WSL2 and VAGRANT_EXPERIMENTAL="disks"

Vagrant up creates additional disks in directory /mnt/DRIVE_LETTER/... but places it in DRIVE_LETTER:\mnt\DRIVE_LETTER... and because of that it is not cleared with vagrant destroy

DNS

sudo systemctl status systemd-resolved.service

DISABLE DNSSEC:

sudo mkdir -p /etc/systemd/resolved.conf.d
sudo vim /etc/systemd/resolved.conf.d/dnssec.conf
    enter:
        [Resolve]
        DNSSEC=false
sudo systemctl restart systemd-resolved
systemd-resolve –status

Authors

  • Jacek Lipiec - Initial work - Venthe

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgements

personal-development-pipeline's People

Contributors

venthe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ywager vl-kp

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.