These 3 kinds of vulnerability conventional reinforcement to the corresponding operating system to the official vulnerability upgrade package. Now that's the case, the following is unconventional:OPENSSH:To change the SSH version:Whereis ssh//view SSH directoryCD to this directoryCP SSH Ssh.bak//backup SSHSsh-v//view SSH versionSed-i ' s/openssh_6.9p1/openssh_7.2p2/g ' SSH//modified version, previous to current version, back to latest versionSSH-V//Check the revised versionTelnet 127.0.0.1 22//v
Centos uses ntp to maintain time synchronization 01www.2cto.com # Install and start ntp02yuminstallntp03chkconfigntpdon04ntpdatepool. ntp. org05servicentpdstart0607 # Modify the time zone www.2cto. com08ln-s/usr/share /... centos uses ntp to maintain time synchronization 01 www.2cto.com # install and start ntp02yum install ntp03chkconfig ntpd on04ntpdate pool.
NTP server: Network time Protocol (NTP) is a protocol used to synchronize the timing of a computer, which allows the computer to synchronize its servers or clock sources (such as quartz clocks, GPS, etc.) It provides high-precision time correction (less than 1 milliseconds on LAN versus standard, dozens of MS on WAN) and can be referred to as a cryptographic acknowledgment to prevent malicious protocol atta
Background:When the server is more, the time is accurate or not, the consistency is a problem. So it is necessary to unify the time.Here's how to configure a Linux time server within a LAN.Configuration environment and requirements:1. Assume that the Linux machine with IP 192.168.1.201 is the time server in the 192.168.1.0 network segment.2.192.168.1.201 server can Sisu network, can be synchronized with the more authoritative public network time server.3. Other machines in the same network segme
First, the environment[Email protected] tmp]# cat/etc/redhat-6.9-I10.0. 0.61 172.16. 1.61(intranet)Second, check whether the service software is installed[Email protected] tmp]# RPM-QA ntpntp-4.2. 6p5-. 2. x86_64Third, modify the NTP configuration filevim/etc/ntp.conf# Restrict default kod nomodify notrap nopeer noqueryRestrictdefaultnomodify# usePublic servers from the pool.ntp.org project.# Please consider joining the pool (http: www.pool.ntp
If the server's time is messed up, it can cause a lot of unexpected problems. Using NTP, you can make the server get the right time to avoid problems.
NTP is a network time protocol, meaning "Network Time Protocol", is a TCP/IP protocol to achieve the synchronization protocol.
Ubuntu automatically goes to NTP every time it starts. ubuntu . com to do time synchr
Machine Networking:If the server can be networked: Perform ntpdate 1.cn.pool.ntp.org the server will automatically synchronize time write a scheduled task to perform a time synchronization every two minutes;Crontab-e/2 */usr/sbin/ntpdate 1.cn.pool.ntp.org//So that time synchronization can be achievedThe following is a domestic NTP Server1.cn.pool.ntp.org2.cn.pool.ntp.org3.cn.pool.ntp.org0.cn.pool.ntp.orgcn.pool.ntp.orgtw.pool.ntp.org0.tw.pool.ntp.org
Installing NTP
wget http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.6p3.tar.gz
Tar ntp-4.2.6p3.tar.gz
CD NTP-4.2.6P3
./configure--PREFIX=/USR/LOCAL/NTP--enable-all-clo
NTP 'ntpd/ntp_config.c 'Denial of Service Vulnerability (CVE-2015-5195)NTP 'ntpd/ntp_config.c 'Denial of Service Vulnerability (CVE-2015-5195)
Release date:Updated on:Affected Systems:
NTP 4.x
Description:
Bugtraq id: 76474CVE (CAN) ID: CVE-2015-5195Network Time Protocol (NTP) is a Protocol used to synchronize co
Build ntp service on centos Server1. Preparations before installation
View the time zone set above the system
[Root @ linux-node1 ~] # Cat/etc/sysconfig/clock ZONE = "Asia/Shanghai" Thought: how to modify the solution on a linux host: change the time zone vim/etc/sysconfig/clockZONE = "Asia/Shanghai" UTC = trueARC = false to overwrite the system time file cp-a/usr/share/zoneinfo/Asia/Shanghai/etc/ localtime #2. Start to install the
NTP Server: Network TimeprotocolBIOS the intrinsic characteristics of the internal chip can easily cause BIOS Time and UTC There are differences in global standard time. Time synchronization (Synchronize) is an effective way to avoid the time skew caused by the host's long running time. NTP principle:
1. NTP server open listening port number 123
When a program runs on multiple servers, the clock on these servers is sometimes the same. However, when the server runs for a certain period of time, the clock on each server may be different, in this case, all servers need to automatically calibrate their respective clocks.
NTP is a convenient clock service, which can be used for clock synchronization.
(The following solutions apply to local networks that do not connect to the Internet. The requirem
On AIX 6.1, the NTP clock synchronization configuration details ntp synchronization server time NTP service is currently used in a small number of projects, recently a DB2 cluster, there are some requirements for time consistency, so I wantNtp. Although timed can also be used, it is only effective for broadcast domains, but it is still more powerful. Www.2cto.com
This experiment uses 2 Rhel 6.3, of which 192.168.1.131 is the service side; 192.168.1.132 is the client. Server-side configuration allows only 192.168.1.0 network segments to connect to servers for time synchronization1. Install the NTP service (client and server side)# yum-y Install ntp# Rpm-qa | grep ntpfontpackages-filesystem-1.41-1.1.el6.noarchntpdate-4.2.6p5-5.el6.centos.4.x86_ 64ntp-4.2.6p5-5.el6.cen
the command line; Export TZ can be. When the date view time, the system is to find the TZ environment variable, TZ is not set to take the search for/etc/localtime file, so the TZ environment variable settings will overwrite the /etc/localtime file information, but the environment variable settings at the next logon is not valid, To be permanently valid, you can write commands to the/etc/profile file. Time Server Setup NTP, Network Time Protocol, is a
1, install NTP service, to use time synchronization, then the server and client need to use the following command to install the NTP package
[root@5201351 ~]# Yum Install ntp-y
2, if only as a client, the configuration can be very simple, edit the/etc/ntp.conf file, comment out the default for the following default 4 lines
Plus the IP address or dom
Experimental environment:
Linux CentOS 5.5 Two units
IP Address:
ntpserver:192.168.186.129
ntpclient:192.168.186.152
Test requirements:
Install the NTP server and deploy the implementation to allow the client to synchronize its practices normally. and analysis of the fault handling encountered during the implementation of the project.
Implementation process:
NtpServer-side deployments.
1, first check whether the
Found a problem today, CENTOS7 synchronization time has an error[[email protected] cm-5.8.3]# ntpdate pool.ntp.org 9 Dec 04:53:19 ntpdate[63834]: The NTP socket is on use, exitingThe reason is that he has started the NTP service, and here I shut him down, and resynchronization is normal.[[email protected] cm-5.8.3]# systemctl stop ntpd.service[[email protected] cm-5.8.3]# ntpdate pool.ntp.org 8 Dec 20:54: N
Run the following command as an administrator in PowerShell W32tm/config/manualpeerlist:pool.ntp.org/syncfromflags:manualstop-service W32timestart-service W32Time
W32TM is the command to use. Sure, there is articles out there mentioning "net time", but you should not use that. Some other also mentions editing the registry directly, but as Microsoft mentions in the article: It's recommended th At directly edit the registry unless there are no other alternative. But if you really want to
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.