I've been integrating Hudson into our build process, interesting enough that I couldn't find where to set the subversion credentials from Hudson's config menus. Found the solution from web, simply go to URL to config:
http://${HUDSON_HOST:PORT}/scm/SubversionSCM/enterCredential
the file on the server is under:
${HOME}/.hudson/hudson.scm.SubversionSCM.xml
Not sure if it supports multiple repositories with different credentials.
Reference:
http://www.testearly.com/2007/06/12/subversion-authentication-in-hudson/
Monday, October 26, 2009
Friday, August 28, 2009
integrate Subversion with Windows Active Directory
apache httpd.conf
<Location /reponame>
DAV svn
SVNPath /opt/subversion/rep/reponame
AuthzSVNAccessFile /opt/subversion/rep/reponame/conf/authz
Require valid-user
AuthBasicProvider ldap
AuthType Basic
AuthName "subversion repository"
AuthLDAPURL "ldap://hostname:389/OU=Users,OU=Shire,DC=shire,DC=org?sAMAccountName?sub?(objectClass=hobbitName)" NONE
AuthLDAPBindDN "CN=Bilbo,CN=Users,DC=shire,DC=org"
AuthLDAPBindPassword "RiNg"
</Location>
authz example
[groups]
wizard = gandalf
hobbit = forodo, sam
[/]
#* = r
@wizard = rw
@hibbot = r
Thursday, August 13, 2009
solaris ps wide
ps -awwx doesn't work under solaris?
don't use the one under /usr/bin/
try this:
/usr/ucb/ps -awwx
/usr/ucb/ps -awwx
Thursday, July 30, 2009
create read-only user in postgres
grant select,insert,update,delete only allows you to grant privileges to an indiviual table.
the following generate the grant commands to all tables in a database for you to copy & paste:
select 'grant select on ' || relname || ' to username;' from pg_class join pg_namespace on pg_namespace.oid=pg_class.relnamespace where nspname ='public' and relkind in ('r','v');
Monday, September 8, 2008
vmware server on ubuntu 8.04 64bit
After installed vmware server 1.0.6 on ubuntu 8.04 64bit, I’ve encountered two problems:
1.
Unable to get the last modification timestamp of the destination file /etc/vmware/ssl/rui.key
solution: apt-get install ia32-libs
2.
Failed to launch vmware:
fwu@vm-master:~$ vmware
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4′ not found (required by /usr/lib32/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0′ not found (required by /usr/lib32/libstdc++.so.6)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4′ not found (required by /usr/lib32/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0′ not found (required by /usr/lib32/libstdc++.so.6)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4′ not found (required by /usr/lib32/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0′ not found (required by /usr/lib32/libstdc++.so.6)
solution:
fwu@vm-master:~$ sudo
mv /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1 /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1.bak
References:
http://ubuntuforums.org/showthread.php?t=312981
http://radio.javaranch.com/davo/2008/06/18/1213791596327.html
1.
Unable to get the last modification timestamp of the destination file /etc/vmware/ssl/rui.key
solution: apt-get install ia32-libs
2.
Failed to launch vmware:
fwu@vm-master:~$ vmware
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4′ not found (required by /usr/lib32/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0′ not found (required by /usr/lib32/libstdc++.so.6)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4′ not found (required by /usr/lib32/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0′ not found (required by /usr/lib32/libstdc++.so.6)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4′ not found (required by /usr/lib32/libcairo.so.2)
/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0′ not found (required by /usr/lib32/libstdc++.so.6)
solution:
fwu@vm-master:~$ sudo
mv /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1 /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1.bak
References:
http://ubuntuforums.org/showthread.php?t=312981
http://radio.javaranch.com/davo/2008/06/18/1213791596327.html
Friday, August 8, 2008
scim doesn’t launch in firefox under ubuntu
Update the following content into these 3 files then you will be able to switch to scim input in firefox.
/etc/X11/xinit/xinput.d/scim
/etc/X11/xinit/xinput.d/none
/etc/X11/xinit/xinput.d/default
#
# Use “X input Method” for all applications
#
# Per Ming’s Documentation in SCIM, XIM Input Method is activated
# not only for old X-applications but also for GTK and QT application.
#
# If a user wish to use, GTK Input Method, (s)he can right-click input
# area and select “Input Methods” and change from “X input Method” to
# “SCIM Input Method”.
#
XIM=SCIM
XIM_PROGRAM=/usr/bin/scim
XIM_ARGS=”-d”
XIM_PROGRAM_SETS_ITSELF_AS_DAEMON=yes
GTK_IM_MODULE=”scim-bridge”
QT_IM_MODULE=”scim-bridge”
DEPENDS=”scim,scim-anthyscim-cannascim-chewingscim-pinyinscim-hanglescim-primescim-skkscim-tables-additionalscim-m17nscim-uimscim-tables-jascim-tables-koscim-tables-zh”
Reference: http://ubuntuforums.org/archive/index.php/t-528382.html
/etc/X11/xinit/xinput.d/scim
/etc/X11/xinit/xinput.d/none
/etc/X11/xinit/xinput.d/default
#
# Use “X input Method” for all applications
#
# Per Ming’s Documentation in SCIM, XIM Input Method is activated
# not only for old X-applications but also for GTK and QT application.
#
# If a user wish to use, GTK Input Method, (s)he can right-click input
# area and select “Input Methods” and change from “X input Method” to
# “SCIM Input Method”.
#
XIM=SCIM
XIM_PROGRAM=/usr/bin/scim
XIM_ARGS=”-d”
XIM_PROGRAM_SETS_ITSELF_AS_DAEMON=yes
GTK_IM_MODULE=”scim-bridge”
QT_IM_MODULE=”scim-bridge”
DEPENDS=”scim,scim-anthyscim-cannascim-chewingscim-pinyinscim-hanglescim-primescim-skkscim-tables-additionalscim-m17nscim-uimscim-tables-jascim-tables-koscim-tables-zh”
Reference: http://ubuntuforums.org/archive/index.php/t-528382.html
Thursday, July 31, 2008
gnome NetworkManager disappeared under AspireOne Linpus
After an unclean shutdown of my new AspireOne, the gnome NetworkManager under linpus doesn’t show up, it was very fustrating that both wireless and wired network doesn’t work anymore. It turns out to be the connection profiles have been corrupted, to fix this just simply delete the connection profiles under the home directory:
rm -rf $HOME/.gconf/system/networking/connections
rm -rf $HOME/.gconf/system/networking/connections
Subscribe to:
Posts (Atom)