Archive for the tag 'change'

If you want to change the settings for recursive domain name service:

Go to Home > DNS Settings (in the Server group) > DNS Recursion.

Select the option you need:
* To allow recursive queries from all hosts, select Allow for all requests.
* To allow recursive queries from your own server and hosts from your network, select Allow for local requests only.
* To allow recursive queries only from your own server, select Deny.
Click OK.

You can change the time zone within a php script. Here is a sample code:

With the php tags enter the following

putenv(”TZ=Europe/Amsterdam”);

You can set the timezone in .htaccess as well. Add the line:

SetEnv TZ America/Indianapolis

List of timezones is here: http://us.php.net/manual/en/timezones.php

SBDavid

Change Language and Theme in Webmin

Change Language and Theme in Webmin

Changing Your Language

Open the Change Language and Theme module under the Webmin category.

In the Webmin UI language field, select Personal choice and select a language from the menu.

Click Make Changes.

Once this is done, a change to the global langage in the Webmin Configuration module will not effect your selection.

Changing Your Theme
To change the theme for your current login only, do the following :

Open the Change Language and Theme module under the Webmin category.

In the Webmin UI theme field, select Personal choice and select a theme from the menu.

Click Make Changes.

For more details visit docs at http://doxfer.com/Webmin/Modules

How to change the local timezone in Linux.

It is easy to change the timezone in Linux server. Replace your /etc/localtime file with the appropriate timezone data file from /usr/share/zoneinfo. For example, to set everything to Greenwich Mean Time (GMT), get a shell prompt and replace your /etc/localtime with /usr/share/zoneinfo/GMT by typing the following shell commands:

# date
# cd /etc
# ln -sf /usr/share/zoneinfo/GMT localtime
# date

The first ‘date’ command will show you the current date/time before you change the timezone. The final ‘date’ command shows you current date/time in the timezone that you chose, which in this example is GMT.

There are many timezone data files in the zoneinfo directory and you can use any of them that you wish. To see them all, do:

$ ls /usr/share/zoneinfo

So, symbolic linking /etc/localtime to any of those files, will change the time on server to that timezone.

« Prev