Oracle10G
欢迎进入Oracle社区论坛,与200万技术人员互动交流 >>进入 以root登录 1.把10G-2复制到系统中并解压(用tar或xwindows中解压工具)。 2.从linux as4第三光盘上复制libaio-0.3.102-1.i386.rpm和libaio-devel0.3.102-1.i386.rpm到系统并安装。 例:# rpm -ivh
欢迎进入Oracle社区论坛,与200万技术人员互动交流 >>进入
以root登录1.把10G-2复制到系统中并解压(用tar或xwindows中解压工具)。
2.从linux as4第三光盘上复制libaio-0.3.102-1.i386.rpm和libaio-devel0.3.102-1.i386.rpm到系统并安装。
例:# rpm -ivh libaio-0.3.102-1.i386.rpm
3.做个链接:ln -s /usr/lib/libstdc++.so.6.0.3 /usr/lib/libstdc++.so.5如果不做此链接,在安装过程中建好数据库,将会出现不能链接不上数据库问题。
4, 添加下面的行到/etc/security/limits.conf以修改你的资源限制:oracle soft nofile 65536 oracle hard nofile 65536 oracle soft nproc 16384 oracle hard nproc 16384
5.编辑/etc/sysctl.conf文件,在后面添加下参数做微调操作系统内核。
kernel.core_uses_pid=1 kernel.shmall=2097152 kernel.shmmax=2147483648 ―― (以字节为单位,物理内存数量*1024*1024*2, 为内存的2倍)
kernel.shmmni = 4096 kernel.sem = 250 32000 100 128 fs.file-max = 65536 net.ipv4.ip_local_port_range = 1024 65000 net.core.rmem_default=262144 net.core.rmem_max=262144 net.core.wmem_default=262144 net.core.wmem_max=262144保存退出执行以下命令使配置马上生效# sysctl -p如果没有错误提示到下一步。
6.创建用户和组及相关目录――创建dba组# /usr/sbin/groupadd dba――创建oinstall组# /usr/sbin/groupadd oinstall――创建oracle用户并设置用户所属组# /usr/sbin/useradd -g oinstall -G dba -m oracle
――创建相关安装目录# mkdir -p /opt/ora10/product # mkdir /var/opt/oracle
――设置目录所有者和权限# chown -R oracle.oinstall /opt/ora10 # chown -R oracle.dba /var/opt/oracle # chmod -R 775 /opt/ora10 # chmod -R 775 /var/opt/oracle
7.以root身份打开另一个终端窗口执行:#xhost + ――这步至关重要,不执行这步在以oracle用户运行 # ./runInstaller时会启动不了图型安装界面
# su - oracle ――su到oracle用户下,更改用户的一些配置$vi .bash_profile添加以下参数,主要是配置oracle软件运环境参数export ORACLE_BASE=/opt/ora10/product export ORACLE_HOME=/home/oracle/OraHome_1 export ORACLE_SID=ora10g export PATH=$PATHORACLE_HOME/binHOME/bin export LD_LIBRARY_PATH=$LD_LIBRARY_PATHORACLE_HOME/lib:/usr/lib:/usr/local/lib export NLS_LANG="Simplified Chinese_china".ZHS16GBK
保存退出$ source $HOME/.bash_profile ――执行以下命令让配置马上生效或以oracle用户登录使设置生效
8.进入到解压后oracle目录
$./runInstall――主要大小写往下就是图型安装界面,在安装的过程中会提示你以root用户身份运行些脚本,响应窗口会提示你如何做在安装时一定要记得选择支持多语言核心字符集(AL32UTF.
9.安装好后打/home/oracle_OraHome_1/network/admin/sqlnet.ora文件添加SQLNET.AUTHENTICATION_SERVICE=(NTS)
只要在本地主机上运行sqlplus以数据库系统管理员登录都必须输入密码才可进入oracle数据库系统。
10.oracle其它方面的操作及维护得去看oracle相关的资料。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Oracle View Encryption allows you to encrypt data in the view, thereby enhancing the security of sensitive information. The steps include: 1) creating the master encryption key (MEk); 2) creating an encrypted view, specifying the view and MEk to be encrypted; 3) authorizing users to access the encrypted view. How encrypted views work: When a user querys for an encrypted view, Oracle uses MEk to decrypt data, ensuring that only authorized users can access readable data.

Uninstall method for Oracle installation failure: Close Oracle service, delete Oracle program files and registry keys, uninstall Oracle environment variables, and restart the computer. If the uninstall fails, you can uninstall manually using the Oracle Universal Uninstall Tool.

Deleting all data in Oracle requires the following steps: 1. Establish a connection; 2. Disable foreign key constraints; 3. Delete table data; 4. Submit transactions; 5. Enable foreign key constraints (optional). Be sure to back up the database before execution to prevent data loss.

To create a user in Oracle, follow these steps: Create a new user using the CREATE USER statement. Grant the necessary permissions using the GRANT statement. Optional: Use the RESOURCE statement to set the quota. Configure other options such as default roles and temporary tablespaces.

The method to solve the Oracle cursor closure problem includes: explicitly closing the cursor using the CLOSE statement. Declare the cursor in the FOR UPDATE clause so that it automatically closes after the scope is ended. Declare the cursor in the USING clause so that it automatically closes when the associated PL/SQL variable is closed. Use exception handling to ensure that the cursor is closed in any exception situation. Use the connection pool to automatically close the cursor. Disable automatic submission and delay cursor closing.

Oracle Invalid numeric errors may be caused by data type mismatch, numeric overflow, data conversion errors, or data corruption. Troubleshooting steps include checking data types, detecting digital overflows, checking data conversions, checking data corruption, and exploring other possible solutions such as configuring the NLS_NUMERIC_CHARACTERS parameter and enabling data verification logging.

In Oracle, the FOR LOOP loop can create cursors dynamically. The steps are: 1. Define the cursor type; 2. Create the loop; 3. Create the cursor dynamically; 4. Execute the cursor; 5. Close the cursor. Example: A cursor can be created cycle-by-circuit to display the names and salaries of the top 10 employees.

Oracle database paging uses ROWNUM pseudo-columns or FETCH statements to implement: ROWNUM pseudo-columns are used to filter results by row numbers and are suitable for complex queries. The FETCH statement is used to get the specified number of first rows and is suitable for simple queries.
