Blog
-
Jenkins vs Java8 – SSL, fonts, “-Djava.awt.headless=…”, …
I had to migrate from Java7 to Java8 eventually.
When you start launching your jenkins WAR file, you will run into at least these issues:
- for HTTPS you are requested to create a certificate
- “-Djava.awt.headless=…”
- font trouble
In order to ignore the HTTPS / certificate noise for the time being, I switched on the HTTP port again, and I switched off the HTTPS port.
I decided to give “my own” Java (from Oracle downloads) a try. I downloaded “my own” “Java SE 8u192” for Linux x64 from Oracle downloads, untarred, and made use of it within my start-up script.
The “-Djava.awt.headless=…” and the font trouble simply disappeared after that.
The certificate issue:
Just do, as you get told!
This is my experience gathered on my Synology DS713+.
-
Linux: how to edit certain system files in a secured way: vipw, vigr, visudo
- https://manpages.debian.org/unstable/passwd/vipw.8.en.html
- https://manpages.debian.org/unstable/passwd/vigr.8.en.html
- https://manpages.debian.org/unstable/sudo/visudo.8.en.html
vipw and vigr are actually the same utility.
You still have to also apply sudo on your command in order to gain the necessary privileges:
$ sudo vipwUnder certain circumstances you have to tell the utility, which (visual) editor to use:
$ sudo VISUAL=vim vipwCAVEAT: the following article tells you something incorrect regarding “-s” / “–shadow” (read it up on the manual page referred to above and also on the article’s own comments section!):
-
Linux: how to grant “sudo” privileges to an account: “usermod”
CAVEAT: Do not edit any file for gaining the required effect, instead: use the following command line!
$ sudo usermod --append --groups sudo ACCOUNTActually it adds (“–append”) ACCOUNT to a user group by the name of sudo. That works because of this entry in the file /etc/sudoers (what is the group sudo allowed to do?):
%sudo ALL=(ALL:ALL) ALLIn other Linux distributions the group is named administrators instead, that would effect the usermod command line and the entry in /etc/sudoers.
-
Python, pip, wheel, x86_64 vs amd64, PyQt5
I am trying to install PyQt5. My machine is an x68_64, so this will not install:
PyQt5:
-
managing APT repositories: reprepro
-
Continuous Integration / Delivery for Debian packages – jenkins-debian-glue.org
I do have Jenkins running on Debian, creating Debian packages as deployables – I plan to deploy to a Debian repository.
- https://wiki.jenkins.io/display/JENKINS/Debian+Pbuilder+Plugin
- https://blog.packagecloud.io/eng/2017/03/23/create-debian-repository-reprepro/
Automatic handling of repositories
without manual interaction:reprepro:
freight:
- https://salsa.debian.org/debian/freight – the fork
- https://github.com/rcrowley/freight – the original
- https://www.systutorials.com/docs/linux/man/1-freight-cache
- http://midactstech.blogspot.com/2014/05/install-freight.html
- – maybe that only works with the original
-
managing APT repositories
- using your own Debian package repository
- is there a CLI interface?
- is there a human oriented web interface?
- sources available?
searching for “debian package repository”:
- https://www.debian.org/distrib/packages
- https://packages.debian.org
- https://wiki.debian.org/DebianRepository/Setup
- https://wiki.debian.org/DebianRepository/Setup#debify
- https://debian-handbook.info/browse/stable/sect.setup-apt-package-repository.html
- …
searching for “ubuntu package repository”:
… – also describes 2 different (simplistic?) web server approaches: