zoukankan      html  css  js  c++  java
  • (OK) install-ubuntu-IMUNES-CORE-DOCKER


    sudo passwd
    sudo apt-get install linux-headers-$(uname -r) build-essential
    sudo apt-get install autoconf
    sudo apt-get install libtool

    sudo apt-get install libreadline5-dev
    sudo apt-get install libreadline-gplv2-dev
    sudo apt-get install texinfo

    sudo apt-get install python-dev
    sudo apt-get install libev-dev
    sudo apt-get install bridge-utils ebtables help2man

    sudo apt-get update
    sudo apt-get install apt-transport-https ca-certificates
    sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D


    sudo apt-get install linux-image-extra-$(uname -r)

    sudo apt-get install openvswitch docker-io xterm wireshark-gnome ImageMagick tcl tcllib tk kernel-modules-extra util-linux
    sudo apt-get install

    sudo apt-get install libncurses5-dev
    sudo apt-get install libncursesw5-dev
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    FROM ubuntu:14.04.3
    MAINTAINER Stuart Marsden <stuartmarsden@finmars.co.uk>

    sudo apt-get update
    sudo apt-get install -y xvfb x11vnc x11-apps
    sudo apt-get install -y wget libjbig0 libtcl8.5 libtiff5 libtk-img libtk8.5 tcl8.5 tk8.5
    sudo apt-get install -y openbox
    sudo apt-get install -y bridge-utils ebtables iproute libev4 libev-dev python libxml2 libprotobuf8 python-protobuf libpcap0.8 libpcre3 libuuid1 libace-6.0.3 python-lxml python-setuptools

    sudo apt-get install python-pkg-resources=3.3-1ubuntu1

    sudo apt-get install -y traceroute mgen openssh-server iperf tcpdump wireshark

    dpkg -i core-gui_4.8-0ubuntu1_trusty_all.deb core-daemon_4.8-0ubuntu1_trusty_amd64.deb quagga-mr_0.99.21mr2.2_amd64.deb

    ----------------------------------------------

    service core-daemon status
    service core-daemon start

    ps aux|grep docker

    sudo service docker start
    sudo service docker restart

    sudo service core-daemon start
    sudo service core-daemon restart

    sudo docker version
    sudo docker pull busybox

    docker images
    docker tag bc744c4ab376 busybox:core

    --------no use
    sudo apt-get install python-html5lib-whl python-requests-whl python-setuptools-whl python-six-whl python-urllib3-whl
    sudo apt-get install python-pip-whl=1.5.4-1ubuntu3
    sudo apt-get install python-dev-all
    sudo apt-get install python-wheel
    --------
    sudo apt-get install python-pip        //no use, to use the following commands
    ---
    curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
    sudo python get-pip.py
    pip --help
    pip -V
    ---
    sudo pip install docker-py

    // then
    sudo service core-daemon restart
    core-gui


    //http://askubuntu.com/questions/598483/how-can-i-use-kernel-3-19-in-14-04-now
    //The easiest way to install kernel to 3.19 in Ubuntu 14.04 is to run:
    sudo apt-get install linux-generic-lts-vivid

    +++++++++++++++
    grep -P "submenu|^menuentry" /boot/grub/grub.cfg | cut -d "'" -f2

    sudo grub-set-default "Advanced options for Ubuntu"
    grub-editenv list

    sudo grub-mkconfig -o /boot/grub/grub.cfg
    +++++++++++++++
    sudo apt-get install apparmor lxc cgroup-lite
    sudo apt-get  install docker.io
    # if you installed docker.io first, you'll have to start it manually
    sudo docker -d
    sudo docker run --rm -it busybox /bin/sh


    sudo groupadd docker
    sudo chown root:docker /var/run/docker.sock
    sudo usermod -a -G docker $USERNAME
    sudo gpasswd -a user docker




    tar zxvf emane-0.9.2-release-1.ubuntu-14_04.amd64.tar.gz
    dpkg -i emane-0.9.2-release-1/debs/ubuntu-14_04/amd64/emane*.deb

    RUN mkdir ~/.vnc
    RUN x11vnc -storepasswd coreemu ~/.vnc/passwd
    RUN rm -r *.deb emane-0.9.2-release-1*
    ADD startCore.sh startCore.sh


  • 相关阅读:
    服务器性能测试实时监控Linux命令
    软件性能测试中的关键指标
    递归静态路由和直连静态路由
    FIB表与RIB表的区别与联系
    FIB表中 Next Hop 的几种状态码(drop/receive/attached/no route)的含义
    Leetcode 与树(TreeNode )相关的题解测试工具函数总结
    centos 7.6 docker 安装 nextcloud -使用sqlite数据库
    看守所收押流程
    qt编译oracle驱动,qt 5.12 连接 oracle 数据库示例代码
    centos 7.6 安装配置nginx (显示中文目录,带密码验证)
  • 原文地址:https://www.cnblogs.com/ztguang/p/12646658.html
Copyright © 2011-2022 走看看