zoukankan      html  css  js  c++  java
  • CDE: Automatically create portable Linux applications

    CDE: Lightweight application virtualization for Linux

    CDE: Automatically create portable Linux applications

    CDE (formerly known as CDEpack) automatically packages up the Code, Data, and Environment required to deploy and run your Linux programs on other machines without any installation or configuration. CDE is the easiest way to completely eliminate dependency hell.
    To get started, download the CDE binary (32-bit or 64-bit) and follow these steps:
    1. Package
    Prepend any set of Linux commands with the "cde" binary, and CDE will run them and automatically package up all files (e.g., executables, libraries, plug-ins, config/data files) accessed during execution.
    2. Deliver
    A package is simply a directory that can be compressed and delivered to any x86-Linux machine. It contains all the files and environment variables required to run your original commands. Packages can range from 10 to 100 MB in size.
    3. Run
    After receiving the package, the user can now run those same commands from within the package on any modern x86-Linux distro. The user does not need to first compile, install, or configure anything.
    CDE implements a form of lightweight application virtualization that allows you to easily distribute portable software, to deploy applications to the cloud, to make computational experiments reproducible, and to run software on non-native Linux distros without conflicts.

    Below the fold

    CDE is being developed by me, a Computer Science Ph.D. student named Philip Guo. These research papers provide more details about CDE's inner-workings and use cases:

    • Philip J. Guo, Dawson Engler. CDE: Using System Call Interposition to Automatically Create Portable Software Packages. In Proceedings of the 2011 USENIX Annual Technical Conference, June 2011. [ Download PDF | Extended technical report (PDF) ]

    • Philip J. Guo. CDE: Run Any Linux Application On-Demand Without Installation. In Proceedings of the 2011 USENIX Large Installation System Administration Conference (LISA), December 2011. [ Download PDF ]

    CDE delivers on one simple promise: If you can run a set of commands on your Linux machine, then CDE allows others to easily re-run those same commands on their Linux machines.

    To enable Windows and Mac users to run your CDE packages, you can embed them within a virtual machine (e.g., using a lightweight distro like Tiny Core Linux).

    An astute reader will notice that CDE packages might be incomplete since they only contain the files accessed on executed paths. It's easy to manually augment packages with additional files to make them complete.

    Demos

    This 4-minute screencast shows what CDE can do:

  • 相关阅读:
    python开发第一篇:初识python
    python开发第二篇 :python基础
    nfs下的exportfs命令和nfs客户端重新挂载
    centos7安装epel源
    vim查找替换
    keepalive基础知识
    nginx基本配置各个参数说明
    centos7下搭建nfs服务
    systemctl命令
    mariadb入门
  • 原文地址:https://www.cnblogs.com/lexus/p/2891780.html
Copyright © 2011-2022 走看看