Changes between Version 1 and Version 2 of Machinesetup
- Timestamp:
- 11/19/24 12:09:46 (2 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Machinesetup
v1 v2 9 9 }}} 10 10 11 3. Remove swap 11 3. Update and install necessary packages. If prompted for NIS domain name, enter: sci.nis 12 {{{ 13 root@machine:~# apt update 14 root@machine:~# apt upgrade -y && apt install -y vim git htop dstat nfs-common nis tmux 15 root@machine:~# apt autoremove -y 16 }}} 17 18 4. Remove swap 12 19 {{{ 13 20 root@machine:~# swapoff -a … … 15 22 }}} 16 23 17 4. Connect the NFS (nemesis is down (3.3), comment it out)24 5. Connect the NFS (nemesis is down (3.3), comment it out) 18 25 {{{ 19 26 root@machine:~# vim /etc/fstab: … … 24 31 }}} 25 32 26 5. Determine users, passwords, groups33 6. Determine users, passwords, groups 27 34 {{{ 28 35 root@machine:~# vim /etc/nsswitch.conf … … 30 37 }}} 31 38 32 6. Test if the previous step was successful39 7. Test if the previous step was successful 33 40 {{{ 34 41 root@machine:~# yptest (must read the config) … … 42 49 }}} 43 50 44 7. Root users enter without password51 8. Root users enter without password 45 52 {{{ 46 53 root@machine:~# vim /etc/ssh/sshd_config … … 48 55 }}} 49 56 50 8. Connection fix57 9. Connection fix 51 58 {{{ 52 59 root@machine:~# vim /lib/systemd/system/systemd-{logind, udevd}.service # comment-out IPAddressDeny=any