Install & Run YugabyteDB

Set ulimit configuration

Before starting Yugabyte, you must increase the default ulimit values to ensure system limits do not interfere with the database.

To do this:

Persist new limits across reboots

Add these lines to /etc/security/limits.conf:

echo "$(whoami) soft nofile 1048576" | sudo tee -a /etc/security/limits.conf
echo "$(whoami) hard nofile 1048576" | sudo tee -a /etc/security/limits.conf

This ensures the increased limits are automatically applied to future sessions.

Apply limit immediately (for current shell only)

ulimit -n 1048576
# Verify limit change:
ulimit -n

Install Yugabyte

wget https://software.yugabyte.com/releases/2.25.1.0/yugabyte-2.25.1.0-b381-linux-x86_64.tar.gz
tar xvfz yugabyte-2.25.1.0-b381-linux-x86_64.tar.gz
cd yugabyte-2.25.1.0
./bin/post_install.sh

Start the DB

./bin/yugabyted start \
  --advertise_address 127.0.0.1 \
  --master_flags rpc_bind_addresses=127.0.0.1 \
  --tserver_flags rpc_bind_addresses=127.0.0.1
sudo locale-gen en_US.UTF-8

You can also check your Yugabyte cluster details directly in the CLI with:

./bin/yugabyted status

Last updated

Was this helpful?