Steps for Linux post-installation tasks

From Wiki
Revision as of 14:22, 19 January 2018 by Luke (talk | contribs)
Jump to navigation Jump to search

Install Linux

First step is to install Linux. For Hyper-V VMs, 1024 MB of RAM is typically more than enough. Sometimes 512 will be plenty.

Set up the NAS

  1. Install cifs-utils
    1. sudo apt-get update
    2. sudo apt-get install cifs-utils
  2. Make directory /mnt/Storage
    1. sudo mkdir /mnt/Storage
  3. Enter the below into /etc/fstab
    1. //10.10.10.20/Storage /mnt/Storage cifs guest,uid=1000,iocharset=utf8 0 0
  4. Run sudo mount-a

Set up SSH access

  1. On cougar, run ssh-copy-id <ip address> and answer prompts.
  2. SSH into the machine to make sure it works.
  3. Run sudo nano /etc/ssh/sshd_config
    1. Change #PasswordAuthentication yes to PasswordAuthentication no
    2. Reload ssh by running sudo service ssh restart
    3. To test whether everything is working, ssh into another Linux server and test by attempting to ssh into the server you're setting up. It should fail with a Permission denied (pubkey). If not, then recheck changing the SSH config.

Add the DNS record to the DNS server

  1. Remote into Zeus (Or launch the DNS Management Console on cougar as an administrator (lbrandt), then proceed to step 3)
  2. Launch the DNS Management Console
  3. Expand Forward Lookup Zones.
  4. Click on lukebrandt.com
  5. Right-click on lukebrandt.com, then select New Host (A or AAAA)
  6. Enter the computer name, IP Address, and verify that the PTR checkbox is checked.
  7. The DNS record should now be added!