How to Setup Linux Based Agent Node in Jenkins | Step-by-Step Guide
7K views
Jan 8, 2025
Learn how to set up and configure a Linux-based agent node in Jenkins with this comprehensive guide. Perfect for DevOps engineers looking to scale their CI/CD pipeline. *** 💡 Key Topics: *** 1. Prepare the Agent Machine sudo dnf install java-21-openjdk -y java --version ssh-keygen -t rsa touch ~/.ssh/authorized_keys cat cat ~/.ssh/id_rsa.pub | tee -a ~/.ssh/authorized_keys cat cat id_rsa 2. Add Agent Node and Create Credentials for node * Navigate to "Manage Jenkins" -- "Nodes and Clouds" * Click "New Node" * Enter node name "linux-agent" * Select "Permanent Agent" * Click "Create"