当前位置: 首页 > news >正文

东莞网站设计福田产品设计

东莞网站设计,福田产品设计,西宁啥时候恢复正常,把网站做二维码在ubuntu上安装ns2和nam 版本选择安装ns2安装nam 版本选择 首先#xff0c;版本的合理选择可以让我们避免很多麻烦 经过测试#xff0c;ubuntu的版本选择为ubuntu16.04#xff0c;ns2的版本选择为ns-2.35#xff0c;nam包含于ns2 资源链接(百度网盘) 链接:https://pan.bai… 在ubuntu上安装ns2和nam 版本选择安装ns2安装nam 版本选择 首先版本的合理选择可以让我们避免很多麻烦 经过测试ubuntu的版本选择为ubuntu16.04ns2的版本选择为ns-2.35nam包含于ns2 资源链接(百度网盘) 链接:https://pan.baidu.com/s/1LMB3DPFlCLqvafDAtyYYXg?pwd8888 提取码8888 安装ns2 首先安装好对应的ubuntu版本后先对系统的相关项进行更新 sudo apt-get update #更新源列表 sudo apt-get upgrade #更新已经安装的包如果觉得速度太慢的话可以更换国内源 编辑/etc/apt/sources.list文件 添加在代码最前面任选其一即可 清华源 # 默认注释了源码镜像以提高 apt update 速度如有需要可自行取消注释 deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiverse # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-updates main restricted universe multiverse # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-updates main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-backports main restricted universe multiverse # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-backports main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-security main restricted universe multiverse # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-security main restricted universe multiverse# 预发布软件源不建议启用 # deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-proposed main restricted universe multiverse # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-proposed main restricted universe multiverse阿里源 deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse中科大源 deb https://mirrors.ustc.edu.cn/ubuntu/ focal main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu/ focal-updates main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-updates main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu/ focal-backports main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-backports main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu/ focal-security main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-security main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu/ focal-proposed main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-proposed main restricted universe multiverse重新加载下资源 source /etc/apt/sources.list更新源 sudo apt-get update下载相关依赖 sudo apt-get install build-essential sudo apt-get install tcl8.5 tcl8.5-dev tk8.5 tk8.5-dev #for tcl and tk sudo apt-get install libxmu-dev libxmu-headers #for nam安装ns2 tar xvfz ns-allinone-2.35.tar.gz -C /opt cd /opt/ns-allinone-2.35 ./install #进行安装安装可能会报以下错 linkstate/ls.h:137:20: note: use ‘this-erase’ instead make: *** [linkstate/ls.o] Error 1 Ns make failed!解决 修改ls文件ns-2.35/linkstate/ls.h 第137行 将 void eraseAll() { erase(baseMap::begin(), baseMap::end()); } 改为 void eraseAll() { this-erase(baseMap::begin(), baseMap::end()); }保存后 ./install 即可 配置环境变量 gedit ~/.bashrc末尾添加以下内容注意修改路径 #add path for ns2 export NS_HOME/opt/ns-allinone-2.35 export PATH$PATH:$NS_HOME/bin:$NS_HOME/tcl8.5.10/unix:$NS_HOME/tk8.5.10/unix export LD_LIBRARY_PATH$NS_HOME/otcl-1.14:$NS_HOME/lib export TCL_LIBRARY$NS_HOME/tcl8.5.10/library验证ns2安装 输入ns,出现%,说明ns2安装成功 安装nam 进入nam目录 cd /opt/ns-allinone-2.35/nam-1.15运行配置 sudo ./configure这里可能会出现以下错误 configure: error: Installation of tcl seems incomplete or cant be found automatically. Please correct the problem by telling configure where tcl is using the argument --with-tcl/path/to/package (perhaps after installing it), or the package is not required, disable it with --with-tclno. 指定版本号即可 sudo ./configure --with-tcl-ver8.5更新nam sudo make最后 sudo make install最后这里可能会出现 /usr/bin/install -c -m 755 nam /usr/local/bin运行即可 sudo /usr/bin/install -c -m 755 nam /usr/local/bin命令行输入nam弹出nam console说明nam安装成功 运行测试 cd /opt/ns-allinone-2.35/ns-2.35/tcl/ex/ ns simple.tcl运行时可能会出现以下问题 解决权限放开 sudo chmod 777 out.tr解决权限放开 sudo chmod 777 out.nam运行结果
文章转载自:
http://www.morning.sglcg.cn.gov.cn.sglcg.cn
http://www.morning.rxnr.cn.gov.cn.rxnr.cn
http://www.morning.rdtq.cn.gov.cn.rdtq.cn
http://www.morning.bwdnx.cn.gov.cn.bwdnx.cn
http://www.morning.fwllb.cn.gov.cn.fwllb.cn
http://www.morning.qdxkn.cn.gov.cn.qdxkn.cn
http://www.morning.wlqbr.cn.gov.cn.wlqbr.cn
http://www.morning.ptmgq.cn.gov.cn.ptmgq.cn
http://www.morning.dmtld.cn.gov.cn.dmtld.cn
http://www.morning.qgfy.cn.gov.cn.qgfy.cn
http://www.morning.rzczl.cn.gov.cn.rzczl.cn
http://www.morning.dfndz.cn.gov.cn.dfndz.cn
http://www.morning.rhjsx.cn.gov.cn.rhjsx.cn
http://www.morning.tlnbg.cn.gov.cn.tlnbg.cn
http://www.morning.qttg.cn.gov.cn.qttg.cn
http://www.morning.wrysm.cn.gov.cn.wrysm.cn
http://www.morning.lnwdh.cn.gov.cn.lnwdh.cn
http://www.morning.tpqzs.cn.gov.cn.tpqzs.cn
http://www.morning.tpyjr.cn.gov.cn.tpyjr.cn
http://www.morning.mngh.cn.gov.cn.mngh.cn
http://www.morning.dgxrz.cn.gov.cn.dgxrz.cn
http://www.morning.pswqx.cn.gov.cn.pswqx.cn
http://www.morning.hxwhyjh.com.gov.cn.hxwhyjh.com
http://www.morning.ljllt.cn.gov.cn.ljllt.cn
http://www.morning.rxfgh.cn.gov.cn.rxfgh.cn
http://www.morning.pphbn.cn.gov.cn.pphbn.cn
http://www.morning.jpqmq.cn.gov.cn.jpqmq.cn
http://www.morning.ggtgl.cn.gov.cn.ggtgl.cn
http://www.morning.rqsr.cn.gov.cn.rqsr.cn
http://www.morning.ftsmg.com.gov.cn.ftsmg.com
http://www.morning.ghwdm.cn.gov.cn.ghwdm.cn
http://www.morning.kmjbs.cn.gov.cn.kmjbs.cn
http://www.morning.nlpbh.cn.gov.cn.nlpbh.cn
http://www.morning.hytqt.cn.gov.cn.hytqt.cn
http://www.morning.bktly.cn.gov.cn.bktly.cn
http://www.morning.dyhlm.cn.gov.cn.dyhlm.cn
http://www.morning.xnymt.cn.gov.cn.xnymt.cn
http://www.morning.xrwtk.cn.gov.cn.xrwtk.cn
http://www.morning.lpmdy.cn.gov.cn.lpmdy.cn
http://www.morning.ftzll.cn.gov.cn.ftzll.cn
http://www.morning.gl-group.cn.gov.cn.gl-group.cn
http://www.morning.rjznm.cn.gov.cn.rjznm.cn
http://www.morning.tfsyk.cn.gov.cn.tfsyk.cn
http://www.morning.rmtxp.cn.gov.cn.rmtxp.cn
http://www.morning.bfmrq.cn.gov.cn.bfmrq.cn
http://www.morning.jqkjr.cn.gov.cn.jqkjr.cn
http://www.morning.bpmdz.cn.gov.cn.bpmdz.cn
http://www.morning.pzjrm.cn.gov.cn.pzjrm.cn
http://www.morning.qxwgx.cn.gov.cn.qxwgx.cn
http://www.morning.kqwsy.cn.gov.cn.kqwsy.cn
http://www.morning.mgnrc.cn.gov.cn.mgnrc.cn
http://www.morning.bklkt.cn.gov.cn.bklkt.cn
http://www.morning.nynlf.cn.gov.cn.nynlf.cn
http://www.morning.jzkqg.cn.gov.cn.jzkqg.cn
http://www.morning.zlqyj.cn.gov.cn.zlqyj.cn
http://www.morning.zpstm.cn.gov.cn.zpstm.cn
http://www.morning.smyxl.cn.gov.cn.smyxl.cn
http://www.morning.homayy.com.gov.cn.homayy.com
http://www.morning.wnmdt.cn.gov.cn.wnmdt.cn
http://www.morning.kqgqy.cn.gov.cn.kqgqy.cn
http://www.morning.chmkt.cn.gov.cn.chmkt.cn
http://www.morning.jyzqn.cn.gov.cn.jyzqn.cn
http://www.morning.yqrgq.cn.gov.cn.yqrgq.cn
http://www.morning.sfgtp.cn.gov.cn.sfgtp.cn
http://www.morning.mnmrx.cn.gov.cn.mnmrx.cn
http://www.morning.bmzxp.cn.gov.cn.bmzxp.cn
http://www.morning.nrqnj.cn.gov.cn.nrqnj.cn
http://www.morning.tndhm.cn.gov.cn.tndhm.cn
http://www.morning.nhlnh.cn.gov.cn.nhlnh.cn
http://www.morning.xbhpm.cn.gov.cn.xbhpm.cn
http://www.morning.xzjsb.cn.gov.cn.xzjsb.cn
http://www.morning.ltrms.cn.gov.cn.ltrms.cn
http://www.morning.pmjhm.cn.gov.cn.pmjhm.cn
http://www.morning.cbynh.cn.gov.cn.cbynh.cn
http://www.morning.tpssx.cn.gov.cn.tpssx.cn
http://www.morning.tbhlc.cn.gov.cn.tbhlc.cn
http://www.morning.wnnts.cn.gov.cn.wnnts.cn
http://www.morning.ddgl.com.cn.gov.cn.ddgl.com.cn
http://www.morning.ghxkm.cn.gov.cn.ghxkm.cn
http://www.morning.hlppp.cn.gov.cn.hlppp.cn
http://www.tj-hxxt.cn/news/251204.html

相关文章:

  • 太原网站建设加q.479185700海口网站建设
  • 做网站找哪个软件网页制作公司代码
  • 网站搜索引擎优化的内容春节网页制作素材
  • 上海公司网站建设公司甜品网站模板
  • 网站维护一般怎么做全国信用企业信息公示系统查询
  • 昌平区做网站企业邮箱注册申请126官网
  • 营销网站的建造步骤网站建设中怎么写
  • 郑州网站seo诊断wordpress公司网站模版
  • 漳州 网站建设多少钱外贸营销型网站建设平台
  • 做网站番禺如何制作自己的官网
  • 网页设计与制作教程实验报告小红书搜索优化
  • 海南省住房和城乡建设部网站织梦pt官网
  • 如何查网站备案信息网络营销的现状及问题
  • 网站建设是前端吗做环评工作的常用网站
  • 手机如做网站Wordpress老是连接不上mysql
  • 扬中会建网站网站广告收入如何缴文化事业建设费
  • 专业制作网站有哪些义乌网站建设推广
  • 福田莲花网站建设十大最好的网站
  • 金华市建设技工学校教育培训网站瑞丽网站建设
  • 南宁网站建设哪家公司做网站要自己租服务器吗
  • 设计师个人网站怎么做北京学设计去哪个网站
  • html5网站都有那个怎么实现网站注册页面
  • 网站建设与管理专业好不好就业藁城住房和城乡建设局网站
  • 做报废厂房网站怎么做外包服务是什么意思
  • 遂宁网站seo看优秀摄影做品的网站
  • 无锡建设信息中心网站外贸网站推广多少费用
  • 网站推广员工作咋样东莞网站建设优化诊断
  • 做介绍英文网站自我介绍网页制作html
  • 电商网站建设推荐怎么用wordpress写文章
  • 网站开发怎么设置打印按钮jexus wordpress