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

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

?? install.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一区二区三区免费野_久草精品视频
精品在线播放午夜| 日韩久久久精品| 日韩一区二区三区电影在线观看 | 国产在线看一区| 色呦呦一区二区三区| 精品精品国产高清a毛片牛牛| 亚洲影视在线播放| 成人免费视频一区| 精品99久久久久久| 日日噜噜夜夜狠狠视频欧美人| 99九九99九九九视频精品| 精品国产凹凸成av人导航| 亚洲国产一区二区在线播放| 91污片在线观看| 亚洲国产经典视频| 国产一区二区精品久久91| 日韩一区二区电影| 亚洲va天堂va国产va久| 91福利视频网站| 亚洲美女在线一区| 成人av动漫在线| 国产精品三级电影| 粉嫩久久99精品久久久久久夜| 精品国产伦一区二区三区免费 | 在线成人免费观看| 一区二区三区鲁丝不卡| 97久久超碰国产精品电影| 中文字幕第一区第二区| 国产v综合v亚洲欧| 国产亚洲va综合人人澡精品| 精品无码三级在线观看视频| 精品日韩一区二区三区| 蜜桃91丨九色丨蝌蚪91桃色| 欧美一区二区三区色| 日本亚洲天堂网| 日韩一二三区不卡| 免费高清在线一区| 久久综合狠狠综合久久激情| 国产精品影音先锋| 国产拍揄自揄精品视频麻豆| 成人影视亚洲图片在线| ...av二区三区久久精品| 91天堂素人约啪| 亚洲综合丁香婷婷六月香| 欧美性猛交xxxxxxxx| 日本不卡视频在线观看| 精品区一区二区| 成人综合在线视频| 亚洲最新视频在线播放| 欧美日韩国产精选| 国产一区二区三区免费播放| 国产女人18毛片水真多成人如厕| 91亚洲精品久久久蜜桃网站| 一区二区三区在线播放| 欧美一区在线视频| 国产乱子伦视频一区二区三区| 中文字幕在线不卡国产视频| 欧美伊人精品成人久久综合97| 天天综合色天天| 亚洲国产高清在线观看视频| 在线视频你懂得一区| 久久丁香综合五月国产三级网站| 国产欧美综合在线观看第十页 | 欧美大白屁股肥臀xxxxxx| 精品一区二区三区在线播放| 国产日韩av一区| 欧美日韩一本到| 成人免费视频国产在线观看| 亚洲成人免费电影| 国产精品天美传媒沈樵| 一本到三区不卡视频| 另类中文字幕网| 亚洲精品v日韩精品| 精品国产乱码久久久久久夜甘婷婷| 成人av午夜电影| 免费成人美女在线观看| 国产精品久久久久久久久免费樱桃 | 国产精品欧美一区喷水| 欧美日韩日本视频| 成人app软件下载大全免费| 日本一区中文字幕| 一区二区免费在线| 国产精品久久久一本精品 | 亚洲婷婷在线视频| 精品美女一区二区| 欧美久久久久久久久中文字幕| 高清免费成人av| 久久99久久久久| 亚洲v精品v日韩v欧美v专区| 亚洲青青青在线视频| 久久久精品免费免费| 日韩天堂在线观看| 欧美日韩黄色影视| 99re这里只有精品首页| 国产伦精品一区二区三区视频青涩 | 国产亚洲欧洲一区高清在线观看| 在线观看亚洲一区| av中文字幕在线不卡| 国产精品77777竹菊影视小说| 日本欧美一区二区三区| 亚洲午夜私人影院| 一区二区三区不卡在线观看| 亚洲欧洲av一区二区三区久久| 久久综合色播五月| 精品国内二区三区| 欧美一区二区视频网站| 777精品伊人久久久久大香线蕉| 在线观看91视频| 在线亚洲+欧美+日本专区| 99久久er热在这里只有精品15| 成人动漫在线一区| av不卡一区二区三区| 不卡一区二区三区四区| caoporen国产精品视频| 波多野结衣中文一区| 不卡的av电影| 色综合天天在线| 欧美优质美女网站| 欧美精选一区二区| 日韩无一区二区| 久久久久久亚洲综合| 国产欧美综合在线| 国产精品萝li| 亚洲乱码中文字幕综合| 亚洲精品国产a| 视频在线观看国产精品| 久久精品99国产精品| 国产精品一线二线三线| 成人激情校园春色| 色欧美片视频在线观看在线视频| 在线观看国产精品网站| 欧美疯狂性受xxxxx喷水图片| 日韩欧美一级二级三级久久久| 精品国产1区2区3区| 亚洲国产成人在线| 一区二区三区加勒比av| 日产精品久久久久久久性色| 国产在线不卡一区| 91麻豆国产自产在线观看| 欧美视频一区二区三区在线观看 | 麻豆精品视频在线| 国产精品影视网| 在线亚洲免费视频| 欧美成人猛片aaaaaaa| 中文字幕中文在线不卡住| 亚洲一级二级在线| 精品一区二区三区在线观看国产 | 欧美系列一区二区| 欧美变态口味重另类| 国产免费观看久久| 亚洲福利电影网| 国产裸体歌舞团一区二区| 在线视频国内自拍亚洲视频| 精品少妇一区二区三区免费观看| 国产精品久久久久久久久动漫| 日韩黄色免费网站| eeuss鲁一区二区三区| 日韩一区二区电影网| 亚洲精品美腿丝袜| 久久99蜜桃精品| 欧美视频日韩视频| 亚洲国产精品t66y| 美腿丝袜亚洲色图| 欧美在线免费观看视频| 久久九九99视频| 亚洲1区2区3区4区| 91论坛在线播放| 久久久久久久久久久久久夜| 午夜精品在线看| 91蜜桃免费观看视频| 久久久久国产精品麻豆ai换脸| 亚洲国产日韩综合久久精品| 成人亚洲一区二区一| 日韩美女一区二区三区| 亚洲福利视频三区| 一本大道综合伊人精品热热| 欧美高清在线一区| 韩国av一区二区三区在线观看| 欧美日韩国产另类不卡| 亚洲精品中文字幕在线观看| 成人性视频免费网站| 久久久www成人免费毛片麻豆| 日本不卡视频一二三区| 欧美日韩免费视频| 一区二区三区欧美日| 色综合久久天天综合网| 中文字幕视频一区| 成人国产精品免费观看视频| 国产日韩三级在线| 国内精品久久久久影院薰衣草| 91精品国产综合久久福利| 午夜欧美大尺度福利影院在线看 | 亚洲午夜精品17c| 在线观看一区二区精品视频| 亚洲美女淫视频| 日本大香伊一区二区三区| 亚洲一级二级在线| 欧美在线看片a免费观看| 亚洲午夜在线视频| 7777精品伊人久久久大香线蕉超级流畅|