Для установки необходим объем оперативной памяти: 256 megabytes минимум, 512 megabytes рекомендуется.
Для установки необходим объем жесткого диска: 1.5 gigabyte минимум.
Для установка требуются следующие библиотеки: glibc release 2.3.2
libaio, release 0.3.96.
21. Проверяем установленные библиотеки: rpm -qa | grep libaio
Результат должен быть такой:
libaio-static-devel-0.3.107-2mdv2009.1
libaio1-0.3.107-2mdv2009.1
libaio-devel-0.3.107-2mdv2009.1
22. Проверяем установленные библиотеки: rpm -qa | grep glibc
Результат должен быть такой:
glibc-devel-2.9-0.20081113.5.3mnb2
glibc_lsb-2.4.7-4mdv2009.1
glibc-2.9-0.20081113.5.3mnb2
Загружаем oracle-xe-univ-10.2.0.1-1.0.i386.rpm со страницы:
http://www.oracle.com/technetwork/database/express-edition/downloads/index .html
23. Входим в систему с правами root.
24. Запускаем установку: rpm -ivf oracle-xe-univ-10.2.0.1-1.0.i386.rpm
Начинается установка. Подготовка пакетов для установки...
Система проверяет объем жесткого диска, оперативной памяти и swap-раздела. При необходимости выводятся рекомендации. Например, This system does not meet the minimum requirements for swap space. Based onthe amount of physical memory available on the system, Oracle Database 10g Express Edition requires 1024 MB of swap space. This system has 0 MB of swap space. Configure more swap space on the system and retry the installation.
В конце выводится
Executing Post-install steps...
You must run '/etc/init.d/oracle-xe configure' as the root user to
configure the database.
25. Выполните конфигурирование: /etc/init.d/oracle-xe configure
26. На запрос Specify the HTTP port that will be used for Oracle Application Express [8080]: нажмите Enter.
27. На запрос Specify a port that will be used for the database listener [1521]: нажмите Enter.
28. На запрос Specify a password to be used for database accounts. Note that the same password will be used for SYS and SYSTEM введите student2010.
29. На запрос Confirm the password: повторите ввод student2010
30. На запрос Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y] введите n
Конфигураирование заканчивается.
Starting Oracle Net Listener...Done
Configuring Database...Done
Starting Oracle Database 10g Express Edition Instance...Done
Installation Completed Successfully.
To access the Database Home Page go to "http://127.0.0.1:8080/apex"
31. Запустите listener и базу данных командой:
/etc/init.d/oracle-xe restart
32. Остановите listener и базу данных командой:
/etc/init.d/oracle-xe stop
33. Настройте Oracle Database XE Server Environment Variables:
откройте каталог
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle_env.sh
$ . ./oracle_env.sh
34. Установите возможность подключения удаленного клиента.
The Oracle Database XE home page is only available from the local machine, not remotely. If you want to enable access from a remote client, you should be aware that HTTPS cannot be used (only HTTP), so your
login credentials are sent in clear text, and are not encrypted, so if you don’t need to set this up, it is more secure to leave it as the default setup.
You can also use SQL*Plus command line to enable access from remote clients. To use SQL*Plus command line to change this setting, log into SQL*Plus as system, and run the following command:
SQL> EXEC DBMS_XDB.SETLISTENERLOCALACCESS(FALSE);