From e7366bf41f68cfe07e9ea03fc4a398baecbae651 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 4 Feb 2017 09:41:13 +0000 Subject: Initial conversion from MediaWiki, 20170204 --- continuous_integration_freebsd_setup.mdwn | 67 +++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 continuous_integration_freebsd_setup.mdwn (limited to 'continuous_integration_freebsd_setup.mdwn') diff --git a/continuous_integration_freebsd_setup.mdwn b/continuous_integration_freebsd_setup.mdwn new file mode 100644 index 0000000..d2bde05 --- /dev/null +++ b/continuous_integration_freebsd_setup.mdwn @@ -0,0 +1,67 @@ +[[!meta title="Continuous Integration FreeBSD Setup"]] +[[!meta author="Kyllikki"]] +[[!meta date="2014-12-21T02:25:02Z"]] + + +[[!toc]] + +Manual setup of FreeBSD 10.1 +---------------------------- + +Install VM from ISO the usual 1G of RAM and 40G of disc is sufficient. +The install will ask for root password, also create a jenkins user and +give it a password and home dir of /var/lib/jenkins . + +I had lots of issues trying to get ps2 mouse support working, the usb +mouse did work but a CI slave does not need it. + +enable serial console + +`echo 'console="comconsole"' >> /boot/loader.conf` + +ensure pkg-config is replaced by the freebsd equivalent + +`pkg set -o devel/pkg-config:devel/pkgconf` +`pkg install -f devel/pkgconf` + +### required packages + +Ensure all ports were added in the install or mess with ports as needed + +The first run of the pkg command will prompt you to install it. + +`pkg install curl` + +is a good starting place. + +Required packages: + +`git` +`gmake` +`bash` +`ccache` +`flex` +`bison` +`png` +`jpeg` +`wget ` +`gtk2` +`openssl` +`p5-HTML-Parser` +`screen` +`gperf` +`rsync` +`openjdk` + +### config + +on master jenkins use "manage nodes" to create new node. Ensure "remote +fs root" is set to /var/lib/jenkins add variable JENKINS\_HOME set to +/var/lib/jenkins + +As superuser on slave: + +- create jenkins user + +`adduser -home /var/lib` + -- cgit v1.2.3