Steps for Linux post-installation tasks
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
- Install cifs-utils
- sudo apt-get update
- sudo apt-get install cifs-utils
- Make directory /mnt/Storage
- sudo mkdir /mnt/Storage
- Enter the below into /etc/fstab
- //10.10.10.20/Storage /mnt/Storage cifs guest,uid=1000,iocharset=utf8 0 0
- Run sudo mount-a
Set up SSH access
- On cougar, run ssh-copy-id <ip address> and answer prompts.
- SSH into the machine to make sure it works.
- Run sudo nano /etc/ssh/sshd_config
- Change #PasswordAuthentication yes to PasswordAuthentication no
- Reload ssh by running sudo service ssh restart
- 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.