Step 1:
check the library libz and prce whether existing
Step 2
download from http://www.lighttpd.net/download/
$ tar -zxvf lighttpd-1.4.18.tar.gz
$ cd lighttpd-1.4.18
..... wait for checking, installing the package which it needs.
http://www.cyberciti.biz/tips/installing-and-configuring-lighttpd-webserver-howto.html
Alters the default version of python
$ sudo ln -sf /usr/bin/python3.1 /usr/bin/python
$ python --version
$ 3.1+
$ ctrl+alt+f1
(here , log in with your account)
$ mv ~/.gconf/app/panel ~/.gconf/app/panel.bak
$ sudo pkill gnone-session
$ ctrl+alt+f7
The panel be rebuilding .
sudo apt-get install trash-cli
vim ~/.brash_aliases
enter this alias rm='trash' (the command trash maybe is trash-put, more detail check the trash-cli document)
then, logout again.
test
touch tt
mkdir abc
rm tt
rm -rf abc
now you can find the tt and abc in trash directory that path is ~/.local/share/Trash/file
Section one
Environment:
PC system : ubuntu9.10
Subversion: 1.6.5
The /var/www is project path you need to change
Step1 Installation
sudo apt-get install subversion libapache2-svn
Step2 set the permission and access type
sudo groupadd subversion
sudo mkdir /home/svn/myproject
sudo cd /home/svn
sudo chown -R www-data:subversion myproject
sudo chmod g+rws myproject
now, you can visit it by this link http://localhost/svn/myproject
you need to edit the config of the apache for svn, just check here,
https://help.ubuntu.com/8.04/serverguide/C/subversion.html
In detail of access methods , see link: https://help.ubuntu.com/community/Subversion )
Config the apache
sudo vim /etc/apache2/mods-available/dav_svn.conf
<Location /svn/myproject>
<SVNPath /home/svn/myproject>
AuthType Basic
AuthName "repository myproject"
AuthUserFile /etc/subversion/passwd
<LimitExcept GET PROPFIND OPTIONS REPORT>
Require valid-user
</LimitExcept>
</Location>
sudo /etc/init.d/apache2 restart

Section two
Step1 create repository and import project
sudo svnadmin create /home/svn/myproject
sudo svn import /var/www/myproject file:///home/svn/myproject -m 'initial import of the phpsse project'
Step2 check out your copy of the project
cd /var/www/
mv myproject myproject.bak
svn checkout file:///home/svn/myproject myproject
now , you could modify and edit the files in this directory(/var/www/myproject)
then , "svn update, svn commit it"
more detail, http://onlamp.com/pub/a/onlamp/2002/10/31/subversion.html?page=2
Step3 How to make directory, rename , delete, make file
cd /var/www/myproject
svn mkdir foo
sudo svn ci -m 'test mkdir'
svn mv foo aoo
sudo svn ci -m 'test rename'
svn del aoo
sudo svn ci -m 'test delete'
touch file.txt
svn add file.txt
sudo svn ci -m 'test for adding a file'
If you wanna know the modification of repository, take this command
svn update
svn ls
svn st -u (svn st -v, or svn st -v -u)
svn log
svn cleanup (this is will cleanup your working copy in local , it return a message when you commit)
摘要: First ,http://amix.dk/vim/vimrc.htmlSecond,https://github.com/spf13/spf13-vimThird, pressing this command in your terminal . git clone git://github.com/spf13/spf13-vim.git cd spf13-vim git submodule update --init cd ~ mv .vim .vim.old (backup the .vim if you have had this directory) cp spf13-vim/.vi
阅读全文
摘要: html如下<div id="#pro_type"> <select>.....</select></div>----------------------------------------------------------------------------------------js如下CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->$(document).re
阅读全文
摘要: 有关DISCUZ论坛新邮件信息显示无效的解决方案以下是论坛接受邮件显示的无效链接的邮件正文: 您好,这封信是由 大学生计算机交流社区 发送的。您收到这封邮件,是因为您订阅的以下主题在最近 24 小时内有了新的回复。如果您并没有访问过我们的论坛,或没有进行上述操作,请忽略这封邮件。您不需要退订或进行其他进一步的操作。----------------------------------------------------------------------主题信息--------------------------------------------------------------------
阅读全文
摘要: http://www.linuxfly.org/post/149.htm
阅读全文