Install & Run YugabyteDB
Set ulimit configuration
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
This should output 1048576
.
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
If you encounter locale-related errors when starting Yugabyte for the first time, run:
sudo locale-gen en_US.UTF-8
Visit 127.0.0.1:15433
to confirm successful installation. This is the YugabyteDB web UI — it should display the dashboard if the service is running correctly and all nodes are healthy.
./bin/yugabyted status
Last updated
Was this helpful?