Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata

This is more for my reference, but your welcome to read through.

Ubuntu Server Basic Template for VMWare VM

#. Comment out Set Static IP and LAN paremeters for easy deployment to static IP. (Resolveconf)

sudo nano /etc/network/interfaces
 
# The primary network interface
auto eth0
iface eth0 inet dhcp
#iface eth0 inet static
address 192.168.1.###
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 192.168.1.###
dns-nameservers 192.168.1.1
dns-search freesoftwareservers.com

#. SSH RSA + LDAP

# Test LDAP - Disable Login via SSH via PWD && retest login

sudo nano /etc/ssh/sshd_config && sudo service ssh restart
 
PermitRootLogin no
RSAAuthentication yes
PubkeyAuthentication yes
#AuthorizedKeysFile      %h/.ssh/authorized_keys
PermitEmptyPasswords no
ChallengeResponseAuthentication no
PasswordAuthentication no

#. Bash Improvements

#. Open-VM-Tools

#. PostFix

#. NFS Mount

#. UFW

#. Fail2Ban

#. XYMon-Client

# NTP-Client

# NTP-XYMon

# PMagic Custom Grub

sudo apt-get update && echo y | sudo apt-get upgrade && echo y | sudo apt-get autoremove && sudo reboot
  • No labels