TI IPNC_RDK_V3.8.0开发环境建立步骤备忘

来源:互联网 发布:神结局电影 知乎 编辑:程序博客网 时间:2024/06/05 21:22

TI IPNC_RDK_V3.8.0开发环境建立步骤备忘:

# RDK installation steps:#

1.mkdir /usr/local/IPNC_RDK_V3.8.0
2.cd /usr/local/IPNC_RDK_V3.8.0/
3.chmod a+x IPNC_RDK_V3.8.0-Linux-x86-Install.bin
4../IPNC_RDK_V3.8.0-Linux-x86-Install.bin
5.tar -zxvf IPNC_RDK_V3.8.0.tar.gz

# dependency packets install:#
1.apt-get install bison
2.apt-get install flex
3.apt-get install libacl1-dev
4.apt-get install zlib1g-dev
5.apt-get install liblzo2-dev
6.apt-get install uuid-dev
7.apt-get install mtd-utils

# filesys untar:
# cd <installDir>/Source/ipnc_rdk/target
1.cd /usr/local/IPNC_RDK_V3.8.0/Source/ipnc_rdk/target
2.tar -zxvf filesys_ipnc_dm81xx.tar.gz
# chown  –R <useracct>:<useracct> ./*
1.chown  -R root:root ./*

# tft server setup:
1.apt-get install tftpd-hpa
# Default location of <TFTP DIRECTORY> can be found in /etc/default/tftpd-hpa location.

# nfs server setup:(VirtualBox net:bridge)
# apt-get install portmap
1.apt-get install nfs-kernel-server
# apt-get install nfs-common
# Modify /etc/exports file as mentioned with root privileges
/usr/local/IPNC_RDK_V3.8.0/filesys *(rw,no_root_squas h,no_all_squash,sync)
/usr/sbin/exportfs -av
/etc/init.d/nfs -kernel-server restart

# samba server setup:
1.apt-get insall samba
2.apt-get install smbfs
# cp /etc/samba/smb.conf /etc/samba/smb.conf.bak
# 在smb.conf最后添加如下内容:
[ipnc]
   common = ipncdir server
   path = /usr/local/IPNC_RDK_V3.8.0
   browseable = yes
   read only = yes
   guest ok = yes

3./etc/init.d/smbd restart
#在windows端打开“运行窗口”,输入 “\\” + “Ubuntu机器的ip或主机名” + “\\” + “用户各自的samba服务器目录名”.


0 0
原创粉丝点击