💾 Archived View for gemini.solobsd.org › jenkins.gmi captured on 2023-12-28 at 15:25:28. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-03-01)
-=-=-=-=-=-=-
In order to get Jenkins installed on HardenedBSD 12, we need to install:
`# pkg install jenkins`
Edit and add the following lines to your /etc/rc.conf file:
`jenkins_enable="YES"`
`jenkins_home="/usr/local/jenkins"`
`jenkins_user="jenkins"`
`jenkins_args="--webroot=${jenkins_home}/war --httpPort=8180"`
Apply the following rules:
`# hbsdcontrol pax disable pageexec /usr/local/openjdk8/bin/java`
`# hbsdcontrol pax disable mprotect /usr/local/openjdk8/bin/java`
I'm not pretty sure if these are necessary, but, just in case:
`# hbsdcontrol pax disable pageexec /usr/local/openjdk8/bin/javac`
`# hbsdcontrol pax disable mprotect /usr/local/openjdk8/bin/javac`
`# hbsdcontrol pax disable pageexec /usr/local/openjdk8-jre/bin/java`
`# hbsdcontrol pax disable mprotect /usr/local/openjdk8-jre/bin/java`
Now you can start the jenkins service:
`# service jenkins start`
Fire up your web browser to:
`http://yoursite.com:8180`
Continue with the configuration wizard.