Giter Site home page Giter Site logo

lux-selinux-demo's Introduction

lux-selinux-demo

The commands, packages, and files shown that we are going to see today will be shown on CentOS 7. The concepts remain the same for other distributions.

We will be running the commands as the root user unless otherwise stated. If you don't have access to the root account and use another account with sudo privileges, you need to precede the commands with the sudo keyword.

Test System

We will start with a bare installation of CentOS 7 with minimal packages installed and install additional software on the VM with default configurations.

We will also create a few test user accounts for training purpose. Finaly, will install needed SELinux-related packages. This is to ensure we can work with the latest SELinux commands.

To speed up the process we will use a combination of Vagrant VM provisioner and Virtualbox VM provider.

Additional software

We will need some additional software to run the course

git version control system

For windows/mac users can be download at: Official Website

ssh client

We can use either git-bash (for windows) or native ssh client for linux/mac

Virtualbox & Vagrant

Virtualbox can be downloaded at Official website for all supported platforms

Same goes for Vagrant Official site

Cloning Vagrant scripts

git clone https://github.com/DmyMi/lux-selinux-demo.git
cd lux-selinux-demo
vagrant up # start provisioning, will take 5-15 minutes
vagrant ssh # when provisioning is successful

When you issue a reboot, use the following command inside the VM:

mount -t vboxsf -o uid=1000,gid=1000 vagrant /vagrant

lux-selinux-demo's People

Contributors

dmymi avatar

Watchers

 avatar

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.