[Mini-NDN] A question about mini-ndn installation

Tianxing Ma (tma1) Tianxing.Ma at memphis.edu
Sat Mar 16 19:23:06 PDT 2024


I can't see your logs, but have you tried VPN before installing? I think "./install.sh --source" will work with Ubuntu 20.04, and you can try this command several times to solve potential problems.

Tianxing
________________________________
From: Mini-NDN <mini-ndn-bounces at lists.cs.ucla.edu> on behalf of 李怿曈 Yitong LI <yitongli at hkust-gz.edu.cn>
Sent: Saturday, March 16, 2024 21:04
To: Varun Patil <varunpatil at ucla.edu>
Cc: mini-ndn at lists.cs.ucla.edu <mini-ndn at lists.cs.ucla.edu>
Subject: Re: [Mini-NDN] A question about mini-ndn installation

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and trust the content is safe.


Hi Varun,

I’ve just met some other questions.
1. I’ve tried another way which used ./install.sh —source to install mini-ndn first, but found some errors, I’ve attached the log below. I’m not sure whether it’s because the WIFI version doesn’t work.
2. If that’s the case, I want to tried your suggestion before, which used docker. My question is that do I need to uninstall the current installation before I use docker? If so, how to uninstall the current installation.
3. If I want to first run NLSR, how should I make the configuration before running. I haven’t found detail documentation about how to configure it.

Many thanks,
Caster

> 2024年3月13日 下午2:05,Varun Patil <varunpatil at ucla.edu> 写道:
>
> [你通常不会收到来自 varunpatil at ucla.edu 的电子邮件。请访问 https://aka.ms/LearnAboutSenderIdentification,以了解这一点为什么很重要]<https://aka.ms/LearnAboutSenderIdentification%EF%BC%8C%E4%BB%A5%E4%BA%86%E8%A7%A3%E8%BF%99%E4%B8%80%E7%82%B9%E4%B8%BA%E4%BB%80%E4%B9%88%E5%BE%88%E9%87%8D%E8%A6%81]>
>
> The docker images are already built with GitHub Actions. All you need to do is
>
> docker run -it ghcr.io/named-data/mini-ndn:master
>
> This should start minindn, then you can do something like
>
> python3 examples/mnndn.py
>
> Best,
> Varun
>
> On Tue, Mar 12, 2024 at 7:30 PM 李怿曈 Yitong LI <yitongli at hkust-gz.edu.cn> wrote:
>>
>> Hi Varun,
>>
>> Thanks a lot for your kind reply.
>>
>> I’m a little confused about the docker installation. Does it mean I only need to download the GitHub mini-non repository, go to the root directory, then run the docker installation command to get everything installed?
>>
>> Thanks,
>> Caster
>>
>>> 2024年3月13日 上午10:15,Varun Patil <varunpatil at ucla.edu> 写道:
>>>
>>> [你通常不会收到来自 varunpatil at ucla.edu 的电子邮件。请访问 https://aka.ms/LearnAboutSenderIdentification,以了解这一点为什么很重要]<https://aka.ms/LearnAboutSenderIdentification%EF%BC%8C%E4%BB%A5%E4%BA%86%E8%A7%A3%E8%BF%99%E4%B8%80%E7%82%B9%E4%B8%BA%E4%BB%80%E4%B9%88%E5%BE%88%E9%87%8D%E8%A6%81]>
>>>
>>> Hi Caster,
>>>
>>> Maybe you need to use "python3" instead of "python", but it does seem
>>> like the minindn module wasn't installed correctly.
>>>
>>> I strongly suggest using the docker image if you don't need wifi support, see
>>> https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnamed-data%2Fmini-ndn%2Fpkgs%2Fcontainer%2Fmini-ndn&data=05%7C02%7CTianxing.Ma%40memphis.edu%7C1484b8090c244a36b91708dc4626a82e%7Cae145aeacdb2446ab05a7858dde5ddba%7C0%7C0%7C638462379061279038%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=XQ3RgqxTw4vXu1h3nfx9Fazvb2tXa%2BTqjT4TZO8F9kk%3D&reserved=0<https://github.com/named-data/mini-ndn/pkgs/container/mini-ndn>
>>>
>>> That should just work out of the box.
>>>
>>> Best,
>>> Varun
>>>
>>> On Tue, Mar 12, 2024 at 7:00 PM 李怿曈 Yitong LI <yitongli at hkust-gz.edu.cn> wrote:
>>>>
>>>> Hi,
>>>>
>>>> I’m currently setting up mini-non environment ubuntu. After installing all the required prerequisites, I run “./install.sh” to install mini-non. After the installation, when I execute the test program given in the documentation, it gives me the following error.
>>>>
>>>> caster at caster-virtual-machine:~/Downloads/mini-ndn-master$ sudo python examples/mnndn.py
>>>> Traceback (most recent call last):
>>>> File "/home/caster/Downloads/mini-ndn-master/examples/mnndn.py", line 26, in <module>
>>>>   from minindn.minindn import Minindn
>>>> ModuleNotFoundError: No module named ‘minindn'
>>>>
>>>> I’ve verified all the required libraries have been installed, may I ask how to solve this?
>>>>
>>>> Cheers,
>>>> Caster
>>>> _______________________________________________
>>>> Mini-NDN mailing list
>>>> Mini-NDN at lists.cs.ucla.edu
>>>> https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.lists.cs.ucla.edu%2Fmailman%2Flistinfo%2Fmini-ndn&data=05%7C02%7CTianxing.Ma%40memphis.edu%7C1484b8090c244a36b91708dc4626a82e%7Cae145aeacdb2446ab05a7858dde5ddba%7C0%7C0%7C638462379061285844%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=GKIfo0nyZeo9RXE295VCpyiS0wjf7t%2BCEDbqU5ZOJ0M%3D&reserved=0<https://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn>
>>

_______________________________________________
Mini-NDN mailing list
Mini-NDN at lists.cs.ucla.edu
https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.lists.cs.ucla.edu%2Fmailman%2Flistinfo%2Fmini-ndn&data=05%7C02%7CTianxing.Ma%40memphis.edu%7C1484b8090c244a36b91708dc4626a82e%7Cae145aeacdb2446ab05a7858dde5ddba%7C0%7C0%7C638462379061289143%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=jZywqs5hqCF2gVvmHBDFGt2s1Um%2BQqXkdxOEclp6eh0%3D&reserved=0<https://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20240317/a61af197/attachment-0001.html>


More information about the Mini-NDN mailing list