Hello everyone, I've created this post to explain how we can create a Windows Server VM using Vagrant with some extra applications. We will learn how to install all of the tools that we need to make our server VM. We will need Vagrant, Chocolatey, Git, Hugo and VSCode.
Write a readable tuto with Markdown
Hi everyone,
Here is how I write technicals articles, to make it readable, and usefull for the future myself who want to remember how to use that technical stuff I wrote an article about several month ago.
How to deploy an Ubuntu virtual machine
This post will explain to you how to deploy an Ubuntu machine very easily and quick!
What do you need?
We will use 2 tools to make the deployment of the Ubuntu vm very fast!
These tools are Vagrant and Virtual Box.
Installation
By Download
Note that you have to choose the OS where you wish to install the tool (Linux, Windows, etc...)
Vagrant -> download Vagrant
Virtual Box -> download Virtualbox
By using package management
Windows - Chocolatey
To start you need to install Chocolatey. For that I have a post explaining how to it correctly here -> Now that you have installed Chocolatey lets use it. Lets start with VirtualBox, so for this use the following command:
choco install virtualbox
And now Vagrant:
choco install vagrant
Linux - apt
This is the same concept as choco install but for Linux of course. So, for Linux, we will use apt install. For VirtualBox:
sudo apt install virtualbox
For Vagrant:
sudo apt install vagrant
Deployment:
So, first we need the Vagrant box (don't forget to see the Vagrant post on the page to learn a bit more about Vagrant boxes). For this example we will use Ubuntu 18.04 LTS
Now, in your local machine, access your terminal, create a folder for your Vagrant box and, inside your new folder, type:
vagrant init ubuntu/bionic64
Doing this will add the box to your local Vagrant. And now, let's create our Ubuntu virtual machine! So tap in your terminal:
vagrant up
And there it is! Your first fresh and clean Ubuntu vm!
Utiliser les archetypes
Today I want to talk about the archetypes of the Hugo site generation engine. This very powerful engine is used to generate these pages.
Managing content in a Hugo site
This article has the very simple objective of demystifying the elements that we want to have on the site (image in the articles, avatar, etc.). It is all the more subtle that the behavior you get with Hugo as a web server, a Hugo site deployed on gitlab Pages or a cloud cluster are not the same depending on the standard you choose to apply.
Go on Hugo for gitlab CI/CD
To be honnest, I wasn't sure that would be the best website FW i would discover. Actually, using md files, fast build for html producing, and the gitlab CI/CD compliance is something very exciting !
But you should start carefully, because the quickstart isn't compliant with a gitlab Pages deployment.
About The Page
Hello World, this is a blog about general IT items, like Vagrant, Ansible, Docker, Git, CI/CD, etc.
It's only a support to formalize the research activities of two bad it boys.
About the website:
Here are some information about the technical stack of the website.
The Stack

To provide this website, we're running the JAMstack: Javascript, Apis, Mark-up languages.
More precisely, our stack is composed by:
We are writing articles in arkdown, using Cloudinary to store and share images. The blog is build with hugo, tested and deployed on Netlify by Gitlab CI/CD.
Here is our workflow:
{{}}



