open you terminal and run visudo ,then editor it//运行终端,而后运行 visudo,将会进入一个文本编辑状态,在里面新加以下一行html
yourusername ALL=(ALL) ALL
If you want permit to run only some commands, you need to list them in the line://若是你还想更具体的指定该用户权限范围能够做以下修改java
yourusername ALL=(ALL) /bin/kill, /bin/ps
find . -type d -name ".svn"|xargs rm -rf /* ----- 或者 ----- */ find . -type d -iname ".svn" -exec rm -rf {} \;
According to this: http://www.devcha.com/2008/03/svn-directory-svn-containing-working.htmlnode
Check-out the folder "blabla" to a different location and then copy its .svn folder back into the original "blabla".
A good solution from stackoverflownginx
以前用了一个简单的方法,date输出的时间是+8时区,但是用java获得的仍是系统本身的。后来从网上找到一个办法。 来源shell
# 安装 ntpdate 和 ntp apt-get install ntpdate ntp -y # 删除本地时间 /etc/localtime rm -rf /etc/localtime # 把香港时间复制成 localtime cp /usr/share/zoneinfo/Asia/Hong_Kong /etc/localtime # 同步时间 ntpdate cn.pool.ntp.org # 把命令加到开机启动 echo "/usr/sbin/ntpdate us.pool.ntp.org">>/etc/rc.local # 运行下面的命令把时区改成+8(Asia > Hong_Kong) dpkg-reconfigure tzdata
rm ~/.subversion/auth/svn.simple/*