Last active
December 5, 2015 15:23
-
-
Save franciscocpg/2e41b904fe94e6366327 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| TZ="America/Sao_Paulo" | |
| # Change time zone (Using Sao_Paulo as example) | |
| sudo mv /etc/localtime /etc/localtime.bak | |
| sudo ln -s /usr/share/zoneinfo/$TZ /etc/localtime | |
| sudo sh -c "echo -e 'ZONE=\"$TZ\"\n' > /etc/sysconfig/clock" | |
| # Sync with ntp | |
| sudo yum install ntp -y | |
| sudo chkconfig ntpd on | |
| sudo service ntpd start | |
| # Locale pt-BR | |
| sudo sh -c 'echo LANG=\"pt_BR.UTF-8\" > /etc/sysconfig/i18n' | |
| echo "Reboot to apply changes to all services and applications" | |
| echo "run 'sudo reboot'" |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Remote install
bash <(curl -s https://gist.githubusercontent.com/franciscocpg/2e41b904fe94e6366327/raw/)