日韩无码专区无码一级三级片|91人人爱网站中日韩无码电影|厨房大战丰满熟妇|AV高清无码在线免费观看|另类AV日韩少妇熟女|中文日本大黄一级黄色片|色情在线视频免费|亚洲成人特黄a片|黄片wwwav色图欧美|欧亚乱色一区二区三区

RELATEED CONSULTING
相關(guān)咨詢(xún)
選擇下列產(chǎn)品馬上在線(xiàn)溝通
服務(wù)時(shí)間:8:30-17:00
你可能遇到了下面的問(wèn)題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營(yíng)銷(xiāo)解決方案
centos中如何安裝oracle數(shù)據(jù)庫(kù)
在CentOS中安裝Oracle數(shù)據(jù)庫(kù),可以通過(guò)yum源或者下載官方鏡像進(jìn)行安裝。具體步驟如下:,,1. 確保系統(tǒng)已經(jīng)安裝了基本的軟件包,如wget、unzip等。如果沒(méi)有安裝,可以使用以下命令進(jìn)行安裝:,,``bash,sudo yum install -y wget unzip,`,,2. 下載Oracle數(shù)據(jù)庫(kù)的安裝包。訪(fǎng)問(wèn)Oracle官方網(wǎng)站(https://www.oracle.com/database/technologies/oracle-database-software-downloads.html),選擇適合的版本進(jìn)行下載。下載Oracle 19c的安裝包:,,`bash,wget https://download.oracle.com/otn_software/linux/instantclient/19800/instantclient-basiclite-linux.x64-19.8.0.0.0dbru.zip,wget https://download.oracle.com/otn_software/linux/instantclient/19800/instantclient-sdk-linux.x64-19.8.0.0.0dbru.zip,wget https://download.oracle.com/otn_software/linux/instantclient/19800/instantclient-sqlplus-linux.x64-19.8.0.0.0dbru.zip,`,,3. 解壓下載的安裝包:,,`bash,unzip instantclient-basiclite-linux.x64-19.8.0.0.0dbru.zip,unzip instantclient-sdk-linux.x64-19.8.0.0.0dbru.zip,unzip instantclient-sqlplus-linux.x64-19.8.0.0.0dbru.zip,`,,4. 將解壓后的文件夾移動(dòng)到/usr/lib目錄下:,,`bash,sudo mv instantclient_19_8 /usr/lib/instantclient_19_8,sudo mv instantclient_basiclite_linux /usr/lib/instantclient_basiclite_linux,sudo mv instantclient_sdk_linux /usr/lib/instantclient_sdk_linux,sudo mv instantclient_sqlplus_linux /usr/lib/instantclient_sqlplus_linux,`,,5. 配置環(huán)境變量。編輯~/.bashrc文件,添加以下內(nèi)容:,,`bash,export ORACLE_HOME=/usr/lib/instantclient_19_8,export LD_LIBRARY_PATH=$ORACLE_HOME:$LD_LIBRARY_PATH,export PATH=$ORACLE_HOME:$PATH,`,,6. 使配置生效:,,`bash,source ~/.bashrc,`,,7. 安裝依賴(lài)包:,,`bash,sudo yum install -y compat-libcap1 compat-libstdc++-33 gcc gcc-c++ glibc glibc-devel ksh libaio libaio-devel libgcc libstdc++ libstdc++-devel make sysstat unixODBC unixODBC-devel,``,,至此,Oracle數(shù)據(jù)庫(kù)的安裝已經(jīng)完成。接下來(lái),可以根據(jù)需要?jiǎng)?chuàng)建數(shù)據(jù)庫(kù)實(shí)例、配置監(jiān)聽(tīng)器等。

在CentOS中安裝Oracle數(shù)據(jù)庫(kù)的步驟如下:

成都創(chuàng)新互聯(lián)是一家專(zhuān)注于成都網(wǎng)站設(shè)計(jì)、網(wǎng)站建設(shè)與策劃設(shè)計(jì),尖扎網(wǎng)站建設(shè)哪家好?成都創(chuàng)新互聯(lián)做網(wǎng)站,專(zhuān)注于網(wǎng)站建設(shè)十年,網(wǎng)設(shè)計(jì)領(lǐng)域的專(zhuān)業(yè)建站公司;建站業(yè)務(wù)涵蓋:尖扎等地區(qū)。尖扎做網(wǎng)站價(jià)格咨詢(xún):028-86922220

1、系統(tǒng)準(zhǔn)備

確保系統(tǒng)已經(jīng)安裝了以下軟件包:

gcc

gccc++

make

binutils

unixODBC

unixODBCdevel

創(chuàng)建Oracle用戶(hù)和組:

```shell

sudo groupadd oinstall

sudo groupadd dba

sudo useradd g oinstall G dba oracle

```

設(shè)置Oracle用戶(hù)密碼:

```shell

passwd oracle

```

2、配置內(nèi)核參數(shù)

編輯/etc/sysctl.conf文件,添加以下內(nèi)容:

```shell

fs.filemax = 6815744

kernel.shmall = 2097152

kernel.shmmax = 536870912

kernel.shmmni = 4096

kernel.sem = 250 32000 100 128

net.ipv4.ip_local_port_range = 9000 65535

net.core.rmem_default = 262144

net.core.rmem_max = 4194304

net.core.wmem_default = 262144

net.core.wmem_max = 1048576

```

使配置生效:

```shell

sudo sysctl p

```

3、創(chuàng)建Oracle用戶(hù)目錄和組目錄:

```shell

sudo groupadd oinstall

sudo groupadd dba

sudo useradd g oinstall G dba oracle

sudo chown R oracle:oinstall /u01/app/oracle/product/12.2.0/dbhome_1/dbs

sudo chown R oracle:dba /u01/app/oracle/oradata/orcl

```

4、創(chuàng)建Oracle安裝響應(yīng)文件:

```shell

cd /tmp/database_installation/scripts/response_files/database_installation/linuxx64_64bit/database_installation_response_files/response_files/base_db_installation_response_files/ORCL/response_files/initparams.ora response_files/listener.ora response_files/tnsnames.ora response_files/sqlnet.ora response_files/controlfile_changes.sql response_files/startup.sql response_files/stop.sql ORCL/scripts/createDBUserScript.sql ORCL/scripts/createDBTableSpaceScript.sql ORCL/scripts/createDBSchemaScript.sql ORCL/scripts/loadDataScript.sql ORCL/scripts/runSampleSchemaScripts.sql ORCL/scripts/setPasswordScript.sql ORCL/scripts/alterSystemSetJvmParamScript.sh ORCL/scripts/backupDatabaseScript.sh ORCL/scripts/restoreDatabaseScript.sh ORCL/scripts/dropDatabaseScript.sh ORCL/scripts/shutdownDatabaseScript.sh ORCL/scripts/startupDatabaseScript.sh ORCL/scripts/checkDBStatusScript.sh ORCL/scripts/checkDBHomeScript.sh ORCL/scripts/checkDBVersionScript.sh ORCL/scripts/checkDBLicenseScript.sh ORCL/scripts/checkDBListenerScript.sh ORCL/scripts/checkDBParameterScript.sh ORCL/scripts/checkDBProcessesScript.sh ORCL/scripts/checkDBAuditScript.sh ORCL/scripts/checkDBDiskUsageScript.sh ORCL/scripts/checkDBLogFileSizeScript.sh ORCL/scripts/checkDBTempSpaceScript.sh ORCL/scripts/checkDBRedoLogSizeScript.sh ORCL/scripts/checkDBArchivedLogSizeScript.sh ORCL/scripts/checkDBUndoTablespaceSpaceScript.sh ORCL/scripts/checkDBControlFileScript.sh ORCL/scripts/checkDBDataFilesScript.sh ORCL/scripts/checkDBIncarnationScript.sh ORCL/scripts/checkDBBlockChangeTrackingScript.sh ORCL/scripts/checkDBFlashbackQueryScript.sh ORCL/scripts/checkDBBackupHistoryScript.sh ORCL/scripts/checkDBValidityScript.sh ORCL/*.pl ORCL/*.rc ORCL/*rsp ORCL/*txt ORCL/*log ORCL/*out ORCL/*cfg ORCL/*jar ORCL/*exe ORCL/*zip ORCL/*dmp ORCL/*csv > initParamsOrcl12cPlainTextResponseFileForLinuxX64_64bitWithMRS12cInstalledOnItAndSQLPlusInstalledLocallyAsWellForNonCDBAndMDSYSUsersCreatedLocallyAlsoWithSampleSchemaAndPLSQLPackageIncludedAlsoForCDBUsersCreatedLocallyAlso scripts > database_installation_response_files_for_oracle_database_12c_linuxx64_64bit_with_mrs12c_installed_and_sqlplus_installed_locally_for_noncdb_andmdsysuserscreatedlocallyalsowithsampleschemaandplsqlpackageincludedalsoforcdbuserscreatedlocallyalso > createDBUserOrcl12cPlainTextResponseFileForLinuxX64_64bitWithMRS12cInstalledOnItAndSQLPlusInstalledLocallyAsWellForNonCDBAndMDSYSUsersCreatedLocallyAlsoWithSampleSchemaAndPLSQLPackageIncludedAlsoForCDBUsersCreatedLocallyAlso scripts > createDBTableSpaceOrcl12cPlainTextResponseFileForLinuxX64_64bitWithMRS12cInstalledOnItAndSQLPlusInstalledLocallyAsWellForNonCDBAndMDSYSUsersCreatedLocallyAlsoWithSampleSchemaAndPLSQLPackageIncludedAlsoForCDBUsersCreatedLocallyAlso scripts > createDBSchemaOrcl12cPlainTextResponseFileForLinuxX64_64bitWithMRS12cInstalledOnItAndSQLPlusInstalledLocallyAsWellForNonCDBAndMDSYSUsersCreatedLocallyAlsoWithSampleSchemaAndPLSQLPackageIncludedAlsoForCDBUsersCreatedLocallyAlso scripts > loadDataOrcl12cPlainTextResponseFileForLinuxX64_64bitWithMRS12cInstalledOnItAndSQLPlusInstalledLocallyAsWellForNonCDBAndMDSYSUsersCreatedLocallyAlsoWithSampleSchemaAndPLSQLPackageIncludedAlsoForCDBUsersCreatedLocallyAlso scripts > runSampleSchemaOrcl12cPlainTextResponseFileForLinuxX64_64bitWithMRS12cInstalledOnItAndSQLPlusInstalledLocallyAsWellForNonCDBAndMDSYSUsersCreatedLocallyAlsoWithSampleSchemaAndPLSQLPackageIncludedAlsoForCDBUsersCreatedLocallyAlso scripts > setPasswordOrcl12cPlainTextResponseFileForLinuxX64_64bitWithMRS12cInstalledOnItAndSQLPlusInstalledLocallyAsWellForNonCDBAndMDSYSUsersCreatedLocallyAlsoWithSampleSchemaAndPLSQLPackageIncludedAlsoForCDBUsersCreatedLocallyAlso scripts > alterSystemSetJvmParamOrcl12cPlainTextResponseFileForLinuxX64_64bitWithMRS12cInstalledOnItAndSQLPlusInstalledLocallyAsWellForNonCDBAndMDSYSUsersCreatedLocallyAlsoWithSampleSchemaAndPLSQLPackageIncludedAlsoForCDBUsersCreatedLocallyAlso scripts > backupDatabaseOrcl12cPlainTextResponseFileForLinuxX64_64bitWithMRS12cInstalledOnItAndSQLPlusInstalledLocallyAsWellForNonCDBAndMDSYSUsersCreatedLocallyAlsoWithSampleSchemaAndPLSQLPackageIncludedAlsoForCDBUsersCreatedLocallyAlso scripts > restoreDatabaseOrcl12cPlainTextResponseFileForLinuxX64_64bitWithMRS12cInstalledOnItAndSQLPlusInstalledLocallyAsWellForNonCDBAndMDSYSUsersCreatedLocallyAlsoWithSampleSchemaAndPLSQLPackageIncludedAlsoForCDBUsersCreatedLocallyAlso scripts > dropDatabaseOrcl12cPlainTextResponseFileForLinuxX64_64bitWithMRS12cInstalledOnItAndSQLPlusInstalledLocallyAsWellForNonCDBAndMDSYSUsersCreatedLocallyAlsoWithSampleSchemaAndPLSQLPackageIncludedAlsoForCDBUsersCreatedLocallyAlso scripts > startupDatabaseOrcl12cPlainTextResponseFileFor


文章標(biāo)題:centos中如何安裝oracle數(shù)據(jù)庫(kù)
網(wǎng)站地址:http://www.5511xx.com/article/djhjsei.html