Ubuntu安裝Oracle 9i過程
Jun 07, 2016 pm 04:54 PMUbuntu下Oracle 9i安裝過程主要參考這篇文章,該文主要是基于kubuntu安裝Oracle 10g的,參考這篇文章可以比較容易的安裝10g,但是
Ubuntu下Oracle 9i安裝過程主要參考這篇文章,該文主要是基于kubuntu安裝Oracle 10g的,參考這篇文章可以比較容易的安裝10g,,但是在安裝oracle 9204時(shí)遇到了很多的障礙,最終安裝完成了。
安裝過程如下:
1.空間要求
/tmp > 512M? boot 128M? swap 1024M? / 2G /home 2GB
2.安裝所需要的軟件:
gcc, libaio1, libc6, libstdc++5, make, rpm, lesstif2, lesstif2-dev
vufuture@ubuntu:~$ for i in gcc libaio1 libc6 libstic++5 make rpm lesstif2? lesstif2-dev
> do
> sudo apt-get install $i
> done
3.添加需要的用戶和組:
root@ubuntu:~# groupadd dba
root@ubuntu:~# useradd -g dba -G dba -d /home/oracle -s /bin/bash oracle
root@ubuntu:~# passwd oracle
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
4.創(chuàng)建安裝目錄并賦權(quán)限:
root@ubuntu:~# mkdir -p /home/oracle/product/9.2.0
root@ubuntu:~# chown -R oracle:dba /home/oracle
root@ubuntu:~# mkdir /var/opt/oracle
root@ubuntu:~# chown -R oracle:dba /var/opt/oracle
root@ubuntu:~# chmod 755 /var/opt/oracle
5.設(shè)置oracle環(huán)境變量:
vi /home/oracle/.bash_profile
添加:
export ORACLE_BASE=/home/oracle
export ORACLE_HOME=$ORACLE_BASE/product/9.2.0 export ORACLE_SID=ora9i
export PATH=$PATH:$ORACLE_HOME/bin
export DISPLAY=localhost:0.0
6.修改核心參數(shù):
root@ubuntu:~# vi /etc/sysctl.conf
#kernel.shmall = 2097152
kernel.shmmax = 2147483648
#kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.core.rmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 262144
#fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000

Hot AI Tools

Undress AI Tool
Undress images for free

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

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

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

The main difference between MySQL and Oracle is licenses, features, and advantages. 1. License: MySQL provides a GPL license for free use, and Oracle adopts a proprietary license, which is expensive. 2. Function: MySQL has simple functions and is suitable for web applications and small and medium-sized enterprises. Oracle has powerful functions and is suitable for large-scale data and complex businesses. 3. Advantages: MySQL is open source free, suitable for startups, and Oracle is reliable in performance, suitable for large enterprises.

Redis is superior to traditional databases in high concurrency and low latency scenarios, but is not suitable for complex queries and transaction processing. 1.Redis uses memory storage, fast read and write speed, suitable for high concurrency and low latency requirements. 2. Traditional databases are based on disk, support complex queries and transaction processing, and have strong data consistency and persistence. 3. Redis is suitable as a supplement or substitute for traditional databases, but it needs to be selected according to specific business needs.

The key to learning Java without taking detours is: 1. Understand core concepts and grammar; 2. Practice more; 3. Understand memory management and garbage collection; 4. Join online communities; 5. Read other people’s code; 6. Understand common libraries and frameworks; 7. Learn to deal with common mistakes; 8. Make a learning plan and proceed step by step. These methods can help you master Java programming efficiently.

Learning SQL requires mastering basic knowledge, core queries, complex JOIN operations and performance optimization. 1. Understand basic concepts such as tables, rows, and columns and different SQL dialects. 2. Proficient in using SELECT statements for querying. 3. Master the JOIN operation to obtain data from multiple tables. 4. Optimize query performance, avoid common errors, and use index and EXPLAIN commands.

Learning Java requires learning basic syntax, object-oriented programming, collection frameworks, exception handling, multithreading, I/O streaming, JDBC, network programming, and advanced features such as reflection and annotation. 1. The basic syntax includes variables, data types, operators and control flow statements. 2. Object-oriented programming covers classes, objects, inheritance, polymorphism, encapsulation and abstraction. 3. The collection framework involves ArrayList, LinkedList, HashSet, and HashMap. 4. Exception handling ensures program robustness through try-catch block. 5. Multithreaded programming requires understanding of thread life cycle and synchronization. 6. I/O streams are used for data reading, writing and file operations. 7. JDBC is used to interact with databases. 8. Network programming passes S

To connect Oracle database to Tableau for data visualization, you need to follow the following steps: 1. Configure Oracle database connection in Tableau, use ODBC or JDBC drivers; 2. Explore data and create visualizations, such as bar charts, etc.; 3. Optimize SQL queries and indexes to improve performance; 4. Use Oracle's complex data types and functions to implement through custom SQL queries; 5. Create materialized views to improve query speed; 6. Use Tableau's interactive functions such as dashboard for in-depth analysis.

Common SQL statements include: 1. CREATETABLE creates tables, such as CREATETABLEemployees(idINTPRIMARYKEY, nameVARCHAR(100), salaryDECIMAL(10,2)); 2. CREATEINDEX creates indexes, such as CREATEINDEXidx_nameONemployees(name); 3. INSERTINTO inserts data, such as INSERTINTO employeees(id, name, salary)VALUES(1,'JohnDoe',75000.00); 4. SELECT check

UseRedisinsteadofatraditionaldatabasewhenyourapplicationrequiresspeedandreal-timedataprocessing,suchasforcaching,sessionmanagement,orreal-timeanalytics.Redisexcelsin:1)Caching,reducingloadonprimarydatabases;2)Sessionmanagement,simplifyingdatahandling
