亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
国产精品国产馆在线真实露脸| 国产精品人成在线观看免费 | 久久精品国产77777蜜臀| 国产喷白浆一区二区三区| 欧美三日本三级三级在线播放| 极品少妇xxxx精品少妇| 亚洲高清三级视频| 国产精品激情偷乱一区二区∴| 日韩欧美一区中文| 欧美午夜宅男影院| www.激情成人| 国产精品一区二区不卡| 青娱乐精品视频| 亚洲自拍都市欧美小说| 国产精品卡一卡二| 久久亚区不卡日本| 日韩一区二区在线看| 欧美午夜不卡视频| 91天堂素人约啪| 成人sese在线| 成人亚洲一区二区一| 激情欧美日韩一区二区| 日本aⅴ亚洲精品中文乱码| 亚洲一区二区三区四区中文字幕| 中文字幕一区在线观看| 国产日韩欧美综合在线| 日韩女优制服丝袜电影| 欧美一区二区网站| 欧美精品在线视频| 欧美亚洲精品一区| 在线观看av不卡| 色噜噜狠狠色综合中国| 91在线观看下载| 91同城在线观看| 色综合天天综合网国产成人综合天 | 国产精品不卡一区| 国产亚洲欧美激情| 国产欧美一区二区精品忘忧草| 精品99999| 国产无人区一区二区三区| 久久麻豆一区二区| 国产欧美日韩在线观看| 国产三级一区二区| 国产精品久久久久影院亚瑟| 国产精品三级视频| 国产精品传媒入口麻豆| 亚洲欧美综合网| 一区二区三区精品久久久| 亚洲综合视频网| 日韩高清电影一区| 激情小说欧美图片| 国产成人自拍网| 成+人+亚洲+综合天堂| 99国产一区二区三精品乱码| 色噜噜夜夜夜综合网| 欧美精品在线一区二区三区| 日韩一区国产二区欧美三区| xnxx国产精品| 国产精品电影一区二区三区| 悠悠色在线精品| 日韩福利视频网| 国产美女精品人人做人人爽| 成人影视亚洲图片在线| 色综合久久久久久久久久久| 欧美日韩三级在线| 久久久久久久免费视频了| 国产精品久久三区| 五月婷婷激情综合| 韩国精品在线观看| 91热门视频在线观看| 欧美日韩精品二区第二页| 亚洲精品一线二线三线无人区| 欧美国产成人在线| 亚洲一区二区三区激情| 精品一区二区久久久| aaa欧美色吧激情视频| 欧美精品自拍偷拍| 国产日产精品1区| 亚洲成人激情自拍| 国产精品主播直播| 在线免费一区三区| 久久综合九色综合久久久精品综合| 国产精品久久久久影视| 日韩极品在线观看| 成人av网站在线观看| 91精品免费在线观看| 欧美韩国日本不卡| 亚洲大片在线观看| 成人午夜碰碰视频| 欧美一级日韩免费不卡| 亚洲欧洲无码一区二区三区| 免费成人在线网站| 一本在线高清不卡dvd| 久久婷婷色综合| 午夜精品福利一区二区三区蜜桃| 国产成人av影院| 3751色影院一区二区三区| 中文字幕av不卡| 久久成人精品无人区| 色婷婷av一区二区三区大白胸 | 国产亚洲婷婷免费| 日韩成人一级大片| 色www精品视频在线观看| 久久久久久影视| 免费成人性网站| 欧美色中文字幕| 亚洲伦理在线精品| 成人黄色国产精品网站大全在线免费观看 | 亚洲精品中文字幕在线观看| 国产综合色产在线精品| 制服丝袜日韩国产| 亚洲激情男女视频| 成人av免费在线播放| 久久综合中文字幕| 美女视频黄频大全不卡视频在线播放| 91理论电影在线观看| 中日韩av电影| 国产乱码精品1区2区3区| 日韩精品在线一区二区| 日韩电影在线一区二区| 欧美午夜片在线看| 亚洲综合久久久久| 日本精品免费观看高清观看| 国产精品女上位| 成人av网址在线观看| 国产精品美女久久久久久久网站| 极品少妇一区二区| 精品国免费一区二区三区| 另类专区欧美蜜桃臀第一页| 91精品婷婷国产综合久久| 日韩主播视频在线| 91精品在线观看入口| 日本最新不卡在线| 欧美一区二区视频网站| 蜜臀精品一区二区三区在线观看 | 日本不卡一区二区三区| 欧美精品一二三区| 天天爽夜夜爽夜夜爽精品视频| 在线观看成人小视频| 一区二区三区四区视频精品免费| 91视频.com| 亚洲自拍偷拍网站| 欧美日韩国产首页| 蜜臀精品久久久久久蜜臀| 欧美大黄免费观看| 国产精品69毛片高清亚洲| 中文字幕av一区 二区| av电影天堂一区二区在线观看| 中文字幕亚洲综合久久菠萝蜜| 91视频www| 午夜私人影院久久久久| 欧美成人欧美edvon| 高清在线观看日韩| 亚洲视频在线一区观看| 欧美性猛交xxxx乱大交退制版 | 久久国产精品区| 欧美国产精品专区| 色婷婷av一区二区| 日本成人在线看| 国产色产综合色产在线视频 | 日韩女优视频免费观看| 国产高清成人在线| 亚洲日本在线观看| 911精品国产一区二区在线| 国产最新精品免费| 亚洲欧美区自拍先锋| 欧美裸体一区二区三区| 国产一区二区三区四区五区入口 | 日韩女优制服丝袜电影| 成人中文字幕电影| 亚洲国产一区二区三区 | 欧美人狂配大交3d怪物一区 | 成人精品高清在线| 亚洲国产美女搞黄色| 精品粉嫩aⅴ一区二区三区四区| 成人动漫在线一区| 日韩精品乱码av一区二区| 国产色婷婷亚洲99精品小说| 欧洲色大大久久| 国产福利一区二区三区视频| 亚洲一区二区视频在线| 国产午夜精品一区二区三区视频 | 青椒成人免费视频| 中文字幕二三区不卡| 欧美猛男超大videosgay| 成人在线视频一区| 日本中文字幕不卡| 亚洲欧美一区二区三区久本道91| 欧美一区二区二区| 色诱视频网站一区| 国产精品亚洲专一区二区三区| 一区二区三区 在线观看视频| 2021中文字幕一区亚洲| 欧美日韩色综合| 91在线国产福利| 国产高清久久久| 卡一卡二国产精品| 亚洲成人自拍一区| 1000部国产精品成人观看| 精品国产麻豆免费人成网站|