Jump to content



Photo

Setting the Server Time Zone


  • Please log in to reply
3 replies to this topic

#1 milralze

milralze

    Member

  • Members
  • PipPip
  • 27 posts
  • LocationBrazil - São Paulo

Posted 10 August 2014 - 02:16 AM

To change the Time Zone Server: 
Access the server as root and type "tzselect" 
Choose the options as shown below and in the end confirm with "yes" 
 
milralze root @ ~] # tzselect 
Please identify a location so que time zone rules can be Correctly set. 
Please select a continent or ocean. 
 
1) Africa 
2) Americas 
3) Antarctica 
4) Arctic Ocean 
5) Asia 
6) Atlantic Ocean 
7) Australia 
8) Europe 
9) Indian Ocean 
10) Pacific Ocean 
11) none - I want to specify the time zone using the Posix TZ format. 
 
#? 2 
 
Please select the country. 
 
1) Anguilla 27) Honduras 
2) Antigua & Barbuda 28) Jamaica 
3) Argentina 29) Martinique 
4) Aruba 30) Mexico 
5) Bahamas 31) Montserrat 
6) Barbados 32) Netherlands Antilles 
7) Belize 33) Nicaragua 
8) Bolivia 34) Panama 
9) Brazil 35) Paraguay 
10) Canada 36) Peru 
11) Cayman Islands 37) Puerto Rico 
12) Chile 38) St Barthelemy 
13) Colombia 39) St Kitts & Nevis 
14) Costa Rica 40) St Lucia 
15) Cuba 41) St Martin (French part) 
16) Dominica 42) St Pierre & Miquelon 
17) Dominican Republic 43) St Vincent 
18) Ecuador 44) Suriname 
19) El Salvador 45) Trinidad & Tobago 
20) French Guiana 46) Turks & Caicos Is 
21) Greenland 47) United States 
22) Grenada 48) Uruguay 
23) 49 Guadeloupe) Venezuela 
24) 50 Guatemala) Virgin Islands (UK) 
25) Guyana 51) Virgin Islands (us) 
26) Haiti 
 
#? 9 
 
Please select one of the Following time zone regions. 
 
1) Atlantic islands 
2) Amapa, E To 
3) NE Brazil (MA, PI, CE, RN, PB) 
4) Pernambuco 
5) Tocantins 
6) Alagoas, Sergipe 
7) Bahia 
8) S & SE Brazil (GO, DF, MG, ES, RJ, SP, PR, SC, RS) 
9) Mato Grosso do Sul 
10) Mato Grosso 
11) For W 
12) Rondonia 
13) Roraima 
14) And Amazon 
15) W Amazonas 
16) Acre 
 
#? 8 
 
The Following Has Been information given: 
 
Brazil 
Sao_Paulo
 
Therefore TZ = 'America / Sao_Paulo' will be used. 
Local time is now: Fri Apr 20 13:01:21 AMT 2012. 
Universal Time is now: Fri Apr 20 17:01:21 UTC 2012. 
Is the above information OK? 
1) Yes 
2) 
#? 1 
 
You can make this change permanent for yourself by appending the line 
TZ = 'America/Campo_Grande'; export TZ 
to the file '.profile' in your home directory; then log out and log in again. 
 
Here is que TZ value again, this time on standard output so that you 
can use the /usr/bin/tzselect command in shell scripts: 
America/Sao_Paulo

  • milralze likes this

VPS BY HAPHOST

Servers Counter-Strike 1.6

www.mestreservidores.com.br


#2 Dark

Dark

    Advanced Member

  • Members
  • PipPipPip
  • 43 posts

Posted 10 August 2014 - 02:30 AM

Thanks, many need this type of configuring VPS tutorials . 



#3 facha_2000

facha_2000

    Member

  • Members
  • PipPip
  • 18 posts

Posted 11 August 2014 - 10:49 AM

Thank you. Which OS is?

#4 milralze

milralze

    Member

  • Members
  • PipPip
  • 27 posts
  • LocationBrazil - São Paulo

Posted 12 August 2014 - 01:46 PM

Thank you. Which OS is?

 

I used the Ubuntu x86, but you can use the Centos and other linux system


VPS BY HAPHOST

Servers Counter-Strike 1.6

www.mestreservidores.com.br





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users