Log into SSH by Putty, Xshell or another Terminal and do the following:
1.) rm -rf /tmp
2.) mkdir /tmp
3.) mount -t tmpfs -o rw,noexec,nosuid tmpfs /tmp
4.) chmod 1777 /tmp
5.) echo "tmpfs /tmp tmpfs rw,noexec,nosuid 0 0" >> /etc/fstab
6.) rm -rf /var/tmp
7.) ln -s /tmp /var/tmp