linux arm 常用服务,ARM、linux常用服务器+交叉编译工具链

1.tftp服务器在安装linux时通常可供选择是否安装tftp服务器

启动后可通过在控制终端输入netstat -a|grep tftp查看是否已经安装若已安装则为如下打印信息:

[root@localhost /]# netstat -a|grep tftp

udp 0 0 *:tftp *:*

若没有安装则可使用

rpm –ivh tftp-server-0.42-3.1.i386.rpm

进行安装然后建立主要工作目录mkdir /tftpboot

接下来配置tftp服务器

vim /etc/init.d/tftp

# default: off

# description: The tftp server serves files using the trivial file transfer \

# protocol. The tftp protocol is often used to boot diskless \

# workstations, download configuration files to network-aware printers, \

# and to start the installation process for some operating systems.

service tftp

{

socket_type = dgram

protocol = udp

wait = yes

user = root

server = /usr/sbin/in.tftpd

server_args = -s /tftpboot

disable = no

per_source = 11

cps = 100 2

flags = IPv4

}

注意修改server_args = -s /tftpboot为你tftp工作目录。

接下来便是重启tftp 服务器了/etc/init.d/xinetd restart打印出如下信息

[root@localhost /]# /etc/init.d/xinetd restart

Stopping xinetd: [ OK ]

Starting xinetd: [ OK ]

表示重启成功接下来便可查看是否已经安装成功

[root@localhost /]# netstat -a|grep tftp

udp 0 0 *:tftp *:*

2.nfs服务器

首先查看nfs服务器是否被安装(这里为red-had5)rpm –q nfs-utils若打印出如下信息则表示已经被安装

[root@localhost ~]# rpm -q nfs-utils

nfs-utils-1.0.9-24.el5

若没有安装nfs服务器则先下载相应的nfs服务器包百度一个即可

然后rpm –ivh nfs- utils-1.0.9-24.el5.i386.rpm这里使用的nfs版本为utils-1.0.9-24.el5故不同版本安装不同,然后进入nfs配置

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值