Linux

如何在 Linux (NIMOL) 上使用 NIM 安裝 aix71 客戶端

  • June 23, 2019

我想使用 nimol 安裝 aix71 客戶端,我在某處讀到僅支持 5.3 客戶端

但是我在 aix71 cd 上發現了這個,可以用 nimol 安裝 aix 7.1 嗎?

不起作用,也許有人想調查,我已經嘗試過我寫的這個簡單的方法開始感謝這個連結的清晰解釋程序開始但給我錯誤 BA010005 如果使用防火牆沒有防火牆 tftp 傳輸工作正常但在“磁碟搜尋" 給出錯誤 0c52 並停留在 12% SElinux 被禁用

這是我又髒又快的方法

#require
centos6,(centos7 is a lot of pain because switched from sysv init to systemd)
dhcpd server
tftp server 
fqdn hostname must resolve via /etc/hosts or dns
firewall: if use open  67:69 tcp e udp,514 udp(rsyslog)

#install those packages
epel-release    
libc-i386
tftp-server
tftp
rcpbind     #link /etc/rc.d/init.d/rpcbin to  /etc/rc.d/init.d/portmap
perl-xml    
dhcpd  server
nfs-utils
xinetd
perl-XML-LibXML
bind-utils
ssh

#install those rpms from aix dvd 71 dvd-1
for i in   nimol-1.0-4.noarch.rpm  osinstall-1.0-1.noarch.rpm;
do rpm -Uvh $i;done

#configure nimol
touch /etc/nimol.conf
nimol_config -m /usr/bin/ssh -C #configure nimol

#example nimol.conf
NIMOL_SERVER youserver.fqdn
PORTMAP_STARTED yes
REMOTE_ACCESS_METHOD /usr/bin/ssh
NIMOL_SUBNET 192.168.0.0
LABEL default /export/aix/default
NIMOL_SYSLOG_FACILITY local2

#run nimol
#insert dvd aix71 in /dev/cdrom
nimol_config


#edit dchpd.conf and enable boot
#boot
allow bootp;
use-host-decl-names on;

#check if nfs working
exportfs -v

#enable syslog remote(not required)
syslogd     #run with options -r -h
rsyslogd    #edit /etc/rsyslogd enable 514 udp remote

#create first client
nimol_install -c aix1 -g 192.168.0.203 -m 00:*:*:*:*:* -s 255.255.255.0 -L default
service dchpd restart

#if give error check tftp and dhcp conf files
#you can check if working with 
tftp yourserver
get /tftpboot/aix1

#to run client
#boot from aix(sms menu selected from asmi or serial console)
##configura ipl
#boot from network

#last warning: if softlink of tftp doesn't work use cp or hard link
ln default.chrp.mp.ent aix1

引用自:https://unix.stackexchange.com/questions/248863