/
QRISCloud Virtual Machine Configuration

QRISCloud Virtual Machine Configuration

Introduction

Configuration

smtp relay host configuration

Edit the /etc/postfix/main.cf and add/change the myhostname and relayhost details.

 vi /etc/postfix/main.cf

myhostname = vm-130-XXX-XXX-XXX.qld.nectar.org.au
relayhost = [smtp.uq.edu.au]:25

service postfix restart  (or reload)

Test email:

echo "Test mail from postfix" | mail -s "Test Postfix" youremail@griffith.edu.au

OS update - Crontab entry

As root, install a crontab entry to update the system regularly

crontab -e

##* * * * *
##| | | | |
##| | | | |
##| | | | +---- Day of the Week   (range: 1-7, 1 standing for Monday)
##| | | +------ Month of the Year (range: 1-12)
##| | +-------- Day of the Month  (range: 1-31)
##| +---------- Hour              (range: 0-23)
##+------------ Minute            (range: 0-59)
# /usr/bin/yum -y updated
17 12 2,6,12,17,23,26 1,2,3,4,5,6,7,8,9,10,11,12 * (/usr/bin/yum -y update)  > /dev/null 2>&1

Related content

Additional configuration on QRIScloud servers
Additional configuration on QRIScloud servers
More like this
QRIScloud-Queensland Server Additional Configuration
QRIScloud-Queensland Server Additional Configuration
More like this
Using VPN Client on QRIScloud to Access Institutional Resources
Using VPN Client on QRIScloud to Access Institutional Resources
More like this
Request a Server on QRIScloud
Request a Server on QRIScloud
More like this
Serving Web pages from QRISCloud Servers
Serving Web pages from QRISCloud Servers
More like this
Australia Research Cloud Partners
Australia Research Cloud Partners
More like this