mirror of
https://github.com/clearlinux/clear-linux-documentation.git
synced 2026-07-11 07:07:08 +00:00
Merge pull request #109 from MCamp859/time-edits
Edited time guide for grammar, formatting, and text flow.
This commit is contained in:
@@ -5,35 +5,36 @@ Set the time
|
||||
|
||||
|CLOSIA| uses the `systemd-timesyncd.service` daemon to synchronize time.
|
||||
|
||||
This section provides instructions to reset the time in your |CL| system when
|
||||
This guide describes how to reset the time in your |CL| system when
|
||||
the default :abbr:`NTP (Network Time Protocol)` servers cannot be reached.
|
||||
|
||||
#. Install the `sysadmin-basic` bundle:
|
||||
#. Install the `sysadmin-basic` bundle.
|
||||
|
||||
.. code-block:: console
|
||||
.. code-block:: bash
|
||||
|
||||
swupd bundle-add sysadmin-basic
|
||||
sudo swupd bundle-add sysadmin-basic
|
||||
|
||||
#. Set your timezone. This example uses Los Angeles.
|
||||
#. Set your time zone. This example uses Los Angeles.
|
||||
|
||||
.. code-block:: console
|
||||
.. code-block:: bash
|
||||
|
||||
timedatectl set-timezone America/Los_Angeles
|
||||
|
||||
.. note::
|
||||
To see a list of timezones, enter:
|
||||
`timedatectl list-timezones | grep <locale>`
|
||||
|
||||
To see a list of time zones, use the command:
|
||||
:command:`timedatectl list-timezones | grep <locale>`
|
||||
|
||||
#. Create a :file:`/etc/systemd/` directory.
|
||||
|
||||
.. code-block:: console
|
||||
.. code-block:: bash
|
||||
|
||||
mkdir -p /etc/systemd/
|
||||
sudo mkdir -p /etc/systemd/
|
||||
|
||||
#. Create a new file named :file:`/etc/systemd/timesyncd.conf` and enter the
|
||||
following:
|
||||
following text.
|
||||
|
||||
.. code-block:: .conf
|
||||
.. code-block:: console
|
||||
|
||||
[Time]
|
||||
NTP=<Preferred Server>
|
||||
@@ -41,21 +42,17 @@ the default :abbr:`NTP (Network Time Protocol)` servers cannot be reached.
|
||||
|
||||
#. Enable the `systemd-timesyncd` service.
|
||||
|
||||
.. code-block:: console
|
||||
.. code-block:: bash
|
||||
|
||||
timedatectl set-ntp true
|
||||
|
||||
.. note::
|
||||
|
||||
Use the :command:`timedatectl status` command to check the service status.
|
||||
To restart the `timesyncd` daemon, enter :command:`systemctl restart systemd-timesyncd`
|
||||
into your terminal emulator.
|
||||
To check the service status, use the :command:`timedatectl status` command.
|
||||
|
||||
Congratulations! You have successfully set up the time in your |CL| system.
|
||||
To restart the `timesyncd` daemon, enter :command:`systemctl restart
|
||||
systemd-timesyncd` into your terminal emulator.
|
||||
|
||||
Further, you are now able to change the time and timezone from your |CL|
|
||||
desktop. The :guilabel:`Date & Time` options are located in the
|
||||
:guilabel:`Settings` application under the :guilabel:`Details`
|
||||
tab.
|
||||
**Congratulations!** You successfully set up the time in your |CL| system.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user