Installation xe/apex/ords/18_2_3_4/tomcat_9

#1 | Installation Oracle XE 18c

Téléchargez Oracle Database 18c Express Edition for Linux x64 

Copiez le fichier oracle-database-xe-18c-1.0-1.x86_64.rpm sur le serveur Linux (dans notre cas Oracle Linux 7.6).

J’ai mis le fichier dans /home/jyb/SoftOracle/database

[jyb@ols ~]$ cd SoftOracle/
[jyb@ols SoftOracle]$ ls
database
[jyb@ols SoftOracle]$ cd database/
[jyb@ols database]$ ls
oracle-database-xe-18c-1.0-1.x86_64.rpm
[jyb@ols database]$ sudo yum -y localinstall oracle-database-xe-18c-1.0-1.x86_64.rpm
[sudo] password for jyb: 
Loaded plugins: langpacks, ulninfo
Examining oracle-database-xe-18c-1.0-1.x86_64.rpm: oracle-database-xe-18c-1.0-1.x86_64
Marking oracle-database-xe-18c-1.0-1.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package oracle-database-xe-18c.x86_64 0:1.0-1 will be installed
--> Processing Dependency: oracle-database-preinstall-18c for package: oracle-database-xe-18c-1.0-1.x86_64
--> Running transaction check
---> Package oracle-database-preinstall-18c.x86_64 0:1.0-1.el7 will be installed
--> Processing Dependency: ksh for package: oracle-database-preinstall-18c-1.0-1.el7.x86_64
--> Processing Dependency: libaio-devel for package: oracle-database-preinstall-18c-1.0-1.el7.x86_64
--> Running transaction check
---> Package ksh.x86_64 0:20120801-139.0.1.el7 will be installed
---> Package libaio-devel.x86_64 0:0.3.109-13.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================================================
 Package                            Arch       Version                  Repository                                Size
=======================================================================================================================
Installing:
 oracle-database-xe-18c             x86_64     1.0-1                    /oracle-database-xe-18c-1.0-1.x86_64     5.2 G
Installing for dependencies:
 ksh                                x86_64     20120801-139.0.1.el7     ol7_latest                               883 k
 libaio-devel                       x86_64     0.3.109-13.el7           ol7_latest                                12 k
 oracle-database-preinstall-18c     x86_64     1.0-1.el7                ol7_latest                                18 k

Transaction Summary
=======================================================================================================================
Install  1 Package (+3 Dependent packages)

Total size: 5.2 G
Total download size: 913 k
Installed size: 5.2 G
Downloading packages:
(1/3): libaio-devel-0.3.109-13.el7.x86_64.rpm                                                   |  12 kB  00:00:00     
(2/3): oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm                                      |  18 kB  00:00:00     
(3/3): ksh-20120801-139.0.1.el7.x86_64.rpm                                                      | 883 kB  00:00:01     
-----------------------------------------------------------------------------------------------------------------------
Total                                                                                  772 kB/s | 913 kB  00:00:01     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : libaio-devel-0.3.109-13.el7.x86_64                                                                  1/4 
  Installing : ksh-20120801-139.0.1.el7.x86_64                                                                     2/4 
  Installing : oracle-database-preinstall-18c-1.0-1.el7.x86_64                                                     3/4 
  Installing : oracle-database-xe-18c-1.0-1.x86_64                                                                 4/4 
[INFO] Executing post installation scripts...
[INFO] Oracle home installed successfully and ready to be configured.
To configure Oracle Database XE, optionally modify the parameters in '/etc/sysconfig/oracle-xe-18c.conf' and then execute '/etc/init.d/oracle-xe-18c configure' as root.
  Verifying  : ksh-20120801-139.0.1.el7.x86_64                                                                     1/4 
  Verifying  : oracle-database-xe-18c-1.0-1.x86_64                                                                 2/4 
  Verifying  : oracle-database-preinstall-18c-1.0-1.el7.x86_64                                                     3/4 
  Verifying  : libaio-devel-0.3.109-13.el7.x86_64                                                                  4/4 

Installed:
  oracle-database-xe-18c.x86_64 0:1.0-1                                                                                

Dependency Installed:
  ksh.x86_64 0:20120801-139.0.1.el7                                libaio-devel.x86_64 0:0.3.109-13.el7               
  oracle-database-preinstall-18c.x86_64 0:1.0-1.el7               

Complete!
[jyb@ols database]$ 

Tout semble parfait sauf que si je fait un su – oracle (utilisateur créé par le package oracle-database-preinstall-18c) … oups … il ne trouve pas de répertoire /home/oracle.

[root@ols ~]# su - oracleLast login: Thu Dec  6 23:30:29 CET 2018su: warning: cannot change directory to /home/oracle: No such file or directory-bash-4.2$ 

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée.