5. 配置SMB 查看smb服务器启动情况 # service smb status # vim /etc/samba/smb.conf ,增加如下内容 [wangtisheng] comment = Personal Directories browseable = yes writable = yes path = /home/wangtisheng valid users = wangtisheng ;valid users = MYDOMAIN\%S
为当前用户添加samba密码 # smbpasswd -a wangtisheng 重启smb服务 # /etc/init.d/smb restart
开机启动smb服务 # setup --> system services 选中smb即可
6. 安装arm-linux-gcc v3.4.5 在/usr/local目录下新建目录arm # cd /usr/local # mkdir arm 将3.4.5版本编译器安装到arm目录下 # cd arm/3.4.5 # ls 内容如下 arm-linux bin include lib man arm-linux.crosstoolconfig.txt distributed info libexec tmp 修改/root/.bashrc,添加如下内容 # vim /root/.bashrc export PATH=$PATH:/usr/local/arm/3.4.5/bin 执行source /etc/profile使修改生效,或者注销重新登录 # source /etc/profile 查看arm-linux-gcc版本信息 # arm-linux-gcc -v
7. 配置tftp服务器 tftp-server-0.rar 安装tftp server # rpm -ivh tftp-server-0.42-3.1.i386.rpm 修改tftp配置文件 # vim /etc/xinetd.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 /home/wangtisheng/tftpboot disable = no per_source = 11 cps = 100 2 flags = IPv4 }