After this we activate the firewall
Posted: Tue Jan 28, 2025 6:41 am
You can evaluate the status of Jenkins using the command:
sudo service jenkins status
If the program is activated, a bright green message "active (running)" will appear.
Also, before setting up and working in Jenkins, you need to vp financial email list configure the firewall. Open SSH:
sudo ufw allow OpenSSH
sudo ufw enable
Let's allow access to port 8080, which Jenkins uses by default, and enter the following into the terminal:
sudo ufw allow 8080
We need to make sure that all the settings are taken into account by the firewall.
Add the command:
sudo ufw status
If the Action column says ALLOW and the From column says Anywhere, then the firewall has opened access to Jenkins.
Setting up Jenkins
To adapt Jenkins to the specific requirements of the project, you need to configure the settings. If the program is designed for Windows, you should open http://localhost:8080 in the browser . If Jenkins is on the server, then instead of localhost, we use its IP address - for example, http://192.168.1.100:8080 . This will allow you to enter the program interface.
The remaining steps of Jenkins setup for different OS look almost identical. Let's consider the algorithm using Windows as an example:
sudo service jenkins status
If the program is activated, a bright green message "active (running)" will appear.
Also, before setting up and working in Jenkins, you need to vp financial email list configure the firewall. Open SSH:
sudo ufw allow OpenSSH
sudo ufw enable
Let's allow access to port 8080, which Jenkins uses by default, and enter the following into the terminal:
sudo ufw allow 8080
We need to make sure that all the settings are taken into account by the firewall.
Add the command:
sudo ufw status
If the Action column says ALLOW and the From column says Anywhere, then the firewall has opened access to Jenkins.
Setting up Jenkins
To adapt Jenkins to the specific requirements of the project, you need to configure the settings. If the program is designed for Windows, you should open http://localhost:8080 in the browser . If Jenkins is on the server, then instead of localhost, we use its IP address - for example, http://192.168.1.100:8080 . This will allow you to enter the program interface.
The remaining steps of Jenkins setup for different OS look almost identical. Let's consider the algorithm using Windows as an example: