Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

ACS is a framework for implementing a distributed container/component software machine. You can use it to develop and run custom components with some desired functionality. In these tutorials we will explore its main features, from and for someone new to this tool, in order to gain familiarity with the framework. Hopefully we will find some interesting ways of using ACS coding simple experimental components. ACS may seem big and complex at first, but we will code our way out of this image, in a condensed approach.

In this tutorial First we will write and run example ACS modules in Python, Java and C++ install ACS inside a Docker container based in a CentOS 7 image, in an Ubuntu 20.04 machine.

...

Code Block
languagebash
sudo apt update

# Git LFS
sudo apt install git-lfs

# SELinux
sudo apt install policycoreutils selinux-utils selinux-basics
sudo selinux-activate
sudo selinux-config-enforcing

# Docker
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"
sudo apt install docker-ce
sudo usermod -aG docker ${USER}

# Docker Compose
sudo curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose

...