Skip to main content

Posts

Showing posts from June, 2018

centos kickstart gdm

Starting GDM after a Kickstart installation When installing CentOS7 from Kickstart, GDM is not starting at boot. This is because the default target is "multi-user": ls -l /etc/systemd/system/default.target lrwxrwxrwx. 1 root root 41 Mar 24 01:53 /etc/systemd/system/default.target -> /usr/lib/systemd/system/multi-user.target To solve this, I put these lines in the "%post" section: %post rm /etc/systemd/system/display-manager.service rm /etc/systemd/system/default.target ln -sf /usr/lib/systemd/system/graphical.target /etc/systemd/system/default.target ln -sf /usr/lib/systemd/system/gdm.service /etc/systemd/system/display-manager.service %end

HAProxy HTTPS SSH Bitbucket

Atlassian Bitbucket Bitbucket is a software developped by Atlassian and I define it like an interface to Git, in order to make it more friendly. There is a bunch of software in Bitbucket, acting as layers in order to facilitate collaboration on code. Last but not least, Bitbucket has a good integration with Jira, which is one of the main reasons I choosed it to be our tool at ESTI. I thank Atlassian very much for metting ESTI use community licence of both Jira and Bitbucket. The goal: HTTPS and SSH on regular ports Default HTTP and SSH port for Bitbucket is neither 443 nor 22. Their are configurable and it would be possible to directly make Bitbucket face those ports, but we dont like that, we'd rather setup a HAProxy instance that will forward the ports for us. Prerequisite for that is to have a HTTPS certificate. It might be self signed or not. The one I use is not self-signed, and I bought it to Gandi, which provides an intermediate SHA2 certificate . To sum it up, I