우분투 ntp 설치

우분투 ntp 설치

1 확인[ | ]

Console
Copy
root@zetawiki:~# ntpq --version
The program 'ntpq' is currently not installed. You can install it by typing:
apt-get install ntp

2 설치[ | ]

Console
Copy
root@zetawiki:~# apt-get install ntp
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libopts25
Suggested packages:
  ntp-doc
The following NEW packages will be installed:
  libopts25 ntp
0 upgraded, 2 newly installed, 0 to remove and 97 not upgraded.
Need to get 474 kB of archives.
After this operation, 1,677 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Console
Copy
o you want to continue? [Y/n] 
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty/main libopts25 amd64 1:5.18-2ubuntu2 [55.3 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main ntp amd64 1:4.2.6.p5+dfsg-3ubuntu2.14.04.7 [419 kB]
... (생략)
Setting up libopts25:amd64 (1:5.18-2ubuntu2) ...
Setting up ntp (1:4.2.6.p5+dfsg-3ubuntu2.14.04.7) ...
 * Starting NTP server ntpd                                                         [ OK ] 
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
Processing triggers for ureadahead (0.100.0-16) ...

3 확인 2[ | ]

Console
Copy
root@zetawiki:~# ntpq --version
ntpq 4.2.6p5

4 같이 보기[ | ]

  • 우분투 MySQL 설치
    이번에 처음 우분투를 설치하게 되었고 mysql을 설치하고자 합니다 덕분에 잘 따라하고 있었습니다만 netstat -ntlp | grep mysqld (not all processes could be identified, non-owned process info will not Qweqwe750
  • 우분투 MySQL 설치
    명령어를 실행한 계정이 root가 아닌 것 같군요. 아래와 같이 sudo를 붙여서 실행해보세요. sudo netstat -ntlp | grep mysqld "ERROR 1045 (28000): Access denied for user"는 아이디, 패스워드 확인 후에 아래와 같이 J Jmnote