Cleanup of timezone

Courtesy @SimoneBovi  in PR #114
This commit is contained in:
Shannon Appelcline 2020-05-19 10:51:01 -10:00 committed by GitHub
parent 82f30eedac
commit 373c8fef60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,12 +86,15 @@ $ echo "127.0.1.1 mybtc.local mybtc" >> /etc/hosts
Make sure your timezone is correct. Make sure your timezone is correct.
You can find a list of possible timezones in `/usr/share/zoneinfo`.
The following example sets your machine to the American west coast timezone: The following example sets your machine to the American west coast timezone:
``` ```
$ echo "America/Los_Angeles" > /etc/timezone $ echo "America/Los_Angeles" > /etc/timezone
$ cp /usr/share/zoneinfo/America/Los_Angeles /etc/localtime $ cp /usr/share/zoneinfo/America/Los_Angeles /etc/localtime
``` ```
Afterward you can run `date` to ensure everything was set correctly
## Protecting Your VPS ## Protecting Your VPS