Working with JSON in the go programming can be very easy if use Structures to hold your data.
Thursday, April 16, 2015
Thursday, September 18, 2014
Setting up Amazon Linux Instance - Extending User Timeout
If you are tired of logging into your EC2 instance and your connection dropping because of a timeout, the solution is simple.
Extend your timeout or turn it off all together.
To do this you must:
- Login to your ec2-instance
- From your home directory edit ".bash_profile"
- Add an export of the "TMOUT" environment variable.
- Save your file
TMOUT settings are set in seconds. So you can choose how long before your session expires. Setting TMOUT to 0 will make your session not expire, however setting it to any other number will expire your session the seconds you indicated after inactivity.
Example
- TMOUT to = 0 then your session will not expire.
- TMOUT to = 36400 then your session will expire in a day.
vi ~/.bash_profile

Subscribe to:
Posts (Atom)
