Installing a new server: Difference between revisions

From Edgar BV Wiki
Jump to navigation Jump to search
Line 28: Line 28:
search edgarbv.int
search edgarbv.int
</pre>
</pre>
NB This file can be overwritten by the resolvconf and networkmanager packages. If possible leave them alone, but pdnsd may require resolvconf


~/.bashrc
~/.bashrc
Line 42: Line 44:
set mouse-=a
set mouse-=a
</pre>
</pre>
NB This file can be overwritten by the resolvconf and networkmanager packages. If possible leave them alone, but pdnsd may require resolvconf


= SNMP =
= SNMP =

Revision as of 08:49, 1 April 2019

After installing the base system

Debian Standard Packages to install afterwards

Set up Networking

Debian Network Setup

files to check if you've spun up a clone

/etc/hostname

mymachinename

/etc/hosts

127.0.0.1       localhost
127.0.1.1       srvname.edgarbv.int    srvname
# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

/etc/resolv.conf

nameserver 192.168.0.10
nameserver 84.116.46.21
nameserver 84.116.46.20
search edgarbv.int

NB This file can be overwritten by the resolvconf and networkmanager packages. If possible leave them alone, but pdnsd may require resolvconf

~/.bashrc

 export LS_OPTIONS='--color=auto'
 eval "`dircolors`"
 alias ls='ls $LS_OPTIONS'
 alias ll='ls $LS_OPTIONS -l'
 alias l='ls $LS_OPTIONS -lA'

~/.vimrc

set mouse-=a

SNMP

SNMP

Firewall

Use Shorewall for more complex environments, and ULF (Uncomplicated firewall) when you need a few simple rules, eg after you've just spun up or cloned a VM

Shorewall

Shorewall

ULF

ULF