GoogleCloud: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
<pre> | <pre> | ||
https://cloud.google.com/compute/docs/tutorials/sending-mail/using-sendgrid | https://cloud.google.com/compute/docs/tutorials/sending-mail/using-sendgrid | ||
</pre> | |||
== Install heirloom-mailx == | |||
Needed to attach files via mailx, i.e. | |||
<pre> | |||
$ sudo apt-get install heirloom-mailx | |||
$ echo "sqlite db drew.invadelabs.com" | mailx -a drew_wiki.sqlite.xz -s "sqlite db drew.invadelabs.com" [email protected] | |||
</pre> | </pre> |
Revision as of 21:02, 16 July 2016
Download gcloud sdk
Running gcloud
$ gcloud auth list $ gcloud auth login $ gcloud compute instances list $ gcloud compute ssh $ gcloud compute ssh drewderivative@instance-1 --zone us-central1-a
Setup sendgrid email relay
https://cloud.google.com/compute/docs/tutorials/sending-mail/using-sendgrid
Install heirloom-mailx
Needed to attach files via mailx, i.e.
$ sudo apt-get install heirloom-mailx $ echo "sqlite db drew.invadelabs.com" | mailx -a drew_wiki.sqlite.xz -s "sqlite db drew.invadelabs.com" [email protected]