Jenkins Tutorial on AWS -Tech-Abhyashika | How to install Jenkins on AWS EC2 (Ubuntu) in Marathi
Вставка
- Опубліковано 9 вер 2024
- Jenkins Tutorial on AWS -Tech-Abhyashika | How to install Jenkins on AWS EC2 (Ubuntu) in Marathi
#rank #youtube #channel #aws #jenkins #installation #ubuntu #jenkinstutorial #marathi
Installing Jenkins on an AWS EC2 instance running Ubuntu involves several steps. Here's a basic guide to get you started:
1. **Launch an EC2 Instance**: Log in to your AWS Management Console, navigate to the EC2 service, and launch a new Ubuntu instance. Make sure to select a suitable instance type and configure security groups to allow inbound traffic on port 8080 (default Jenkins port) from your IP address.
2. **Connect to Your Instance**: Once your instance is running, connect to it via SSH using a terminal or an SSH client like PuTTY if you're on Windows.
3. **Update Package Lists**: Run the following commands to make sure your package lists are up to date:
```bash
sudo apt update
sudo apt upgrade
```
4. **Install Java**: Jenkins requires Java to run. Install OpenJDK with the following command:
```bash
sudo apt install default-jdk -y
```
5. **Add Jenkins Repository**: Add the Jenkins repository key to your system to enable package verification:
```bash
wget -q -O - pkg.jenkins.io... | sudo apt-key add -
```
6. **Add Jenkins Repository to Sources List**: Run the following command to add the Jenkins repository to the system’s sources list:
```bash
sudo sh -c 'echo deb pkg.jenkins.io/... binary/ /etc/apt/sources.list.d/jenkins.list'
```
7. **Update Package Lists Again**: Update your package lists to include the Jenkins repository:
```bash
apt update
```
8. **Install Jenkins**: Finally, install Jenkins using apt:
```bash
sudo apt install jenkins -y
```
9. **Start Jenkins**: Jenkins should start automatically after installation. If it doesn't, start the service manually:
```bash
sudo systemctl start jenkins
```
10. **Enable Jenkins to Start on Boot**: Ensure that Jenkins starts automatically every time the server reboots:
```bash
sudo systemctl enable jenkins
```
11. **Access Jenkins**: Jenkins should now be running on your EC2 instance. Access it by navigating to YOUR_EC2_INSTANCE_PUBLIC_IP:8080 in your web browser.
12. **Unlock Jenkins**: When you access Jenkins for the first time, you'll be prompted to unlock it. Follow the instructions to retrieve the initial administrator password from the server:
```bash
sudo cat /var/lib/jenkins/secrets/initialAdminPassword
```
Copy the password and paste it into the Jenkins web interface to complete the setup.
13. **Install Plugins**: After unlocking Jenkins, you can choose whether to install suggested plugins or select specific plugins according to your requirements.
That’s it! Jenkins should now be installed and ready to use on your AWS EC2 instance.
Your Queries
installation of Jenkins
installation of Jenkins in Aws
set up of jenkins on ubuntu machine
How to Setup & Install Jenkins in AWS EC2 Ubuntu Instance
How to Setup & Install Jenkins in AWS EC2 Ubuntu Instance | devops
#aws #devops #youtube #jenkinspipeline #tutorial #marathicontent @Tech-Abhyashika
🙏🙏🙏
YOU JUST NEED TO DO
3 THINGS to support my channel
LIKE
SHARE
&
SUBSCRIBE
TO MY UA-cam CHANNEL