Tag Archives: linux

Run Jenkins and Jenkins agents on Docker

I have managed a Gitlab instance for a couple of years, but for some organizations, Gitlab is overkill. For some people, Gitea is enough. However, Gitea does not have production-ready CI/CD yet. Fortunately, it’s possible to link Jenkins to Gitea. … Continue reading

Posted in Docker, Linux | Tagged , , , , , , | Leave a comment

A Raspberry Pi, a UPS and a couple of ESXi servers walk into a bar

If you have the power of multiple servers connected to a UPS, you probably need to shut them down when the power goes down and before the UPS runs out of juice. Unless your UPS can be connected to the … Continue reading

Posted in Computer, Linux, Networking | Tagged , , , , , | Leave a comment

Running a PKI using Smallstep certificates with Docker

Recently, I had to set up a new PKI. I was going to go with the good old OpenSSL but it’s 2021, there must be a more userfriendly and, more importantly, automated approach. There are many open-source possibilities: EJBCA, cfssl, … Continue reading

Posted in Computer, Linux, Uncategorized | Tagged , , , , | 12 Comments

Deprecation of apt-key in Debian-based distributions

I recently installed an Ubuntu 21.04 and when I wanted to install Atom editor, I was given the following warning about apt-key being deprecated: After a bit of Googling around, I stumbled on this post on askubuntu.com explaining why apt-key … Continue reading

Posted in Computer, Linux, Ubuntu | Tagged , , | Leave a comment

Gitlab-runner and docker behind a proxy

After reading many articles and trying many things, this is how I solved it. For docker daemon itself to use a proxy, configure environment variables using systemd file /etc/systemd/system/docker.service.d/http-proxy.conf : For gitlab-runner daemon itself to use a proxy, configure environment … Continue reading

Posted in Computer, Linux, Networking | Tagged , , | Leave a comment

Post install steps with Gitlab

It happens I recently had to install Gitlab and was a bit lost about what to do right after the setup finished, perhaps this will help. By default, Gitlab stores its data files in /var/opt/gitlab and its backups in /var/opt/gitlab/backups … Continue reading

Posted in Computer | Tagged , , , | Leave a comment

rsyslogd auto-configuration

To have rsyslogd automatically create directories and files with whatever you send at it, just put this in your rsyslog.conf file (or a .conf file in /etc/rsyslog.d): # provide UDP syslog reception $ModLoad imudp $UDPServerRun 514 $template DynFile,”/var/log/syslogs/%fromhost-ip%-%fromhost%/%$YEAR%-%$MONTH%-%syslogfacility-text%” # log … Continue reading

Posted in Computer, Linux | Tagged , , , | Leave a comment

Ubuntu 12.04 on HP Microserver N40L

Just some thoughts and things I’ve done. The hardware is the following: the Microserver itself, 2x 4GB DDR3, one 16GB USB flash drive, some 2TB SATA hard drives, Logitech S-150 USB speakers, and a GT520 HDMI+DVI graphic card. Installation on … Continue reading

Posted in Computer, Linux, Virtualization | Tagged , , , , | Leave a comment

Bug: Debian, Munin, graphes CGI et groupes

Short story: C’est l’histoire d’un bug dans un logiciel, Munin. Le bug rend impossible la génération des graphes en CGI lorsque l’hôte appartient à un sous-groupe. Le patch corrigeant ce bug est disponible ici.   Long story: Ce bug a … Continue reading

Posted in Computer, Linux | Tagged , , , , , , , , , | Leave a comment

Aligner une partition avec des secteurs de 4096 octets

Et on trouve la solution ici : http://workingdirectory.net/posts/2010/two-tb-disks/ ! Je ne reprends que la partie qui m’intéresse: utiliser parted (récent) créer un label gpt (car évidemment, les disques font plus de 2 teraoctets, sinon les secteurs ne feraient pas 4096 octets) … Continue reading

Posted in Computer, Linux | Tagged , , , , , , | Leave a comment