install jdk
sudo dnf install java-17-amazon-corretto -y
enable Jenkins to start automatically once server started ok.
add inbound port 8080 for Jenkins:
then you can just access the Jenkins UI.
http://your_hostname:8080
sudo cat /var/lib/jenkins/secrets/initialAdminPassword
then input the password.
create user
install suggest plugin
Create First Admin User
go to manage Jenkins, then Plugins
install maven
manage Jenkins, then Tools