Page 27 of 37
Re: Linux PowerPC Server Software
Posted: Tue Oct 19, 2021 3:31 pm
by xeno74
Desktop firewall for Void PPC Linux:
/etc/rc.local:
Code: Select all
# Default rc.local for void; add your custom commands here.
#
# This is run by runit in stage 2 before the services are executed
# (see /etc/runit/2).
iptables -t filter -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -t filter -A OUTPUT -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
iptables -t filter -A INPUT -i lo -j ACCEPT
iptables -P INPUT DROP
iptables -P OUTPUT DROP
iptables -P FORWARD DROP

Re: Linux PowerPC Server Software
Posted: Thu Oct 21, 2021 11:53 am
by xeno74
freeIPA:
Integrated security information management solution combining Linux (Fedora), 389 Directory Server, MIT Kerberos, NTP, DNS, Dogtag certificate system, SSSD and others.

Re: Linux PowerPC Server Software
Posted: Fri Oct 22, 2021 6:46 pm
by xeno74
freeIPA: ipa user-add:

Re: Linux PowerPC Server Software
Posted: Sat Oct 23, 2021 11:00 am
by xeno74
freeIPA authentication on Void PPC:

Re: Linux PowerPC Server Software
Posted: Sun Oct 24, 2021 7:39 pm
by xeno74
freeIPA client installation in a docker container:
Code: Select all
docker run --name freeipa-server2 --sysctl net.ipv6.conf.all.disable_ipv6=0 --hostname freeipa-server2.a-eon.tld --dns=192.168.178.21 -p 53:53/udp -p 53:53 -p 80:80 -p 443:443 -p 389:389 -p 636:636 -p 88:88 -p 464:464 -p 88:88/udp -p 464:464/udp -p 123:123/udp -v /Users/christian/freeipa-server-container-data:/data:Z freeipa/freeipa-server:centos-8
Code: Select all
ipa-client-install --no-ntp --no-nis --domain=a-eon.tld --realm=A-EON.TLD
Code: Select all
ipa-replica-install --setup-ca --setup-dns --no-forwarders
Re: Linux PowerPC Server Software
Posted: Sun Oct 24, 2021 11:34 pm
by xeno74
SSH login via IPA user:

Re: Linux PowerPC Server Software
Posted: Mon Oct 25, 2021 10:36 am
by xeno74
Manual network interface configuration on Fedora PPC64:
vi /etc/sysconfig/network-scripts/ifcfg-<network interface>
For example:
vi /etc/sysconfig/network-scripts/ifcfg-ens33
Code: Select all
DEVICE=ens33
BOOTPROTO=none
ONBOOT=yes
PREFIX=24
IPADDR=192.168.178.102
GATEWAY=192.168.178.1
DNS1=192.168.178.21
DNS2=192.168.178.1
If you want to disable ipv6 then add the following line to "
/etc/sysctl.conf".
Code: Select all
net.ipv6.conf.ens33.disable_ipv6 = 1
Re: Linux PowerPC Server Software
Posted: Mon Oct 25, 2021 2:09 pm
by xeno74
freeIPA replication:

Re: Linux PowerPC Server Software
Posted: Tue Oct 26, 2021 3:07 pm
by xeno74
freeIPA replication part2:

Re: Linux PowerPC Server Software
Posted: Wed Oct 27, 2021 2:28 am
by xeno74
freeIPA client installation in a Rocky Linux docker container:
- Create a container from the Rocky Linux image (deploy):
Code: Select all
docker run -it --name freeipa-server-rocky2 --sysctl net.ipv6.conf.all.disable_ipv6=0 --hostname freeipa-server-rocky2.a-eon.tld --dns=192.168.178.21 -p 53:53/udp -p 53:53 -p 80:80 -p 443:443 -p 389:389 -p 636:636 -p 88:88 -p 464:464 -p 88:88/udp -p 464:464/udp -p 123:123/udp -v /Users/christian/freeipa-server-container-data:/data:Z -d rockylinux/rockylinux
- Access to the container:
Code: Select all
docker exec -it --user root freeipa-server-rocky2 /bin/bash
-
-
-
-
-
Code: Select all
ipa-client-install --no-ntp --no-nis
Stop the container:
docker ps -a and
docker stop ID (For example:
docker stop 4333350fd351)
Start the container again:
-
-
Code: Select all
docker exec -it --user root freeipa-server-rocky2 /bin/bash