亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? tarmainuninstall.sh

?? 2000年7月,Borland(即現(xiàn)在的Inprise)公司公布了其數(shù)據(jù)庫產(chǎn)品Interbase的源代碼.Firebird數(shù)據(jù)庫就是從該數(shù)據(jù)庫中派生出來的.當(dāng)時(shí),Interbase是與客戶/服務(wù)器版本
?? SH
?? 第 1 頁 / 共 2 頁
字號:
#!/bin/sh# posixLibrary.sh#!/bin/sh#------------------------------------------------------------------------# Global stuff initAnswer=""OrigPasswd=""TmpFile=""FBRootDir=/opt/firebirdexport FBRootDirFBBin=$FBRootDir/binexport FBBinSecurityDatabase=security2.fdbArchiveDateTag=`date +"%Y%m%d_%H%M"`export ArchiveDateTagArchiveMainFile="${FBRootDir}_${ArchiveDateTag}.tar.gz"export ArchiveMainFile#------------------------------------------------------------------------# Create temporary file. In case mktemp failed, do something...MakeTemp() {	TmpFile=`mktemp -q /tmp/firebird_install.XXXXXX`	if [ $? -ne 0 ]	then		TmpFile=/tmp/firebird_install		touch $TmpFile	fi}#------------------------------------------------------------------------# Prompt for response, store result in AnswerAskQuestion() {    Test=$1    DefaultAns=$2    echo -n "${1}"    Answer="$DefaultAns"    read Answer    if [ -z "$Answer" ]    then        Answer="$DefaultAns"    fi}#------------------------------------------------------------------------# Prompt for yes or no answer - returns non-zero for noAskYNQuestion() {    while echo -n "${*} (y/n): "    do        read answer rest        case $answer in        [yY]*)            return 0            ;;        [nN]*)            return 1            ;;        *)            echo "Please answer y or n"            ;;        esac    done}#------------------------------------------------------------------------# Run $1. If exit status is not zero, show output to user.runSilent() {	MakeTemp	$1 >$TmpFile 2>&1	if [ $? -ne 0 ]	then		cat $TmpFile		echo ""		rm -f $TmpFile		return 1	fi	rm -f $TmpFile	return 0}#------------------------------------------------------------------------# Check for a user, running install, to be rootcheckRootUser() {    if [ "`whoami`" != "root" ];      then        echo ""        echo "--- Stop ----------------------------------------------"        echo ""        echo "    You need to be 'root' user to do this change"        echo ""        exit 1    fi}#aliascheckInstallUser() {	checkRootUser}#------------------------------------------------------------------------#  resetInetdServer#  Works for both inetd and xinetdresetInetdServer() {	pid=`ps -efww | grep inetd | grep -v grep | awk '{print $2}'`    if [ "$pid" ]    then        kill -HUP $pid    fi}#------------------------------------------------------------------------# remove the xinetd config file(s)# take into account possible pre-firebird xinetd servicesremoveXinetdEntry() {	for i in `grep -l "service gds_db" /etc/xinetd.d/*`	do        rm -f $i    done}#------------------------------------------------------------------------# remove the line from inetd fileremoveInetdEntry() {    FileName=/etc/inetd.conf    oldLine=`grep "^gds_db" $FileName`    removeLineFromFile "$FileName" "$oldLine"}#------------------------------------------------------------------------#  Remove (x)inetd service entry and restart the service.#  Check to see if we have xinetd installed or plain inetd.  #  Install differs for each of them.removeInetdServiceEntry() {    if [ -d /etc/xinetd.d ]     then        removeXinetdEntry    elif [ -f /etc/inetd.conf ]	then        removeInetdEntry    fi    # make [x]inetd reload configuration	resetInetdServer}#------------------------------------------------------------------------#  check if it is runningcheckIfServerRunning() {    stopSuperServerIfRunning# Check is server is being actively used.    checkString=`ps -efww| egrep "\b(fbserver|fbguard)\b" |grep -v grep`    if [ ! -z "$checkString" ]    then        echo "An instance of the Firebird Super server seems to be running."        echo "Please quit all Firebird applications and then proceed."        exit 1    fi    checkString=`ps -efww| egrep "\b(fb_inet_server|gds_pipe)\b" |grep -v grep`    if [ ! -z "$checkString" ]    then        echo "An instance of the Firebird Classic server seems to be running."        echo "Please quit all Firebird applications and then proceed."        exit 1    fi# The following check for running interbase or firebird 1.0 servers.    checkString=`ps -efww| egrep "\b(ibserver|ibguard)\b" |grep -v grep`    if [ ! -z "$checkString" ]     then        echo "An instance of the Firebird/InterBase Super server seems to be running."         echo "(the ibserver or ibguard process was detected running on your system)"        echo "Please quit all Firebird applications and then proceed."        exit 1     fi    checkString=`ps -efww| egrep "\b(gds_inet_server|gds_pipe)\b" |grep -v grep`    if [ ! -z "$checkString" ]     then        echo "An instance of the Firebird/InterBase Classic server seems to be running."         echo "(the gds_inet_server or gds_pipe process was detected running on your system)"        echo "Please quit all Firebird applications and then proceed."         exit 1     fi	removeInetdServiceEntry	# Stop lock manager if it is the only thing running.    for i in `ps -efww | grep "fb_lock_mgr" | grep -v "grep" | awk '{print $2}' `	do        kill $i	done}#------------------------------------------------------------------------#  ask user to enter CORRECT original DBA passwordaskForOrigDBAPassword() {    OrigPasswd=""    while [ -z "$OrigPasswd" ]    do        AskQuestion "Please enter current password for SYSDBA user: "        OrigPasswd=$Answer        if ! runSilent "$FBBin/gsec -user sysdba -password $OrigPasswd -di"		then			OrigPasswd=""		fi	done}#------------------------------------------------------------------------#  Modify DBA password to value, asked from user. #  $1 may be set to original DBA password#  !! This routine is interactive !!askUserForNewDBAPassword() {	if [ -z $1 ]	then		askForOrigDBAPassword	else		OrigPasswd=$1	fi    NewPasswd=""    while [ -z "$NewPasswd" ]    do        AskQuestion "Please enter new password for SYSDBA user: "        NewPasswd=$Answer        if [ ! -z "$NewPasswd" ]        then            if ! runSilent "$FBBin/gsec -user sysdba -password $OrigPasswd -modify sysdba -pw $NewPasswd"            then				NewPasswd=""			fi		fi	done}#------------------------------------------------------------------------# add a line in the (usually) /etc/services or /etc/inetd.conf file# Here there are three cases, not found         => add#                             found & different => replace#                             found & same      => do nothing#                             replaceLineInFile() {    FileName="$1"    newLine="$2"    oldLine=`grep "$3" $FileName`    if [ -z "$oldLine" ]     then        echo "$newLine" >> "$FileName"    elif [ "$oldLine" != "$newLine"  ]    then		MakeTemp        grep -v "$oldLine" "$FileName" > "$TmpFile"        echo "$newLine" >> $TmpFile	    # The \n is needed, some /etc/services files are missing a trailing    	# line feed - MOD 12-Dec-2003		echo "" >>$TmpFile        cp $TmpFile $FileName && rm -f $TmpFile        echo "Updated $1"    fi}#------------------------------------------------------------------------# "edit" file $1 - replace line starting from $2 with $3# This should stop ed/ex/vim/"what else editor" battle.# I hope awk is present in any posix system? AP.editFile() {    FileName=$1    Starting=$2    NewLine=$3		AwkProgram="(\$1 == \"$Starting\") {\$0=\"$NewLine\"} {print \$0}"	MakeTemp	awk "$AwkProgram" <$FileName >$TmpFile && mv $TmpFile $FileName || rm -f $TmpFile}#------------------------------------------------------------------------# remove line from config file if it exists in it.removeLineFromFile() {    FileName=$1    oldLine=$2    if [ ! -z "$oldLine" ]     then        cat $FileName | grep -v "$oldLine" > ${FileName}.tmp        cp ${FileName}.tmp $FileName && rm -f ${FileName}.tmp    fi}#------------------------------------------------------------------------# Write new password to the /opt/firebird/SYSDBA.password filewriteNewPassword() {    NewPasswd=$1	DBAPasswordFile=$FBRootDir/SYSDBA.password	cat <<EOT >$DBAPasswordFile# Firebird generated password for user SYSDBA is:ISC_USER=sysdbaISC_PASSWD=$NewPasswdEOT    if [ $NewPasswd = "masterkey" ]    then        echo "# for install on `hostname` at time `date`" >> $DBAPasswordFile        echo "# You should change this password at the earliest oportunity" >> $DBAPasswordFile    else         echo "# generated on `hostname` at time `date`" >> $DBAPasswordFile    fi		cat <<EOT >>$DBAPasswordFile# Your password can be changed to a more suitable one using the# /opt/firebird/bin/changeDBAPassword.sh scriptEOT    chmod u=r,go= $DBAPasswordFile    # Only if we have changed the password from the default do we need    # to update the entry in the database    if [ $NewPasswd != "masterkey" ]    then        runSilent "$FBBin/gsec -user sysdba -password masterkey -modify sysdba -pw $NewPasswd"    fi}#------------------------------------------------------------------------#  Generate new sysdba password - this routine is used only in the #  rpm file not in the install script.generateNewDBAPassword() {    # openssl generates random data.	openssl </dev/null >/dev/null 2&>/dev/null    if [ $? -eq 0 ]    then        # We generate 20 random chars, strip any '/''s and get the first 8        NewPasswd=`openssl rand -base64 20 | tr -d '/' | cut -c1-8`    fi    # mkpasswd is a bit of a hassle, but check to see if it's there    if [ -z "$NewPasswd" ]    then        if [ -f /usr/bin/mkpasswd ]        then            NewPasswd=`/usr/bin/mkpasswd -l 8`        fi    fi	# On some systems the mkpasswd program doesn't appear and on others	# there is another mkpasswd which does a different operation.  So if	# the specific one isn't available then keep the original password.    if [ -z "$NewPasswd" ]    then        NewPasswd="masterkey"    fi    writeNewPassword $NewPasswd}#------------------------------------------------------------------------#  Change sysdba password.changeDBAPassword() {    if [ -z "$InteractiveInstall" ]      then        generateNewDBAPassword      else        askUserForNewDBAPassword masterkey    fi}#------------------------------------------------------------------------#  buildUninstallFile#  This will work only for the .tar.gz install and it builds an#  uninstall shell script.  The RPM system, if present, takes care of it's own.buildUninstallFile() {    cd "$origDir"    if [ ! -f manifest.txt ]  # Only exists if we are a .tar.gz install    then        return    fi    cp manifest.txt $FBRootDir/misc    cp -r scripts $FBRootDir/misc/    cp scripts/tarMainUninstall.sh $FBRootDir/bin/uninstall.sh}#------------------------------------------------------------------------# Remove if only a linkremoveIfOnlyAlink() {	Target=$1    if [ -L $Target ]    then        rm -f $Target    fi}#------------------------------------------------------------------------# re-link new file only if target is a link or missingsafeLink() {	Source=$1	Target=$2		removeIfOnlyAlink $Target    if [ ! -e $Target ]    then        ln -s $Source $Target    fi}#------------------------------------------------------------------------#  createLinksForBackCompatibility#  Create links for back compatibility to InterBase and Firebird1.0 #  linked systems.createLinksForBackCompatibility() {    # These two links are required for compatibility with existing ib programs    # If the program had been linked with libgds.so then this link is required    # to ensure it loads the fb equivalent.  Eventually these should be     # optional and in a seperate rpm install.  MOD 7-Nov-2002.	if [ "$1" ]	then		# Use library name from parameter		newLibrary=$FBRootDir/lib/$1	else	    # Use DefaultLibrary, set by appropriate install library    	newLibrary=$FBRootDir/lib/$DefaultLibrary.so	fi	safeLink $newLibrary /usr/lib/libgds.so	safeLink $newLibrary /usr/lib/libgds.so.0}#------------------------------------------------------------------------#  removeLinksForBackCompatibility#  Remove links for back compatibility to InterBase and Firebird1.0 #  linked systems.removeLinksForBackCompatibility() {    removeIfOnlyAlink /usr/lib/libgds.so    removeIfOnlyAlink /usr/lib/libgds.so.0}#------------------------------------------------------------------------#  For security reasons most files in firebird installation are#  root-owned and world-readable(executable) only (including firebird).#  For some files RunUser (firebird) must have write access - #  lock and log for examples.MakeFileFirebirdWritable() {    FileName=$1    chown $RunUser:$RunUser $FileName    chmod 0644 $FileName}#------------------------------------------------------------------------#  Set correct permissions for $FbRoot/doc treefixDocPermissions() {	cd $FBRootDir	for i in `find doc -print`; do		chown root:root $i		if [ -d $i ]; then			chmod 0755 $i		else			chmod 0644 $i		fi	done}#------------------------------------------------------------------------# Run process and check statusrunAndCheckExit() {    Cmd=$*    $Cmd    ExitCode=$?    if [ $ExitCode -ne 0 ]    then        echo "Install aborted: The command $Cmd "        echo "                 failed with error code $ExitCode"        exit $ExitCode    fi}#------------------------------------------------------------------------#  Display message if this is being run interactively.displayMessage() {    msgText=$1    if [ ! -z "$InteractiveInstall" ]    then        echo $msgText    fi}#------------------------------------------------------------------------#  Archive any existing prior installed files.#  The 'cd' stuff is to avoid the "leading '/' removed message from tar.#  for the same reason the DestFile is specified without the leading "/"

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一区国产二区| 亚洲另类中文字| 免费xxxx性欧美18vr| 欧美精品自拍偷拍动漫精品| 亚洲国产中文字幕在线视频综合| 99综合电影在线视频| 国产精品初高中害羞小美女文| 波波电影院一区二区三区| 中文字幕永久在线不卡| 日本道在线观看一区二区| 亚洲一区二区三区小说| 91精品国产一区二区三区香蕉| 丝袜美腿亚洲综合| 26uuu精品一区二区| 成人免费视频播放| 一区二区三区欧美日韩| 91麻豆精品国产自产在线| 国内精品伊人久久久久影院对白| 国产女人水真多18毛片18精品视频| va亚洲va日韩不卡在线观看| 亚洲精品视频一区| 欧美精选一区二区| 国产精品综合av一区二区国产馆| 国产精品福利在线播放| 欧美在线小视频| 美国欧美日韩国产在线播放| 欧美国产一区二区| 91国产视频在线观看| 另类小说欧美激情| 亚洲欧美自拍偷拍色图| 在线观看91av| 成人精品国产一区二区4080 | 日韩免费高清视频| 国产激情视频一区二区三区欧美| 国产精品看片你懂得| 欧美日韩国产乱码电影| 国产大陆a不卡| 亚洲电影一级片| 国产日韩欧美高清在线| 欧美精品精品一区| 99这里只有久久精品视频| 久久国产精品一区二区| 亚洲理论在线观看| 久久久久99精品国产片| 欧美日韩卡一卡二| 成人av电影在线播放| 久久99精品久久久久| 亚洲一区二区三区三| 国产欧美日韩亚州综合| 91精品免费在线观看| 97超碰欧美中文字幕| 狠狠色狠狠色合久久伊人| 亚洲宅男天堂在线观看无病毒| 国产精品国产精品国产专区不片 | 国产九色sp调教91| 香蕉久久夜色精品国产使用方法| 国产精品久久久久一区二区三区| 国产精品日日摸夜夜摸av| 香蕉久久一区二区不卡无毒影院| 国产精品美女久久久久久久久 | 亚洲高清三级视频| 在线精品视频免费播放| 不卡av免费在线观看| 毛片av中文字幕一区二区| 午夜久久久久久久久| 亚洲男同1069视频| 国产精品久久久久精k8| 久久久无码精品亚洲日韩按摩| 51午夜精品国产| 欧美午夜精品久久久| 色婷婷激情综合| 丁香天五香天堂综合| 国产精品一级在线| 国产剧情一区二区三区| 一区二区三区成人在线视频| 欧美va在线播放| 欧美一区二区视频网站| 欧美久久久久久久久| 欧美美女激情18p| 欧美日韩在线播放一区| 91福利资源站| 91成人国产精品| 欧美在线看片a免费观看| 日本韩国一区二区| 91视频一区二区| 91麻豆高清视频| 一本久久a久久精品亚洲| www.综合网.com| 91首页免费视频| 日本乱人伦aⅴ精品| 在线看日本不卡| 欧美日韩中文字幕精品| 欧美精品99久久久**| 91麻豆精品国产91久久久久久久久| 欧美色区777第一页| 欧美男人的天堂一二区| 欧美一区二区三区视频在线 | 久久超级碰视频| 精品午夜久久福利影院| 精品中文字幕一区二区小辣椒| 精品在线亚洲视频| 成人自拍视频在线观看| 99久久精品99国产精品| 欧美在线视频全部完| 51精品秘密在线观看| 精品免费视频.| 中文字幕一区二区三区四区不卡| 亚洲啪啪综合av一区二区三区| 亚洲激情av在线| 日韩精品福利网| 国产成人自拍网| 91久久免费观看| 日韩一区二区麻豆国产| 国产农村妇女毛片精品久久麻豆 | 99久久精品情趣| 在线免费亚洲电影| 欧美一区二区三区公司| 国产精品网站在线播放| 一区二区高清免费观看影视大全| 日韩av电影免费观看高清完整版 | 99精品欧美一区二区三区小说| 欧美亚洲国产bt| 久久免费午夜影院| 亚洲欧美色一区| 麻豆一区二区三| 91丨porny丨国产入口| 日韩欧美国产精品| 亚洲免费毛片网站| 久久99精品国产91久久来源| 99视频在线精品| 日韩一区二区电影网| 亚洲视频免费在线观看| 蜜桃一区二区三区在线观看| 99久久国产综合精品色伊| 制服丝袜亚洲色图| 亚洲天堂中文字幕| 国内久久精品视频| 欧美精品一卡二卡| 亚洲人成人一区二区在线观看| 精品一区在线看| 91九色02白丝porn| 国产欧美精品一区aⅴ影院| 日本成人在线看| 色噜噜狠狠色综合中国| 国产日韩欧美电影| 免费在线成人网| 欧美色成人综合| 国产精品久久久久久久裸模| 久久99国产精品免费| 欧美视频一区二| 日韩伦理电影网| 风间由美性色一区二区三区| 欧美一卡二卡在线观看| 亚洲线精品一区二区三区八戒| 国产+成+人+亚洲欧洲自线| 日韩免费看的电影| 日韩精品每日更新| 欧美人体做爰大胆视频| 亚洲自拍欧美精品| 91视频免费看| 亚洲美女区一区| 91网站视频在线观看| 日本一区二区三区高清不卡| 老司机精品视频在线| 欧美一区二区性放荡片| 日韩极品在线观看| 欧美日韩国产a| 午夜精品久久久久久| 欧美色倩网站大全免费| 亚洲成a天堂v人片| 欧美性大战xxxxx久久久| 亚洲精品videosex极品| 99riav久久精品riav| 自拍偷拍国产亚洲| 本田岬高潮一区二区三区| 国产精品视频看| 99久久婷婷国产综合精品 | 亚洲制服丝袜在线| 欧美三级欧美一级| 亚洲福利一区二区三区| 欧美日韩大陆一区二区| 日韩在线一二三区| 91精品久久久久久久91蜜桃| 国产99久久久国产精品免费看| 久久毛片高清国产| 成人高清视频免费观看| ...中文天堂在线一区| 91视视频在线观看入口直接观看www | 伊人一区二区三区| 在线观看视频一区| 亚洲va欧美va国产va天堂影院| 欧美猛男超大videosgay| 日本午夜精品一区二区三区电影 | 91电影在线观看| 午夜精品久久久久久久久| 欧美大尺度电影在线| 福利一区福利二区| 亚洲男女毛片无遮挡| 欧美一区二区三区免费观看视频 | 日韩精品一二三区|