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配置
總結
以上是生活随笔為你收集整理的linux arm 常用服务,ARM、linux常用服务器+交叉编译工具链的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: linux安装主从mysql,mysql
- 下一篇: toybox执行linux程序,Virt