QRIScloud-Queensland Server Additional Configuration

QRIScloud-Queensland Server Additional Configuration

If you create a server using one of the images, most likely one will need to change some of the settings (e.g Time Zone, time etc). Here are some of the sysadmin commands to make the changes:

Change Time Zone

ZONEINFO=Australia/Brisbane
rm -f /etc/localtime
ln -s /usr/share/zoneinfo/$ZONEINFO /etc/localtime

smtp relay host configuration

sudo yum install postfix mailx
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

nfs mount

yum install nfs-utils nfs-utils-lib rpcbind showmount
cd /etc/sysconfig/network-scripts
cp ifcfg-eth0 ifcfg-eth1
vi ifcfg-eth1
Change the Device to eth1

ifdown eth1
ifup eth1
service networking restart
10.255.100.50:/collection/Q0008/Q0008  /mnt/QS0008 

showmount -e  10.255.100.50

Manual Check:

mount  -t nfs -o vers=3  10.255.100.50:/collection/Q0046/Q0046 /mnt/Q0046 -v