CBL-Mariner is the Linux distribution developed by Microsoft. Before you get excited, let's not talk about a complete operating system that will eventually replace Windows.
Microsoft Distribution, CBL-Mariner is a cloud / edge distribution specifically designed to provide "a consistent platform for these devices and services and enhance Microsoft's ability to stay up to date with Linux updates."
The CBL-Mariner distribution is Microsoft that redeems Linux at the right time. Linux is at the heart of almost every major technology. Edge, containers, Internet of Things, Kubernetes are all Linux, and the CBL-Mariner distribution is designed to have a small set of basic packages that can meet the "edge services needs".
It is a lightweight Linux distribution that can be used for anything you need (except from desktop). Here to mention that there is no ISO to download and install. But you can build the CBL-Mariner distribution from within Ubuntu.
The instructions of the company require its use Ubuntu 18.04 instead of the latter LTS 20.04. However, it can also be created on 20.04, but instead of installing python-minimal, you should install python2-minimal.
You will need to spend 30-60 minutes to create the platform. Below we will see how you can create Microsoft CBL-Mariner Linux
Αρχικά, θα πρέπει να έχετε ένα pc with Ubuntu Linux. Συνδεθείτε, ανοίξτε ένα terminal and run all the following commands:
sudo add-apt-repository ppa: longsleep / golang-backports sudo apt-get update sudo apt -y install make tar wget curl rpm qemu-utils golang-1.15-go genisoimage python-minimal bison gawk sudo apt -y install pigz sudo ln -vsf /usr/lib/go-1.15/bin/go / usr / bin / go curl -fsSL https://get.docker.com -o get-docker.sh sudo sh get-docker.sh sudo usermod -aG docker $ USER
At this point, log out and log in again. Reopen the terminal and continue:
git clone https://github.com/microsoft/CBL-Mariner.git pushd CBL-Mariner / toolkit git checkout 1.0-stable sudo make package-toolkit REBUILD_TOOLS = y popd git clone https://github.com/microsoft/CBL -MarinerDemo.git pushd CBL-MarinerDemo cp ../CBL-Mariner/out/toolkit-*.tar.gz ./ tar -xzvf toolkit - *. Tar.gz cd ~ / CBL-MarinerDemo / toolkitt sudo make image CONFIG_FILE = ../imageconfigs/demo_vhd.json
Η τελευταία εντολή θα χρειαστεί αρκετό χρόνο, αλλά θα αποκτήσετε ένα VDH (θα αποθηκευτεί στο στο ~/CBL-MarinerDemo/out/images/demo_vhd/) που μπορείτε να χρησιμοποιήσετε για να δημιουργήσετε μια εικονική μηχανή με το VirtualBox. Μόλις ξεκινήσετε το VM, θα δείτε το CBL-Mariner. Μπορείτε να συνδεθείτε με root/p@ssw0rd.
Microsoft seems to have realized that the corporate backend works, so it had no choice but to create a Linux version for containers, IoT, edge, etc.
At this time, it appears that CBL-Mariner is for internal use only. According to the GitHub page: CBL-Mariner is an internal Linux distribution for Microsoft's cloud infrastructure for edge products and services.
That doesn't mean that Microsoft won't eventually release this core distribution to the public. No one can say what will happen tomorrow. That's why there is the whole procedure που περιγράψαμε παραπάνω. Αν η διανομή CBL-Mariner κυκλοφορήσει και πέρα από το εσωτερικό της Microsoft, η εταιρεία θα πρέπει να το διαθέσει και σαν εικόνα ISO και να μην απαιτεί από τους users to create it manually.
