||
1, VM
1,安装源码:如果你光盘上有源码包,那么执行rpm -ivh kernel-devel-*,然后会放在/usr/src/kernels这个文件夹里面。
2,安装VMware:我只好运行telinit 3,在解压目录vmware-tools-distrib/bin 运行 vmware-config-tools.pl,成功后,再运行telinit 5。
2, NFS配置:
vmware连网要改为桥接方式,VM->settings->Hardware->Netwaor Adapter,在右边将Network Connection,改为Bridged,
vmware中Edit->Virtual Network Editor->Host Virtual Network Mapping中的 VMnet0选为你的计算机网卡(双网卡时,选择不上网的那块,使用不上网的网卡连单板,同时VM桥接,window、linux、单板之间就组成小网了)。
3, mount -t nfs localhost: /opt/FriendlyARM/mini2440/root_qtopia /mnt/ 失败:
返回:mount.nfs:access denied by server while mounting。 改了一堆没搞定,最后重启OK。
最终设置(找问题过程中改的那一堆):
mount -t nfs 192.168.0.200: /opt/ mini2440/root_qtopia /mnt/ mini2440/
gedit /etc/exports:
/opt/ mini2440/root_qtopia 192.168.1.100/255.255.255.0(rw,sync,no_root_squash)
***/etc/hosts.deny***
portmap:ALL
lockd:ALL
mountd:ALL
rquotad:ALL
statd:ALL
***/etc/hosts.allow***
portmap:192.168.0.100
lockd:192.168. 0.100
mountd:192.168. 0.100
rquotad:192.168. 0.100
statd:192.168. 0.100
****************
Chmod 777 /opt/ mini2440/root_qtopia
4, NFS启动进不了Supervivi:
按空格的方法改为按单板上任意按键,启动。
Supervivi> param set linux_cmd_line "console=ttySAC0 root=/dev/nfs nfsroot=192.168.0.200:/opt/mini2440/root_qtopia ip=192.168.0.100:192.168.0.200:192.168.0.200:255.255.255.0:sbc2440.arm9.net:eth0:off"
5, 解决/mnt/hgfs/Share(利用Vmware Tools设置的共享目录)目录不能粘贴和创建文件夹的问题:
在Fedora中有时候我们想关闭SELinux,因为有时候本是合法的操作也总是弹出窗口阻止我们的操作。下面介绍三种方法来关闭/禁用SELinux。
1.在安装Fedora时选择开启或者关闭SeLinux。当然相信大多数来到这里的不会是为了这种方法来到这里。
2.临时关闭SELinux。如果你仅仅只是想临时关闭,可以输入
setenforce 0
3.禁用SELinux。在 /etc 下可以看到一个SELinux文件夹,进入后,里面有个config文件,在终端进入到文件夹,输入
vi config
更改其中的SELINUX项的值就可以关闭和启用SELinux服务了。
修改成 SELINUX=disable 禁用SeLinux
修改成 SELINUX=enforcing 使用SeLinux
6, QT2存放路径:
/opt/mini2440/arm-qtopia/qtopia-