命令:
[root@localhost ~]# yum install setuptool ntsysv system-config-network
解释:
setuptool 貌似是setup工具本身,安装后自带了一个Authentication configuration。
ntsysv 管理服务的
system-config-network 安装网络配置
说明:
有一个客户的论坛打不开了,经检查日志把磁盘空间用完了。删除日志后论坛依旧打不开,根据经验,更新缓存可能会解决这个问题,但是后台进不去该怎么处理呢?
解决办法:
清空 cache 目录,该目录位置:/forumdata/cache,其它软件的缓存目录可能会放一些不能删除的文件在里边,但DZ的可以将目录清空。清空后,再次打开论坛会提示E文的“缓存已更新,请刷新”,所以,再刷新一次,就可以进入啦。到这里还没完,还需要到后台...
mod_bandwidth : Configuration
Global configuration directives :
BandWidthDataDirSyntax : BandWidthDataDir <directory>
Default : “/tmp/apachebw”
Context : server config
Sets the name of the root directory used by mod_bandwidth to store its internal temporary information. Don’t forget to create the needed directories : <directory>/master and <directory>/lin...
$ vnstat --help
vnStat 1.11 by Teemu Toivola
-q, --query query database
-h, --hours show hours
-d, --days show days
-m, --months show months
-w, --weeks show weeks
-t, --top10 show top10
-s, --short use short output
-u, --update up...
如下下载别人的DedeCMS网站模板?
查看网站首页源代码可以找到模板路径:
<link href="/templets/default/style/index.css" type="text/css"/>
之后通过工具下载对应的 list_article.htm、article_image.htm 等文件就可以了:
如何防止别人下载自己的模板?
在 templets 目录中放一个“.htaccess”文件,内容如下:
RewriteEngine on
RewriteRule .(htm|html|inc) / [R,NC,L]
将这个文...