发布时间:2016-07-01 00:03:40
通过rsync+inotify-tools+ssh实现触发式远程实时同步 ,但是由于原来的配置认证繁琐,很容易出错,今天重新整理了下,用rsync密码文件pas认证的方式进行同步。
实现目标:目录/home/httpd/20dir 通过Rysnc实时同步到/home/httpd/21dir目录。......【阅读全文】
发布时间:2015-03-02 22:35:58
在启动或重启apache时报以下错误,虽然没有影响,但总感觉怪怪的。httpd: apr_sockaddr_info_get() failed for 103.localdomainhttpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName解决方法:1)进入apache的安装目录:(视个人安装情况而不同)/etc/.........【阅读全文】
发布时间:2015-02-01 22:57:25
for i in `seq 1 9`do for j in `seq 1 $i` do k=$[$i*$j] echo -ne "$j*$i=$k\t" done echodone......【阅读全文】