-
Notifications
You must be signed in to change notification settings - Fork 0
Experiment Environment Setup
Sakshi Sharma edited this page Aug 7, 2026
·
3 revisions
List all devices - double check the SSD should be /dev/nvme1n1
sudo fdisk -lPrepare, setup, and mount the SSD
sudo mkdir -p /home/ubuntu/ssd
sudo mkdir -p /home/ubuntu/ebs
sudo mkfs -t ext4 -F /dev/nvme1n1
sudo mount /dev/nvme1n1 /home/ubuntu/ssd
sudo chmod o+w /home/ubuntu/ssd
sudo chown -R ubuntu /home/ubuntu/ssd
df -hSetup ufw and add allowed IPs
echo y | sudo ufw enable
sudo systemctl start ufw
sudo systemctl enable ufw
# Set default policies first
sudo ufw default deny incoming
sudo ufw default allow outgoing
# your ip
sudo ufw allow from <yr ip>
# Check rules
sudo ufw status verboseClear all existing rules
echo y | sudo ufw resetsudo apt update
sudo apt install -y python3-pip openjdk-11-jdk-headless iperf3 htop nload
python3 -m pip install psutil kafka-python paramiko scpWe need to setup SSH access from root node (where we will run experiments) to all other nodes.
- Generate key pair
ssh-keygen- Print out the generated public key (e.g. id_rsa.pub, id_ed25519.pub)
cat ~/.ssh/id_rsa.pub- Add the public key to all nodes of the cluster - including the local node.
echo [public_key_got_above] >> ~/.ssh/authorized_keys- Download
cd ~
wget https://go.dev/dl/go1.25.6.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.25.6.linux-amd64.tar.gz
rm -rf go1.25.6.linux-amd64.tar.gz
- Update PATH: append the following to the
~/.profile
export PATH=$PATH:/usr/local/go/bin
- Apply the change
source ~/.profile
- Check the install
go version