Changes between Version 88 and Version 89 of SystemAdministration/Default_VM_setup
- Timestamp:
- 07/26/18 13:07:55 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SystemAdministration/Default_VM_setup
v88 v89 24 24 25 25 ## Set hostname to hostname shown in hoster's control panel 26 ## Use host's local name only, without the domain part in order for postfix mail system to work (see postfix configuration bellow) 26 27 sudo hostnamectl set-hostname 'clarineric-vps4' 27 28 … … 173 174 postconf -e "inet_protocols=ipv4" 174 175 postconf -e "mydomain=${DOMAIN}" 175 postconf -e "myhostname=`hostname `"176 postconf -e "myhostname=`hostname | sed -E "s/\./-/g"`" 176 177 postconf -e "myorigin=\$myhostname" 177 178 postconf -e "mydestination=\$myhostname,localhost.\$mydomain,localhost"