vpsfreecz / vpsadminos-image-build-scripts Goto Github PK
View Code? Open in Web Editor NEWScripts used to build container images for vpsAdminOS
License: MIT License
Scripts used to build container images for vpsAdminOS
License: MIT License
Currently alpine script does not use https to fetch the image
https://github.com/vpsfreecz/build-vpsfree-templates/blob/master/include/alpine.sh#L5
I'm willing to try to give a shot debugging this, but README.md is bit short on details how to run this. Could I get some pointers? Do we have a wiki page somewhere for that or something?
Remote console should be enabled in all templates by default, see http://kb.vpsfree.cz/konfigurace_a_zabezpeceni/vzdalena_konzole
sshd sometimes does not start on boot on Fedora 30, even though it is enabled. It happens while testing built images and on staging as well. No idea what's going on, there's not even any attempt at starting it, the service is sometimes just ignored.
I installed fresh copy of template CentOS 9 Stream and when tried install any package I got error related to public key. In dnf.log I noticed: dnf.exceptions.Error: GPG check FAILED
021-12-06T16:01:25+0100 DEBUG Using rpmkeys executable at /usr/bin/rpmkeys to verify signatures
2021-12-06T16:01:25+0100 CRITICAL Importing GPG key 0x8483C65D:
Userid : "CentOS (CentOS Official Signing Key) [email protected]"
Fingerprint: 99DB 70FA E1D7 CE22 7FB6 4882 05B5 55B3 8483 C65D
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
2021-12-06T16:01:46+0100 INFO Key imported successfully
2021-12-06T16:01:46+0100 INFO Import of key(s) didn't help, wrong key(s)?
2021-12-06T16:01:46+0100 CRITICAL Public key for wget-1.21.1-7.el9.x86_64.rpm is not installed. Failing package is: wget-1.21.1-7.el9.x86_64
dbus is not installed by default, but when installed, the VPS will not boot at all. It fails on:
Process: 237 ExecStart=/usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation (code=exited, status=206/OOM_ADJUST)
So we should add an override to the template and disable OOMScoreAdjust on dbus.service.
UTC timezone is broken in Debian 11 image.
root@radio-h:~# zdump /usr/share/zoneinfo/UTC
/usr/share/zoneinfo/UTC Thu Aug 4 14:17:18 2022 CEST
Use clean CentOS 9 Stream installation.
run command:
sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
to install the latest epel, unfortunately installation fails with message
"Key import failed (code 2). Failing package is: epel-next-release-9-2.el9.noarch"
freshclam processes from multiple VPS tend to go crazy all at once, overloading the nodes. We can't really help it if people install it, but we could add override to all templates using systemd and limit the CPU usage, e.g.:
mkdir -p /etc/systemd/system/clamav-freshclam.service.d
cat <<EOF > /etc/systemd/system/clamav-freshclam.service.d/override.conf
[Service]
CPUQuota=25%
CPUWeight=10
EOF
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_PAPER = "cs_CZ.UTF-8",
LC_ADDRESS = "cs_CZ.UTF-8",
LC_MONETARY = "cs_CZ.UTF-8",
LC_NUMERIC = "cs_CZ.UTF-8",
LC_TELEPHONE = "cs_CZ.UTF-8",
LC_MESSAGES = "en_US.UTF-8",
LC_IDENTIFICATION = "cs_CZ.UTF-8",
LC_COLLATE = "en_US.UTF-8",
LC_MEASUREMENT = "cs_CZ.UTF-8",
LC_CTYPE = "en_US.UTF-8",
LC_TIME = "cs_CZ.UTF-8",
LC_NAME = "cs_CZ.UTF-8",
LANG = "cs_CZ.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
I fix with this cmd
update-locale LC_ALL=en_US.UTF-8
update-locale LANGUAGE=en_US.UTF-8
update-locale LANG=en_US.UTF-8
From the 01/Feb/2020, RHEL will be for free for 16 devices for "small production workloads". Link
So it would be nice to have RHEL 8 template for using.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.