Changes between Version 3 and Version 4 of Machinesetup
- Timestamp:
- 11/22/24 14:18:10 (3 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Machinesetup
v3 v4 1 == Machine Setup ==1 == Machine Setup 2 2 3 ==== 1. Install Ubuntu or Debian - prefer the server version of your chosen Ubuntu or Debian LTS distro ====3 ==== 1. Install Ubuntu or Debian - prefer the server version of your chosen Ubuntu or Debian LTS distro 4 4 5 ==== 2. Change root password ====5 ==== 2. Change root password 6 6 {{{ 7 7 cslab@machine:~$ sudo su … … 9 9 }}} 10 10 11 ==== 3. Update and install necessary packages ===11 ==== 3. Update and install necessary packages 12 12 {{{ 13 13 root@machine:~# apt update … … 16 16 }}} 17 17 18 ==== 4. Remove swap ====18 ==== 4. Remove swap 19 19 {{{ 20 20 root@machine:~# swapoff -a … … 22 22 }}} 23 23 24 ==== 5. Connect the NFS (nemesis is down (3.3), comment it out) ====24 ==== 5. Connect the NFS (nemesis is down (3.3), comment it out) 25 25 {{{ 26 26 root@machine:~# vim /etc/fstab: … … 31 31 }}} 32 32 33 ==== 6. NIS setup ====33 ==== 6. NIS setup 34 34 35 35 * Determine users, passwords, groups … … 60 60 }}} 61 61 62 ==== 7. Test if the previous step was successful ====62 ==== 7. Test if the previous step was successful 63 63 {{{ 64 64 root@machine:~# yptest (must read the config) … … 72 72 }}} 73 73 74 ==== 8. Remove Password authentication from sshd ====74 ==== 8. Remove Password authentication from sshd 75 75 {{{ 76 76 root@machine:~# vim /etc/ssh/sshd_config … … 78 78 }}} 79 79 80 ==== 9. Connection fix [NOT NECESSARY] ====80 ==== 9. Connection fix [NOT NECESSARY] 81 81 {{{ 82 82 root@machine:~# vim /lib/systemd/system/systemd-{logind, udevd}.service # comment-out IPAddressDeny=any