跳至主要内容

博文

目前显示的是 十二月, 2011的博文

ssh issue

The GSS-API protected key exchange has failed without indication from the server, possibly due to misconfiguration of the server. Use the GssKeyEx option to disable GSS-API key exchange and try agai change the sshd_config # GSSAPI options GSSAPIAuthentication no #GSSAPICleanupCredentials yes #GSSAPIStrictAcceptorCheck no GSSAPIKeyExchange no the authen and key line to no

Jenkins

#!/bin/bash # Author: Alex Tu, 2011 # ### BEGIN INIT INFO # Provides:          gbv-hudson-integration # Required-Start:    $local_fs $network # Required-Stop: # Default-Start:     3 5 # Default-Stop:      0 1 2 6 # Short-Description: Starts the hudson server for CI # Description:       Starts Continuous Integration System for VZG SOA ### END INIT INFO # to avoid conflict with functions local $1 ARG=$1 APP="jenkins" HUDSON_USER=jenkins HUDSON_GROUP=jenkins JAVA=/usr/bin/java export HOME=/opt/${HUDSON_USER} export HUDSON_WAR=/opt/${HUDSON_USER}/jenkins.war # include rc.status functions test -s /etc/rc.status && . /etc/rc.status && rc_reset # use test_for_app (x|f) test_for_app () {     app_found=0     if [ "f" = "$2" ] && [ -f $1 ]; then         app_found=1     elif [ "x" = "$2" ] && [ -x $1 ]; then         app_found=1     fi     if [ 0 = $app_found ]; then         echo -n "Warning:  Couldn't fin