日本综合一区二区|亚洲中文天堂综合|日韩欧美自拍一区|男女精品天堂一区|欧美自拍第6页亚洲成人精品一区|亚洲黄色天堂一区二区成人|超碰91偷拍第一页|日韩av夜夜嗨中文字幕|久久蜜综合视频官网|精美人妻一区二区三区

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

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
centos中如何安裝oracle數(shù)據(jù)庫
在CentOS中安裝Oracle數(shù)據(jù)庫,可以通過yum源或者下載官方鏡像進行安裝。具體步驟如下:,,1. 確保系統(tǒng)已經(jīng)安裝了基本的軟件包,如wget、unzip等。如果沒有安裝,可以使用以下命令進行安裝:,,``bash,sudo yum install -y wget unzip,`,,2. 下載Oracle數(shù)據(jù)庫的安裝包。訪問Oracle官方網(wǎng)站(https://www.oracle.com/database/technologies/oracle-database-software-downloads.html),選擇適合的版本進行下載。下載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. 將解壓后的文件夾移動到/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. 安裝依賴包:,,`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ù)庫的安裝已經(jīng)完成。接下來,可以根據(jù)需要創(chuàng)建數(shù)據(jù)庫實例、配置監(jiān)聽器等。

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

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

1、系統(tǒng)準備

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

gcc

gccc++

make

binutils

unixODBC

unixODBCdevel

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

```shell

sudo groupadd oinstall

sudo groupadd dba

sudo useradd g oinstall G dba oracle

```

設置Oracle用戶密碼:

```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用戶目錄和組目錄:

```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安裝響應文件:

```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


當前名稱:centos中如何安裝oracle數(shù)據(jù)庫
轉載源于:http://www.dlmjj.cn/article/djhjsei.html