使用CentOS7 执行定时脚本,结果提示报错:
/bin/sh: root: command not found
问题在于文件 /var/spool/cron/root ,中无需再写root。
修改之后的脚本:
[root@localhost cron]# crontab -l
*/10 * * * * perl /home/awstats/wwwroot/cgi-bin/aws...
分类:
其他好文 时间:
2014-10-18 21:04:48
阅读次数:
1350
CentOS7 安装最新版本 awstats ,在httpd.conf 中加入了alias,可以直接访问网址就进入 浏览。十分不安全。
给访问加上密码的方法:
[root@localhost wwwroot]# htpasswd -bc /home/awstats/wwwroot/.htpasswd aaa 123456
[root@localhost wwwroot]# nano ...
分类:
Web程序 时间:
2014-10-18 21:01:55
阅读次数:
241
如果你有密集恐惧症 则只需要看标题和字体加粗部分.有下划线的是网站都可以点开的. Linux系统分支有很多国内常用的分支主要是: 1.Debian 2.Redhat 参考:GNU/Linux发行版历年分支进化图一览. 目前桌面版Debian分支相比要做的好点,服务器端肯定是Redhat分支了,因为树...
分类:
其他好文 时间:
2014-10-18 15:24:31
阅读次数:
253
前言
本文详细描述Linux下PF_RING的编译和安装过程。
PF_RING版本:6.0.2(当前最新版本)
官方网址:http://www.ntop.org/products/pf_ring/
下载网址:http://sourceforge.net/projects/ntop/files/PF_RING/
Linux系统:Redhat 6.3(x86_64)
GCC版本:GCC 4...
分类:
其他好文 时间:
2014-10-17 10:32:24
阅读次数:
301
我们的安装系统: redhat linux as 4 2.6.9 功能:通过服务器上的外接modem,利用gnokii发送短信。 安装的软件:gnokii 硬件:gprs modem 设备一个,电话卡一张 我在安装gnokii 之前,必须安装gettext-devel-0.14.1-13.i...
分类:
系统相关 时间:
2014-10-16 23:08:33
阅读次数:
421
Now rule the sand the most widely used devices to the number of impact crusher, sand making machineproduction line in plays an important role, but we ...
分类:
系统相关 时间:
2014-10-16 22:50:13
阅读次数:
316
Redhat使用了SELinux来增强安全,关闭的办法为:1. 永久有效修改 /etc/selinux/config 文件中的 SELINUX="" 为 disabled ,然后重启。2. 即时生效setenforce 0关闭防火墙的方法为:1. 永久性生效开启:chkconfig iptables...
分类:
系统相关 时间:
2014-10-16 18:34:02
阅读次数:
254
【转http://blog.csdn.net/wengyupeng/article/details/8513527】1.通用Tcode:SNRO常用维护特定Number range Tcode:5NZINumber range maintenance: RP_IRCERTNumber range m...
分类:
其他好文 时间:
2014-10-16 15:33:42
阅读次数:
1107
1、源码安装[root@localhost~]#yuminstall-ygccgcc-c++httpdphp-xmlphp-pearphp-mbstringphp-cliphp-odbcphp-peclphp-pdophp-gdphp-xmlrpcphp-develphp-mysqlphp-commonphp-processphp-ldapphp-bcmathrrdtool-phpphp-soapvim-X11vim-commonvim-enhancedvim-filesystemvim-minim..
分类:
Web程序 时间:
2014-10-16 11:44:53
阅读次数:
220
Redhat下vsftpd的搭建作者浩浩哥来了首先/etc/init.d/vsftpdrestart查看在当前版本是不是存在vsftpd服务如果路径无法补全,这需要手动安装。Yuminstallvsftpd*-y/etc/init.d/vsftpdrestart将服务启动起来Ifconfig查看当前主机的ip地址在windows中输入ftp://redhat中的ip地址匿..
分类:
系统相关 时间:
2014-10-15 20:31:22
阅读次数:
242