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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? tarmaininstall.sh

?? 2000年7月,Borland(即現在的Inprise)公司公布了其數據庫產品Interbase的源代碼.Firebird數據庫就是從該數據庫中派生出來的.當時,Interbase是與客戶/服務器版本
?? 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}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲电影一区二区| 亚洲另类在线一区| 国产精品二三区| 人禽交欧美网站| 91理论电影在线观看| 欧美成人a在线| 亚洲一区欧美一区| 成人午夜伦理影院| 精品久久国产老人久久综合| 国产精品超碰97尤物18| 精油按摩中文字幕久久| 欧美日韩免费一区二区三区| 日韩一区日韩二区| 国产一区二区三区黄视频 | 欧美日本一区二区三区| 欧美国产日本韩| 国产一区二区三区日韩| 51午夜精品国产| 亚洲观看高清完整版在线观看| av在线播放不卡| 日本一区二区成人在线| 国产精品一区二区x88av| 欧美大白屁股肥臀xxxxxx| 亚洲成a人v欧美综合天堂下载| 91亚洲男人天堂| 亚洲日本免费电影| 91亚洲精品一区二区乱码| 中文字幕亚洲欧美在线不卡| 成a人片亚洲日本久久| 欧美激情一区二区三区不卡| 精品一区二区精品| 欧美xxxxx牲另类人与| 美女视频一区在线观看| 日本一区二区三区国色天香| 韩国三级在线一区| 精品少妇一区二区三区日产乱码| 青娱乐精品视频| 欧美一二三区在线观看| 日本亚洲欧美天堂免费| 欧美tickling网站挠脚心| 久久av资源网| 久久精品夜色噜噜亚洲aⅴ| 国产成人精品免费看| 日本一区二区三区久久久久久久久不 | 午夜一区二区三区视频| 欧美日韩精品电影| 奇米影视一区二区三区小说| 欧美电影精品一区二区| 麻豆极品一区二区三区| 欧美精品一区二区在线播放| 国产成人午夜精品影院观看视频 | 亚洲摸摸操操av| 色综合久久久久综合体桃花网| 依依成人精品视频| 欧美日韩在线播放三区四区| 日本免费在线视频不卡一不卡二| 日韩欧美亚洲一区二区| 国产成人av一区二区| 自拍偷拍国产精品| 欧美日韩一本到| 国产在线精品免费| 亚洲美女一区二区三区| 欧美区在线观看| 国产自产视频一区二区三区| 中文字幕欧美日韩一区| 欧美日韩精品综合在线| 国产一区二区三区在线看麻豆| 欧美国产一区二区| 欧洲激情一区二区| 国产在线视视频有精品| 一区二区日韩av| 欧美大片在线观看一区二区| 成人激情免费视频| 日本不卡的三区四区五区| 国产精品美女久久久久av爽李琼| 欧美一a一片一级一片| 激情图片小说一区| 亚洲香蕉伊在人在线观| 国产性天天综合网| 91麻豆精品国产91| 一本大道久久a久久精二百| 麻豆精品久久精品色综合| 一区二区三区中文字幕精品精品| 欧美xxxxxxxxx| 欧美色图激情小说| 成人aa视频在线观看| 免费不卡在线视频| 亚洲综合精品久久| 欧美韩国日本一区| 这里只有精品99re| 色婷婷综合久色| 国产ts人妖一区二区| 青青草原综合久久大伊人精品优势| 亚洲欧美日韩成人高清在线一区| 久久色.com| 精品美女一区二区| 91精品国产黑色紧身裤美女| 色素色在线综合| av动漫一区二区| 国产精品亚洲成人| 精品一区二区日韩| 人禽交欧美网站| 丝袜美腿成人在线| 亚洲电影一区二区三区| 亚洲黄网站在线观看| 亚洲人123区| 亚洲婷婷综合色高清在线| 中文无字幕一区二区三区| 26uuu精品一区二区在线观看| 欧美一区二区三区性视频| 欧美日本在线一区| 欧美人与禽zozo性伦| 欧美精品一二三区| 欧美精品粉嫩高潮一区二区| 欧美日韩国产首页| 欧美精品视频www在线观看| 欧美色区777第一页| 欧美精品一二三四| 91精品免费观看| 欧美成人aa大片| 国产午夜精品久久久久久免费视| 久久久久久99久久久精品网站| 精品国产免费视频| 国产婷婷精品av在线| 国产精品美女久久久久aⅴ| 中文字幕一区av| 亚洲国产日韩a在线播放| 亚洲3atv精品一区二区三区| 日本欧美大码aⅴ在线播放| 久久99国产精品成人| 国产成人午夜精品5599| 91免费国产在线观看| 欧美伊人久久大香线蕉综合69| 欧美日韩www| 久久婷婷久久一区二区三区| 国产精品国模大尺度视频| 亚洲精品一卡二卡| 日本大胆欧美人术艺术动态| 美女网站色91| 99在线精品视频| 欧美美女一区二区三区| 亚洲精品一区二区三区蜜桃下载| 国产亚洲成年网址在线观看| 亚洲精品国产视频| 日本成人在线不卡视频| 东方aⅴ免费观看久久av| 欧美伊人精品成人久久综合97 | 免费高清在线视频一区·| 国产精品1区2区3区在线观看| 91看片淫黄大片一级在线观看| 欧美精品一卡两卡| 国产精品美女久久久久高潮| 亚洲第一会所有码转帖| 国产精品一区二区久久不卡 | 国产河南妇女毛片精品久久久| 91网站黄www| 日韩欧美一二三| 一区二区三区高清| 国产一区欧美二区| 欧洲日韩一区二区三区| 久久天堂av综合合色蜜桃网| 亚洲一区二区三区四区五区中文| 久久99精品久久只有精品| 一本色道久久加勒比精品 | 国产一区二区三区免费播放| 色又黄又爽网站www久久| 日韩欧美一级在线播放| 一区二区在线观看不卡| 国产精品99久| 日韩免费观看2025年上映的电影 | 中文字幕精品一区二区精品绿巨人| 亚洲国产精品久久久久秋霞影院| 丰满放荡岳乱妇91ww| 日韩免费观看2025年上映的电影| 一区二区三区成人| av网站免费线看精品| 久久嫩草精品久久久精品| 日韩黄色免费电影| 日本乱码高清不卡字幕| 国产精品久久精品日日| 国产一区二区三区久久悠悠色av| 91精品中文字幕一区二区三区| 亚洲免费三区一区二区| 成人免费看黄yyy456| 久久亚洲综合av| 激情图片小说一区| 欧美xxxxxxxxx| 久久99热国产| 欧美成人女星排行榜| 日韩高清一区在线| 欧美精品亚洲二区| 大尺度一区二区| 久久影视一区二区| 韩国av一区二区三区在线观看| 91精品国模一区二区三区| 亚洲妇女屁股眼交7| 欧美视频你懂的| 亚洲成av人片观看| 欧美酷刑日本凌虐凌虐| 日韩在线一二三区|