我想在 CentOS 上安装 Netkit-ng,我执行了这些命令:
tar -xjSf netkit-ng-core-32-3.0.4.tar.bz2
tar -xjSf netkit-ng-filesystem-i386-F7.0-0.1.3.tar.bz2
tar -xjSf netkit-ng-kernel-i386-K3.2-0.1.3.tar.bz2
export NETKIT_HOME=/home/admin/Desktop/netkit
export PATH=$PATH:$NETKIT_HOME/bin
export MANPATH=$MANPATH:$NETKIT_HOME/man
./check_configuration.sh
这是我通过运行最后一个得到的:
[root@localhost netkit]# ./check_configuration.sh
> Checking path correctness... passed.
> Checking environment... passed.
> Checking for availability of man pages... passed.
> Checking for proper directories in the PATH... passed.
> Checking for availability of auxiliary tools:
awk : ok
basename : ok
date : ok
dirname : ok
find : ok
getopt : ok
grep : ok
head : ok
id : ok
kill : ok
ls : ok
lsof : ok
ps : ok
readlink : ok
wc : ok
port-helper : ok
tunctl : ok
uml_mconsole : ok
uml_switch : ok
passed.
> Checking for availability of terminal emulator applications:
xterm : found
konsole : not found
gnome-terminal : found
passed.
> Checking filesystem type... passed.
> Checking whether executables can run... failed!
*** Error: Your system appears not to be able to run the linux kernel.
[ ERROR ] Your system is not configured properly. Please correct the
above errors before starting to use Netkit.
我该如何解决?谢谢你
该错误消息来自文件
netkit-ng/check_configuration.d/09-check_architecture.sh
,其中执行以下检查:由此判断,可能是
$NETKIT_HOME
环境变量没有设置,或者文件$NETKIT_HOME/kernel/netkit-kernel
没有执行(在我的系统上是这样)。另请注意,Netkit-NG 似乎是为 Debian 构建的,因此在 CentOS 上运行它可能是不可能或非常困难的。