Fedora/Morefine: Difference between revisions
Jump to navigation
Jump to search
Line 92: | Line 92: | ||
{| | {| | ||
| valign="top" | | | valign="top" | | ||
rpm-ostree install | rpm-ostree install wget httpd | ||
rpm-ostree install python3 python3-pip python-is-python3 | rpm-ostree install python3 python3-pip python-is-python3 | ||
rpm-ostree install make automake gcc gcc-c++ kernel-devel | rpm-ostree install make automake gcc gcc-c++ kernel-devel | ||
Line 107: | Line 107: | ||
| valign="top" | | | valign="top" | | ||
alternatives --config java | alternatives --config java | ||
rpm-ostree install upx | |||
| valign="top" | | | valign="top" | | ||
alternatives --config javac | alternatives --config javac | ||
rpm-ostree install redis | |||
|} | |} |
Revision as of 20:59, 13 December 2022
Server Config
sudo rpm-ostree install postgresql-server sudo rpm-ostree install mariadb-server sudo rpm-ostree install httpd |
sudo systemctl enable httpd.service sudo systemctl start httpd.service ls -lah /usr/lib/systemd/system/ |
sudo firewall-cmd --permanent --add-service=http sudo setsebool -P httpd_can_network_connect on sudo firewall-cmd --add-service=http |
Benchmarks
time openssl dhparam -out ~/dh2048.pem 2048 |
time openssl dhparam -out ~/dh4096.pem 4096 |
Raspberry Pi4 | |
real 13m29.781s user 13m29.619s sys 0m0.111s |
real 87m20.886s user 87m19.900s sys 0m0.261s |
Morefine M8S | |
real 1m27.368s user 1m26.946s sys 0m0.109s |
real 17m34.707s user 17m33.184s sys 0m0.065s |
Legion 5Pro | |
real 0m17.441s user 0m17.429s sys 0m0.004s |
real 2m5.231s user 2m5.202s sys 0m0.012s |
Fedora 37 Fixes
sudo ostree remote add --if-not-exists\ --gpg-import=/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-37-x86_64\ fedora-iot-mirrorlist https://d2ju0wfl996cmc.cloudfront.net backupDir="$HOME/backups/etc_ostree_remotes_d/" && mkdir -p $backupDir\ && cp /etc/ostree/remotes.d/fedora-iot.conf $backupDir sudo ostree remote delete fedora-iot deployment="$(ls -Art /sysroot/ostree/deploy/fedora-iot/deploy | tail -n 1)";\ /sysroot/ostree/deploy/fedora-iot/deploy/$(echo "${deployment%%*(.origin)}")/usr/lib/greenboot/check/wanted.d/01_update_platforms_check.sh sudo rpm-ostree rebase fedora-iot-mirrorlist:fedora/devel/x86_64/iot sudo rpm-ostree upgrade -r
Fedora 37 OSTree
rpm-ostree install wget httpd rpm-ostree install python3 python3-pip python-is-python3 rpm-ostree install make automake gcc gcc-c++ kernel-devel |
rpm-ostree install java-11-openjdk java-11-openjdk-devel rpm-ostree install java-17-openjdk java-17-openjdk-devel rpm-ostree install java-1.8.0-openjdk java-1.8.0-openjdk-devel |
| |
alternatives --config java rpm-ostree install upx |
alternatives --config javac rpm-ostree install redis |
References
| ||