# Create new SVN repository
#> svnadmin create /svn/FOO
# Import new project FOO
#> svn import --no-ignore MyFOO svn://foo.domain.com/FOO/MyFOO -m "My First Project."
# Checkout FOO
#> svn co svn://foo.domain.com/FOO/MyFOO
# Add
#> svn add myfoo.c
#> svn commit myfoo.c -m "My Foo file."
# Delete
#> svn del myfoo.c
#> svn commit myfoo.c -m "Remove Foo file."
# Add tag
#> svn copy http://foo.domain.com/FOO/trunk http://foo.domain.com/FOO/tags/FOO-r1 -m "${LOGS}"
# Add branch
#> svn copy http://foo.domain.com/FOO/trunk http://foo.domain.com/FOO/branches/FOO-b1 -m "${LOGS}"
#> svn switch http://foo.domain.com/FOO/branches/FOO-b1
# Modify file permission
#> svn propset svn:executable "*" ${FILENAME}
2009年12月3日
Useful SVN commands
2009年12月2日
Use external SMTP server on Mantis bugtracker
[mantis]# cat config_inc.php
# --- email variables -------------
$g_smtp_host = 'smtp.domain.com';
$g_smtp_username = 'user_id';
$g_smtp_password = 'user_password';
$g_use_phpMailer = 'ON';
# We do not use sendmail.
$g_phpMailer_method = '2';
?>
[mantis]#
2009年12月1日
God damn issue on Bugzilla installation!
Issue:
[error] [client 192.168.99.11] (13)Permission denied: exec of /var/www/html/bugzilla/index.cgi failed
[error] [client 192.168.99.11] Premature end of script headers: index.cgi
Solution:
#> vi /etc/sysconfig/selinux
Set SELINUX=disabled, then reboot the system.
[error] [client 192.168.99.11] (13)Permission denied: exec of /var/www/html/bugzilla/index.cgi failed
[error] [client 192.168.99.11] Premature end of script headers: index.cgi
Solution:
#> vi /etc/sysconfig/selinux
Set SELINUX=disabled, then reboot the system.
訂閱:
文章 (Atom)