Install Oracle Xe 21c On Ubuntu [better] (2026)

Before we open the terminal, ensure your system meets these minimum requirements:

[Service] Type=forking ExecStart=/etc/init.d/oracle-xe-21c start ExecStop=/etc/init.d/oracle-xe-21c stop ExecReload=/etc/init.d/oracle-xe-21c restart User=oracle Group=oracle Restart=no install oracle xe 21c on ubuntu

sudo sysctl -p /etc/sysctl.d/99-oracle.conf Before we open the terminal, ensure your system

Oracle processes require more file descriptors and process handles than a default Ubuntu user is allowed. We need to edit the security limits. Before we open the terminal

sudo sysctl --system

sudo nano /etc/sysconfig/oracle-xe-21c.conf

docker run --name oracle-xe-21c -p 1521:1521 -p 5500:5500 -e ORACLE_PASSWORD=your_secure_password ://oracle.com Use code with caution. Copied to clipboard 2. The Conversion Route: Alien (Traditional)