ubuntu 安装配置shh,tftp,nfs 笔记
来源:互联网 发布:淘宝店铺投诉管用吗 编辑:程序博客网 时间:2024/04/30 04:09
tftp查看是否已经安装 dpkg -l | grep -i "tftp"sudo apt-get install tftp-hpasudo apt-get install tftpd-hpasudo apt-get install xinetd 网络守护进程启动tftp服务 service xinetd restart //start stop启动后可查看进程 netstat -a | grep tftp配置tftp cd /etc/xinetd.dvi tftp在tftp文件添加如下内容service tftp{socket_type= dgramprotocol= udpwait = yesuser= rootserver=/usr/sbin/in.tftpdserver_args=-s /home/tftpboot -cdisable= noper_source=11cps=100 2flags=IPv4}vi /etc/default/tftpd-hpa修改如下:# /etc/default/tftpd-hpaTFTP_USERNAME="tftp"TFTP_DIRECTORY="/home/tftpboot"TFTP_ADDRESS="0.0.0.0:69"TFTP_OPTIONS="-l -c -s"mkdir /opt/tftpbootchomd 777 tftpboot最后重启服务
使用方法
/*tftp ip地址tftp> get 文件tftp> put 文件*/安装ssh
dpkg -l | grep -i "ssh"
sudo apt-get install openssh-server
sudo apt-get install openssh-client
/etc/init.d/ssh start
netstat -a | grep ssh
vi /etc/ssh/sshd_config(不必修改)使用: ssh ip地址scp /home/test.c 用户名@ip 地址:/home/xuxunfssudo apt-get install nfs-kernel-serversudo gedit /etc/export添加如下 /home/tstnfs *(rw,sync,no_subtree_check)共享目录主机启动nfs服务: /etc/init.d/nfs-kernel-server restart //start stop开发板挂载: mount -t nfs 192.168.1.181:/home/tstnfs /mnt -o nolock主机ipumount /mntmount上之后arm板上文件自动同步(1.出现问题:reason given by server: Permission denied解决:服务器端启动一定要sudo启动,不然启动失败,服务拒绝2.出现问题:svc: failed to register lockdv1 RPC service (errno 111).lockd_up: makesock failed, error=-111mount: mounting 192.168.1.101:/home/share on /mnt/hosts failed: Connection refused则改成:mount -t nfs -o nolock 192.168.1.101:/home/share /mnt/hosts3.出现问题:mount: mounting 192.168.1.101:/home/share on /mnt/hosts failed: Device or resource busy解决:mount上之后在进行mount命令会出现此提示,设备正在运行,不用再次mount如果想再次mount可以先umount /mnt/hosts)
0 0
- ubuntu 安装配置shh,tftp,nfs 笔记
- Ubuntu tftp nfs 的安装与配置
- ubuntu 配置NFS tftp
- ubuntu nfs和tftp配置
- ubuntu nfs tftp 如何配置
- ubuntu安装tftp, nfs等
- Ubuntu下tftp和nfs的安装和配置
- Ubuntu 14.04 安装配置tftp及NFS服务
- ubuntu 16.04 OS 安装TFTP and NFS Server 配置详解
- ubuntu 安装配置tftp
- ubuntu下配置NFS, tftp服务
- Ubuntu配置tftp服务和NFS服务
- ubuntu配置tftp和nfs的方法
- ubuntu下配置NFS,TFTP服务
- ubuntu下配置 tftp NFS服务
- ubuntu 8.04 安装nfs tftp minicom
- 安装Ubuntu TFTP 、NFS、SAMBA服务小记
- [NOTE] NFS 和TFTP安装与配置
- Tomcat8如何开启APR运行模式(linux centos)
- ReActivieX学习资料汇总
- poj2385【基础DP】
- 关于linux下执行脚本编译C++:需要使用make命令和makefile
- 认识CoreData—基础使用
- ubuntu 安装配置shh,tftp,nfs 笔记
- C语言的基本单位是
- 求二叉树的深度
- Qwt源码解读之QwtIntervalSample类和QwtSetSample类
- 详解Fragment生命周期
- C++封装C#中的事件
- C#控制台基础 输出一个类所处的空间的名称
- 编译器优化
- 使用genymotion模拟器可能碰到的问题