You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Note!! Please register for a free account to access the full content and also to participate in Q&A in the community

How to Enable zram in Ubuntu 20.04

Applies to:  

Oracle Cloud Infrastructure - Version N/A and later 

Ubuntu 20.04 and later


Goal 

Enable zram module in ubuntu 20.04


Solution

In order to enable zram on Ubuntu in OCI, you have to install the linux-modules-extra-VERSION-oracle package corresponding to the same kernel version. 

For kernel 5.15.0-1027-oracle run the following command:

$ sudo apt install linux-modules-extra-5.15.0-1027-oracle

Once installed, the zram module should be available, you can check with:

# sudo modprobe zram
# sudo lsmod | grep zram

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!