Installing the xlxc bash scripts

This task is a prerequisite for the recommended flow of installing and managing vSLX containers.

Note

Note

You need to perform this task only once per physical or virtual device.
  1. Log in to the x86 server as a user with sudo privileges.
    Note

    Note

    Although all sudo users can create and access all containers, our user in this flow is vlab1_user, created in Creating additional Linux users.
  2. Install lxc using the following commands, confirming prompts to continue.
    vlab1_user@ubuntu:~$ sudo apt-get update
    vlab1_user@ubuntu:~$ sudo apt-get install lxc
  3. Install the xlxc bash scripts, which are wrappers over the Linux lxc commands.
    vlab1_user@ubuntu:~$ sudo dpkg -i /slxos-dist/extreme-lxc_2.0.0.deb
  4. For help on the xlxc options:
    • For a list of sub-commands, enter xlxc help.
      vlab1_user@ubuntu:~$ xlxc help
    • For help on a sub-command, enter xlxc help <sub-command>.
      vlab1_user@ubuntu:~$ xlxc help create