Steps for Linux post-installation tasks

From Wiki
Revision as of 20:07, 6 October 2017 by 10.10.10.100 (talk)
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. 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.