安装NS为什么会提示命令提示符大全无法找到

Ubuntu14.04下安装NS2.35
1.&&&& 预先安装几个组件:sudo apt-get install build-essential& & &&sudo apt-get install tcl8.4 tcl8.4-devtk8.4 tk8.4-dev & & &sudo apt-get install libxmu-dev&2.&&&& 命令解压安装包tar xvfz nsallinone2.31.tar.gz&3.&&&& 安装cd /home/administrator/ns-allinone-2.35./install&4.&&&& 错误解析:In file included from linkstate/ls.cc:67:0:linkstate/ls.h: In instantiation of ‘voidLsMap::eraseAll() [with Key = T = LsIdSeq]’:linkstate/ls.cc:396:28: required from herelinkstate/ls.h:137:20: error: ‘erase’ was notdeclared in this scope, and no declarations were found by argument-dependentlookup at the point of instantiation [-fpermissive]linkstate/ls.h:137:20: note: declarations independent base ‘std::map, std::allocator & &’ are not found byunqualified lookuplinkstate/ls.h:137:20: note: use ‘this-&erase’insteadmake: *** [linkstate/ls.o] Error 1Ns make failed!(1).find -name ls.h显示出错误的绝对路径:gedit ./ns-2.35/linkstate/ls.h&(2)gedit ./ns-2.35/linkstate/ls.h&(3)在文本编辑器gedit下更改错误:--错误显示为:void eraseALL{erase(baseMap::begin(),baseMap::end());}--错误更改提示:note:use ‘this-&erase’instead--方法:gedit下搜索erase(baseMap::begin(),baseMap::end()),然后在文本编辑器gedit里边在erase前加上this-&,变为:voideraseALL{this-&erase(baseMap::begin(),baseMap::end());}&更改后保存,重新./install&错误提示:Ns-allinone package has been installedsuccessfully.Here are the installation places:tcl8.5.10:/home/ubuntu/ns-allinone-2.35/{bin,include,lib}tk8.5.10:/home/ubuntu/ns-allinone-2.35/{bin,include,lib}otcl: /home/ubuntu/ns-allinone-2.35/otcl-1.14tclcl: /home/ubuntu/ns-allinone-2.35/tclcl-1.20ns: /home/ubuntu/ns-allinone-2.35/ns-2.35/nsnam: /home/ubuntu/ns-allinone-2.35/nam-1.15/namxgraph:/home/ubuntu/ns-allinone-2.35/xgraph-12.2gt-itm: &/home/ubuntu/ns-allinone-2.35/itm, edriver, sgb2alt, sgb2ns, sgb2comns,sgb2hierns----------------------------------------------------------------------------------Please put/home/ubuntu/ns-allinone-2.35/bin:/home/ubuntu/ns-allinone-2.35/tcl8.5.10/unix:/home/ubuntu/ns-allinone-2.35/tk8.5.10/unixinto your PATH so that you'll beable to run itm/tclsh/wish/xgraph.IMPORTANT NOTICES:(1) You MUST put/home/ubuntu/ns-allinone-2.35/otcl-1.14,/home/ubuntu/ns-allinone-2.35/lib,&& & into your LD_LIBRARY_PATHenvironment variable.& & If it complains about X libraries,add path to your X libraries&& & into LD_LIBRARY_PATH.& & If you are using csh, you can setit like:setenv LD_LIBRARY_PATH &paths&& & If you are using sh, you can setit like:export LD_LIBRARY_PATH=&paths&(2) You MUST put /home/ubuntu/ns-allinone-2.35/tcl8.5.10/libraryinto your TCL_LIBRARY environmental& & variable. Otherwise ns/nam willcomplain during startup.(4)环境更改:按着提示修改环境变量,到home目录下gedit &~/.bashrc&或者& sudo vim .bashrc在文件最后加入:exportPATH=&$PATH:/home/administrator/ns-allinone-2.35/bin:/home/administrator/ns-allinone-2.35/tcl8.5.10/unix:/home/administrator/ns-allinone-2.35/tk8.5.10/unix&&exportLD_LIBRARY_PATH=&$LD_LIBRARY_PATH:/home/administrator/ns-allinone-2.35/otcl-1.14,/home/administrator/ns-allinone-2.35/lib&&exportTCL_LIBRARY=&$TCL_LIBRARY:home/administrator/ns-allinone-2.35/tcl8.5.10/library&&注意安装路径的更改&(5)关闭终端,重启终端输入ns,出现%;OK!!!
> 本站内容系网友提交或本网编辑转载,其目的在于传递更多信息,并不代表本网赞同其观点和对其真实性负责。如涉及作品内容、版权和其它问题,请及时与本网联系,我们将在第一时间删除内容!
Unbuntu13.04下安装ns-allinone-2.35ns-allinone-2.35的安装应该是比较简单的,但是会出现一些小小的问题.同鞋们,只要耐心处理,加上一点点动脑,都能处理好.ns2简介NS2是指NetworkSimulator version 2,NS(NetworkSimulator)是一种针对网络技术的源代码公开的.免费的软件模拟平台 ...
Unbuntu13.04下安装ns-allinone-2.35 ns-allinone-2.35的安装应该是比较简单的,但是会出现一些小小的问题.同鞋们,只要耐心处理,加上一点点动脑,都能处理好. ns2简介 NS2是指NetworkSimulator version 2,NS(NetworkSimulator)是一种针对网络技术的源代码公开的.免费的软件模 ...
本文地址:/archimedes/p/hadoop-standalone-mode.html,转载请注明源地址. 欢迎关注我的个人博客:, 更多云计算与大数据的精彩文章 一.在Ubuntu下创建hadoop组和hadoop用户 1.创建hadoop用户组 sudo addgroup
在Ubuntu14.04下安装Hadoop2.4.0 (单机模式)基础上配置
一.配置core-site.xml
/usr/local/hadoop/etc/hadoop/core-site.xml 包含了hadoop启动时的配置信息.
编辑器中打开此文件
sudo gedit /usr/local/hadoop/etc/hado ...
Ubuntu14.04下安装Flash Player :~$ sudo apt-get install flashplugin-nonfree [sudo] password for youhaidong: 对不起,请重试. [sudo] password for youhaidong: 正在读取软件包列表... 完 ...
在Ubuntu14.04下安装Hadoop2.4.0 (单机模式)基础上配置 一.配置core-site.xml
/usr/local/hadoop/etc/hadoop/core-site.xml 包含了hadoop启动时的配置信息.
编辑器中打开此文件
sudo gedit /usr/local/hadoop/etc/hadoop/co ...
转自:/_dragonwarrior/blog/item/ba462fdc070fde43ccbf1a9e.html
Ubuntu 10.04 下 安装 NS2.30 1. NS2下载
在OpenSource中search
我下载的版本是NS2.30, 下载的文件为ns-allinone- ...
原文章链接为: /kinglau/p/3796164.html 在Ubuntu14.04下安装Hadoop2.4.0 (单机模式) 一.配置core-site.xml
/usr/local/hadoop/etc/hadoop/core-site.xml 包含了hadoop启动时的配置信息.
编辑器中 ...您现在的位置:>>
>>正文内容
[求助]win8下键入NS命令后新闻不能正常显示 [大智慧]
咨询详情:
大智慧客服:
已在.cn/dispbbs.asp?boardid=126&Id=1900303该贴回复您,您操作后有问题再留言。
大智慧技术:
您好,我两次给您的回复都未看到您再留言,是不是没有看到这张帖,我们需要核实您看不到是怎么样的情况,才能判断您是电脑字体问题还是ui资讯端口问题。
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ:
&进行 有偿 编写!
【字体: 】【】【】
没有相关内容
&本月热门排行
&用户常看内容
会员登录/注册Ubuntu11.04下安装ns-allinone-2.34的总结_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
Ubuntu11.04下安装ns-allinone-2.34的总结
上传于||暂无简介
阅读已结束,如果下载本文需要使用2下载券
想免费下载本文?
你可能喜欢docker 安装nsenter 命令-中国学网-中国IT综合门户网站
$&&wget&https://www.kernel.org/pub/linux/utils/util-linux/v2.27/util-linux-2.27.tar.gz
$&tar&-zxvf&util-linux-2.27.tar.gz
$&cd&util-linux-2.27
$&./configure&--without-ncurses&&&&make&nsenter
cp&nsenter&/usr/local/bin
需要安装gcc&
yum&install&&-y&gcc
$&sudo&docker&run&-idt&ubuntu
$sudo&docker&ps
$&PID=$(docker-pid&243c32535da7)
ps:docker-pid 命令会提示有问题
$&wget&-P&~&/yeasy/docker_practice/raw/master/_local/.bashrc_
$&echo&"[&-f&~/.bashrc_docker&]&&&&.&~/.bashrc_docker"&&&&~/.&source&~/.bashrc
PID=$(docker inspect --format "{{ .State.Pid }}" &container&)
通过这个 PID,就可以连接到这个容器:
$ nsenter --target $PID --mount --uts --ipc --net --pid
下面给出一个完整的例子。
$&sudo&docker&run&-idt&ubuntu
243c3fb0e6df616a3c3ada0b8aba9e1c251f499f550
$&sudo&docker&ps
CONTAINER&ID&IMAGE&COMMAND&CREATED&STATUS&PORTS&243c32535da7&ubuntu:latest&"/bin/bash"&18&seconds&ago&Up&17&seconds&$&PID=$(docker-pid&243c32535da7)
$&sudo&nsenter&--target&10981&--mount&--uts&--ipc&--net&--pid
root@243c32535da7:/#
更简单的,建议大家下载 .bashrc_docker,并将内容放到 .bashrc 中。
$&wget&-P&~&/yeasy/docker_practice/raw/master/_local/.bashrc_
$&echo&"[&-f&~/.bashrc_docker&]&&&&.&~/.bashrc_docker"&&&&~/.&source&~/.bashrc
本文相关搜索Ubuntu14.04下安装NS2.35
Ubuntu14.04下安装NS2.35
[摘要:1. 预先装置几个组件: sudo apt-get install build-essential sudo apt-get install tcl8.4 tcl8.4-devtk8.4 tk8.4-dev sudo apt-get install libxmu-dev 2. 敕令解压装置包 tar xvfz nsallinone2.31.tar.gz 3. 装置 cd /home/administrat]
1.&&&& 预先安装几个组件:
sudo apt-get install build-essential& & &&
sudo apt-get install tcl8.4 tcl8.4-devtk8.4 tk8.4-dev & & &
sudo apt-get install libxmu-dev
2.&&&& 命令解压安装包
tar xvfz nsallinone2.31.tar.gz
3.&&&& 安装
cd /home/administrator/ns-allinone-2.35
4.&&&& 错误解析:
In file included from linkstate/ls.cc:67:0:
linkstate/ls.h: In instantiation of ‘voidLsMap::eraseAll() [with Key = T = LsIdSeq]’:
linkstate/ls.cc:396:28: required from here
linkstate/ls.h:137:20: error: ‘erase’ was notdeclared in this scope, and no declarations were found by argument-dependentlookup at the point of instantiation [-fpermissive]
linkstate/ls.h:137:20: note: declarations independent base ‘std::map, std::allocator & &’ are not found byunqualified lookup
linkstate/ls.h:137:20: note: use ‘this-&erase’instead
make: *** [linkstate/ls.o] Error 1
Ns make failed!
(1).find -name ls.h
显示出错误的绝对路径:gedit ./ns-2.35/linkstate/ls.h
(2)gedit ./ns-2.35/linkstate/ls.h
(3)在文本编辑器gedit下更改错误:
--错误显示为:void eraseALL{erase(baseMap::begin(),baseMap::end());}
--错误更改提示:note:use ‘this-&erase’instead
--方法:gedit下搜索erase(baseMap::begin(),baseMap::end()),然后在文本编辑器gedit里边在erase前加上this-&,
变为:voideraseALL{this-&erase(baseMap::begin(),baseMap::end());}
更改后保存,重新./install
错误提示:
Ns-allinone package has been installedsuccessfully.
Here are the installation places:
tcl8.5.10:/home/ubuntu/ns-allinone-2.35/{bin,include,lib}
tk8.5.10:/home/ubuntu/ns-allinone-2.35/{bin,include,lib}
otcl: /home/ubuntu/ns-allinone-2.35/otcl-1.14
tclcl: /home/ubuntu/ns-allinone-2.35/tclcl-1.20
ns: /home/ubuntu/ns-allinone-2.35/ns-2.35/ns
nam: /home/ubuntu/ns-allinone-2.35/nam-1.15/nam
xgraph:/home/ubuntu/ns-allinone-2.35/xgraph-12.2
gt-itm: &/home/ubuntu/ns-allinone-2.35/itm, edriver, sgb2alt, sgb2ns, sgb2comns,sgb2hierns
----------------------------------------------------------------------------------
Please put/home/ubuntu/ns-allinone-2.35/bin:/home/ubuntu/ns-allinone-2.35/tcl8.5.10/unix:/home/ubuntu/ns-allinone-2.35/tk8.5.10/unix
into your PATH so that you'll beable to run itm/tclsh/wish/xgraph.
IMPORTANT NOTICES:
(1) You MUST put/home/ubuntu/ns-allinone-2.35/otcl-1.14,/home/ubuntu/ns-allinone-2.35/lib,&
& & into your LD_LIBRARY_PATHenvironment variable.
& & If it complains about X libraries,add path to your X libraries&
& & into LD_LIBRARY_PATH.
& & If you are using csh, you can setit like:
setenv LD_LIBRARY_PATH &paths&
& & If you are using sh, you can setit like:
export LD_LIBRARY_PATH=&paths&
(2) You MUST put /home/ubuntu/ns-allinone-2.35/tcl8.5.10/libraryinto your TCL_LIBRARY environmental
& & variable. Otherwise ns/nam willcomplain during startup.
(4)环境更改:
按着提示修改环境变量,到home目录下
gedit &~/.bashrc&或者& sudo vim .bashrc
在文件最后加入:
exportPATH=&$PATH:/home/administrator/ns-allinone-2.35/bin:/home/administrator/ns-allinone-2.35/tcl8.5.10/unix:/home/administrator/ns-allinone-2.35/tk8.5.10/unix&
exportLD_LIBRARY_PATH=&$LD_LIBRARY_PATH:/home/administrator/ns-allinone-2.35/otcl-1.14,/home/administrator/ns-allinone-2.35/lib&
exportTCL_LIBRARY=&$TCL_LIBRARY:home/administrator/ns-allinone-2.35/tcl8.5.10/library&
注意安装路径的更改
(5)关闭终端,重启终端
输入ns,出现%;
感谢关注 Ithao123精品文库频道,是专门为互联网人打造的学习交流平台,全面满足互联网人工作与学习需求,更多互联网资讯尽在 IThao123!
Laravel是一套简洁、优雅的PHP Web开发框架(PHP Web Framework)。它可以让你从面条一样杂乱的代码中解脱出来;它可以帮你构建一个完美的网络APP,而且每行代码都可以简洁、富于表达力。
Hadoop是一个由Apache基金会所开发的分布式系统基础架构。
用户可以在不了解分布式底层细节的情况下,开发分布式程序。充分利用集群的威力进行高速运算和存储。
Hadoop实现了一个分布式文件系统(Hadoop Distributed File System),简称HDFS。HDFS有高容错性的特点,并且设计用来部署在低廉的(low-cost)硬件上;而且它提供高吞吐量(high throughput)来访问应用程序的数据,适合那些有着超大数据集(large data set)的应用程序。HDFS放宽了(relax)POSIX的要求,可以以流的形式访问(streaming access)文件系统中的数据。
Hadoop的框架最核心的设计就是:HDFS和MapReduce。HDFS为海量的数据提供了存储,则MapReduce为海量的数据提供了计算。
产品设计是互联网产品经理的核心能力,一个好的产品经理一定在产品设计方面有扎实的功底,本专题将从互联网产品设计的几个方面谈谈产品设计
随着国内互联网的发展,产品经理岗位需求大幅增加,在国内,从事产品工作的大部分岗位为产品经理,其实现实中,很多从事产品工作的岗位是不能称为产品经理,主要原因是对产品经理的职责不明确,那产品经理的职责有哪些,本专题将详细介绍产品经理的主要职责
IThao123周刊

我要回帖

更多关于 leach ns2.34安装 的文章

 

随机推荐