ntpddate 命令用于使用网络计时协议(NTP)设置日期和时间。还可以用于同步时间,此命令需要具备root管理员权限才可执行。 命令简介 ntpddate 命令用于使用网络计时协议(NTP)设置日期和时间。还可以用于同步时间,此命令需要具备root管理员权限才可执行。 [root@centos7 ...
分类:
系统相关 时间:
2021-04-26 13:33:52
阅读次数:
0
Centos6 使用的是iptables,Centos7 使用的是filewall(-cmd)iptables 用于过滤数据包,属于网络层防火墙。firewall 能够允许哪些服务可用,那些端口可用...属于更高一层的防火墙。 1.firewalld的基本使用启动: systemctl start ...
分类:
其他好文 时间:
2021-04-26 13:32:00
阅读次数:
0
说明: a.此种方式安装可以利用国内镜像,下载速度快。 b.适合最新版安装 1.获取yum安装地址 [root@bigdata-senior02 mysql]# wget https://mirrors.tuna.tsinghua.edu.cn/mysql/yum/mysql80-community ...
分类:
数据库 时间:
2021-04-26 13:12:57
阅读次数:
0
1、下载(使用开源版本,源码包) https://www.zentao.net/dl/zentao/15.0.rc3/ZenTaoPMS.15.0.rc3.zip 2、解压放入项目文件夹下面 3、配置nginx server { listen 80; #listen [::]:80 default_ ...
分类:
其他好文 时间:
2021-04-26 13:10:35
阅读次数:
0
Loaded plugins: fastestmirror, langpacks Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error w ...
分类:
Web程序 时间:
2021-04-24 13:53:03
阅读次数:
0
NAT拓扑 lvs-server VIP:10.211.55.99DIP:10.37.129.99 负载均衡器 开启路由功能(VIP桥接,DIP仅主机) rs01 RIP:10.37.129.3 后端服务器 网关指向DIP rs02 RIP: 10.37.129.4 后端服务器 网关指向DIP LV ...
分类:
其他好文 时间:
2021-04-24 13:24:31
阅读次数:
0
1、测试数据 [root@centos7 test3]# cat b.txt e t s e s g m x w d g i d t e g x g e w 2、打印匹配w的行 [root@centos7 test3]# cat b.txt e t s e s g m x w d g i d t e ...
分类:
系统相关 时间:
2021-04-24 13:18:10
阅读次数:
0
【Redis,Netty,Nginx 等实现高性能IO的核心原理】 I/O 输入输出(input/output)的对象可以是文件(file), 网络(socket),进程之间的管道(pipe)。在linux系统中,都用文件描述符(fd)来表示。 I/O 多路复用(multiplexing) I/O ...
分类:
Web程序 时间:
2021-04-24 13:10:34
阅读次数:
0
* * */1 * * /usr/sbin/ntpdate 172.17.14.90 18 * * * echo ''>/usr/local/nginx/logs/access.log0 14 * * * echo ''>/java/apache-tomcat-9.0.31/logs/catalin ...
分类:
系统相关 时间:
2021-04-24 11:54:24
阅读次数:
0
1、测试1 [root@centos7 test2]# i=0 [root@centos7 test2]# max=5 [root@centos7 test2]# while((i<max));do echo $i;((i++));done 0 1 2 3 4 ...
分类:
系统相关 时间:
2021-04-23 12:03:54
阅读次数:
0