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/*