Solved

Ubuntu Manually Set Time

Posted on 2013-05-17
4
482 Views
Last Modified: 2013-05-21
I have an Ubuntu server that is about 30 minutes off. It's on a private 10. network with no access to the outside (and no proxy to use) so I syncing with an ntp server doesn't work.

How can I manually tell the server what time it is?
0
Comment
Question by:brendan-amex
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 7

Accepted Solution

by:
msifox earned 250 total points
ID: 39175813
console command
date MMDDhhmm[[CC]YY][.ss]
for example
date 05172105
for 17th may 9:05pm
0
 
LVL 7

Expert Comment

by:msifox
ID: 39175818
Or reboot, enter bios setup, and do it there.
I did this once on a windows client that thought that I'm not autorized to correct the time setting.
0
 
LVL 30

Assisted Solution

by:serialband
serialband earned 250 total points
ID: 39176198
After you set the date and time with the date command, sync it to hardware with
hwclock --systohc
so that you don't have to reboot.
0
 

Author Closing Comment

by:brendan-amex
ID: 39186007
Thank you both. The answer from msifox answered my question but the help from serialband is a great suggestion!!
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question