作者:南非蜘蛛
原文:
http://www.douzhe.com/article/2/729.html因为不能完全删除plog里的一个用户,状态是禁用,在summary.php里还有这个用户的plog发言
但是我想彻底删除
询问mark,他说plog 1.0.1才有此功能
所以打算升级到1.0.1版本
mark给我了一些相关链接资料,看了一下,很简单,开始工作
1:下载
wget
http://subversion.tigris.org/tarballs/subversion-1.0.9.tar.gz2:解压
tar zxvf subversion-1.0.9.tar.gz
cd subversion
./configure
make
make install
就这么简单
看看帮助
[root@douzhe plog]# svn help
Available subcommands:
add
blame (praise, annotate, ann)
cat
checkout
cleanup
commit (ci)
copy (cp)
delete (del, remove, rm)
diff (di)
export
help (?, h)
import
info
list (ls)
log
merge
mkdir
move (mv, rename, ren)
propdel (pdel, pd)
propedit (pedit, pe)
propget (pget, pg)
proplist (plist, pl)
propset (pset, ps)
resolved
revert
status (stat, st)
switch (sw)
update (up)
备份原来的plog
mv plog plogbak
直接svn checkout就行
svn checkout
http://devel.lifetype.net/svn/plog/plog/branches/plog-1.0.1mv plog-1.0.1 plog
copy一些配置文件
cp -pf ./plogbak/.htaccess ./plog/
cp -pf ./plogbak/config/config.properties.php ./plog/config/
cp -pf ./plogbak/gallery ./plog/
把我后装的模板copy过去
cp -pfr ./plogbak/templates/green ./blogbak/templates/spring ./plog/templates/
输入链接看看
http://www.douzhe.com/blog/被删除的blog发表的文章看不到了
希望对大家有用
感谢mark的帮助