![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
一杯雪花勇闯天涯
越努力越幸运
展开
-
checking for cURL 7.15.5 or greater... configure: error: cURL version 7.15.5 or later is required to
checking for cURL 7.15.5 or greater… configure: error: cURL version 7.15.5 or later is required to compile php with cURL support解决方案:yum -y install curl-devel原创 2020-03-10 22:48:02 · 4762 阅读 · 0 评论 -
深入了解Linux下周期性执行定时任务工具crontab
一.什么是crontabcrontab命令是linux系统中的一个系统服务crond来处理的,crond是一个守护进程,默认会开启及启动,crond进程除了给系统执行周期性的任务外也给使用用户提供了crontab命令来执行一些定时任务。crontab 命令是用于执行周期性的一些定时任务,可以定时执行一些命令或shell脚本,比如定时备份数据库,清理php session缓存文件,定期重启服务器...原创 2019-01-12 14:04:23 · 366 阅读 · 0 评论 -
利用crontab执行php脚本
1.执行的php脚本内容<?php $myfile = fopen("/home/wwwlogs/crontab.txt", "a+");//这里写相对路径不行$txt = "crontab job\n"; fwrite($myfile, $txt); fclose($myfile); ?>2.添加定时任务每两分钟执行一次php脚本crontab -e 输入以下内容*...原创 2019-01-12 16:54:08 · 1929 阅读 · 0 评论 -
基于VM10安装centos系统
到这个步骤linux系统就安装好了原创 2019-04-23 11:38:05 · 178 阅读 · 0 评论 -
在VM中安装centos系统,没有ifconfig命令的解决方案
yum install net-tools此时执行ifconfig命令可以查看本机人ip地址原创 2019-04-23 11:43:51 · 897 阅读 · 1 评论 -
untuntu 系统同步网络时间的解决方案
1.安装ntpdate工具sudo apt-get install ntpdate2.将系统时间与网络同步ntpdate cn.pool.ntp.org3.将时间写入硬件hwclock --systohc4.查看时间是否已同步原创 2019-04-25 11:40:11 · 414 阅读 · 0 评论