Version 1 (modified by 19 months ago) ( diff ) | ,
---|
Machine Setup
- Install Ubuntu or Debian - prefer the server version of your chosen Ubuntu or Debian LTS distro
- Change root password
cslab@machine:~$ sudo su root@machine:~# passwd
- Remove swap
root@machine:~# swapoff -a root@machine:~# rm -v /swap.img
- Connect the NFS (nemesis is down (3.3), comment it out)
root@machine:~# vim /etc/fstab: # swap -> comment-out 147.102.4.1:/home /home nfs defaults 0 0 147.102.4.1:/various /various nfs defaults,nolock 0 0 #147.102.3.3:/store/cluster_data /risky_store nfs nfsvers=3,nolock 0 0
- Determine users, passwords, groups
root@machine:~# vim /etc/nsswitch.conf at passwd, group, shadow add: files nis
- Test if the previous step was successful
root@machine:~# yptest (must read the config) root@machine:~# id ypap (must return user) root@machine:~# ps -ef | grep yp (ypbind.service must be running)
If not running:root@machine:~# systemctl restart ypbind root@machine:~# systemctl list-unit-files | grep yp
- Root users enter without password
root@machine:~# vim /etc/ssh/sshd_config PasswordAuthentication no
- Connection fix
root@machine:~# vim /lib/systemd/system/systemd-{logind, udevd}.service # comment-out IPAddressDeny=any root@machine:~# systemctl daemon-reload root@machine:~# systemctl restart systemctl-logind root@machine:~# systemctl restart systemctl-udevd
Note:
See TracWiki
for help on using the wiki.