zoukankan      html  css  js  c++  java
  • Etherlab debian安装记录

    debian wheezy 7.11(虚拟机安装选择桥接网卡)

    #set ustc source
    #apt-get install sudo
    #nano /etc/sudoers;add userName ALL=(ALL) ALL
    #apt-get install linux-image-3.2.0-4-rt-amd64 linux-headers-3.2.0-4-rt-amd64
    #apt-get install mercurial
    #hg clone http://hg.code.sf.net/p/etherlabmaster/code ethercat-hg
    #cd ethercat-hg
    #hg update stable-1.5
    #cd ethercat-hg
    #apt-get install autoconf
    #apt-get install libtool
    #./bootstrap
    #./configure
    #apt-get install g++
    #apt-get install make; if unexist
    #make
    #make modules
    #make install
    #make modules_install install
    #cd /opt/etherlab/
    #sudo mkdir /etc/sysconfig/
    #sudo cp etc/sysconfig/ethercat /etc/sysconfig/
    #sudo ifconfig;get mac address:08:00:27:61:85:xx
    #MASTER0_DEVICE="08:00:27:61:85:xx"   
    #DEVICE_MODULES="generic"
    #sudo cp /opt/etherlab/etc/init.d/ethercat /etc/init.d/
    #sudo depmod
    #sudo /etc/init.d/ethercat start
    #sudo ln -s /opt/etherlab/bin/ethercat /usr/local/bin/ethercat
    #sudo ethercat sl;get slave for test
    #sudo ethercat pdos;get pdos for test··
  • 相关阅读:
    DDD 领域驱动设计
    IOC 控制反转
    WCF
    Lucene 全文检索引擎
    Redis
    Cache 缓存
    return
    PHP中empty();和isset();的区别.
    sql 简单用语
    关系型数据库
  • 原文地址:https://www.cnblogs.com/winshton/p/8256907.html
Copyright © 2011-2022 走看看