501 lines
14 KiB
Plaintext
501 lines
14 KiB
Plaintext
exit
|
|
cd ~/.bashrc.d/systemd
|
|
cd ~/.bashrc.d
|
|
ls -la
|
|
sudo -iu podman
|
|
exit
|
|
systemctl --user list-unit-files
|
|
cd /etc/containers/systemd/users
|
|
ls
|
|
ls -la
|
|
cd ..
|
|
ls -la
|
|
systemctl start --user
|
|
cd /usr/lib/systemd/system-generators/podman-system-generator
|
|
cd /usr/lib/systemd/system-generators
|
|
ls -la
|
|
ls -la
|
|
cd /usr/libexec/podman/quadlet
|
|
cd /usr/libexec/podman
|
|
ls -la
|
|
apt-get install apt install podman-quadlet
|
|
apt install podman-quadlet
|
|
ls -la
|
|
ls -la /usr/libexec/podman
|
|
systemctl -l | grep -i rootlessport
|
|
ps aux | grep rootlessport
|
|
podman-generate-systemd
|
|
ls
|
|
whereis podman-generate-systemd
|
|
clear
|
|
apt list --installed
|
|
clear
|
|
exit
|
|
clear
|
|
apt list --installed
|
|
clear
|
|
/usr/libexec/podman/quadlet -dryrun
|
|
/usr/libexec/podman/quadlet --user -dryrun
|
|
sudo -iu podman
|
|
exit
|
|
chown -R podman:podman /home/podman
|
|
/usr/libexec/podman/quadlet -dryrun --user
|
|
sudo -iu podman
|
|
find / -name "immich-server.service" 2>/dev/null
|
|
rm -R /home/podman/d
|
|
find / -name "uptime-kuma-server.service" 2>/dev/null
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
chown -R podman:podman /home/podman/.config/containers/systemd
|
|
chown -R podman:podman /home/podman/.config/containers/systemd
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
nginx -t
|
|
nginx -s reload
|
|
sudo -iu podman
|
|
nginx -t
|
|
nginx -s reload
|
|
sudo -iu podman
|
|
nginx -t
|
|
nginx -s reload
|
|
nginx -t
|
|
nginx -s reload
|
|
links https://phares.duckdns.org
|
|
nano /etc/hosts
|
|
links https://phares.duckdns.org
|
|
ls /var/www/html
|
|
nano index.html
|
|
nano /var/www/html/index.html
|
|
mv /var/www/html /var/www/html-slideshow
|
|
ls /var/www
|
|
mkdir /var/www/html
|
|
cp /var/www/html-slideshow/index.nginx-debian.html /var/www/html/
|
|
mv /var/www/html /var/www/html-nginx
|
|
nginx -t
|
|
nginx -s reload
|
|
links https://phares.duckdns.org
|
|
ls /var/www/html-nginx
|
|
links https://adguard.phares.duckdns.org/
|
|
nano /etc/hosts
|
|
links https://adguard.phares.duckdns.org/
|
|
nano /etc/hosts
|
|
links https://adguard.phares.duckdns.org/
|
|
nano /etc/hosts
|
|
nano /etc/hosts
|
|
links https://adguard.phares.duckdns.org/
|
|
nano /etc/hosts
|
|
links https://adguard.phares.duckdns.org/
|
|
exit
|
|
nginx -t
|
|
nginx -s reload
|
|
podman pull docker.io/m1k1o/neko:firefox
|
|
/usr/libexec/podman/quadlet --user /home/podman/libexec-podman-quadlet-output
|
|
chown -R podman:podman /home/podman/.config/containers/systemd
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
nginx -t
|
|
nginx -s reload
|
|
podman pull docker.io/mattermost/mattermost-team-edition:9.11.2
|
|
sudo -iu podman
|
|
podman list images
|
|
podman ls images
|
|
podman images ls
|
|
podman image ls
|
|
podman image prone
|
|
podman image purge
|
|
podman image --help
|
|
podman image prune
|
|
y
|
|
podman image ls
|
|
podman image rm 2
|
|
podman image rm 7
|
|
podman image ls
|
|
sudo -iu podman
|
|
chown -R podman:podman /home/podman/.config/containers/systemd
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
nginx -t
|
|
nginx -s reload
|
|
nginx -t
|
|
nginx -t
|
|
nginx -s reload
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
chown -R podman:podman /home/podman/.config/containers/systemd
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
exit
|
|
sudo -iu podman
|
|
exit
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
nano /etc/hosts
|
|
nano /etc/hosts
|
|
nano /etc/hosts
|
|
exit
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
cat /home/podman/.local/share/containers/storage/volumes/systemd-mattermost-server-config/_data/config.json
|
|
nano/home/podman/.local/share/containers/storage/volumes/systemd-mattermost-server-config/_data/config.json
|
|
nano /home/podman/.local/share/containers/storage/volumes/systemd-mattermost-server-config/_data/config.json
|
|
sudo -iu podman
|
|
nano /home/podman/.local/share/containers/storage/volumes/systemd-mattermost-server-config/_data/config.json
|
|
sudo -iu podman
|
|
exit
|
|
exit
|
|
sudo -iu podman
|
|
cd /home/podman/.local/share/containers/storage/volumes/systemd-immich-server-external/_data
|
|
ls
|
|
ls -la
|
|
cd /
|
|
sudo -iu podman
|
|
ls -la /home/podman/.local/share/containers/storage/volumes/systemd-immich-server-upload/_data/thumbs/5f0b1052-466d-44de-a554-226d7256850d/
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
exit
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
links https://192.168.0.43:8123
|
|
links http://192.168.0.43:8123
|
|
exit
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
ls -la /home/podman/.local/share/containers/storage/volumes/systemd-gitea-server-data/_data
|
|
cp -R /var/www/html-nginx/ /var/www/html-quartz
|
|
cd /var/www/html-quartz
|
|
ls
|
|
mv index.nginx-debian.html index.html
|
|
links http://192.168.11.2:8069/
|
|
links http://192.168.11.2:8069/index.html
|
|
cd /
|
|
nginx -t
|
|
cd /var/www/html-infineon/
|
|
ls
|
|
nginx -t
|
|
nginx -s reload
|
|
apt-get update
|
|
apt-get upgrade
|
|
reboot
|
|
links http://192.168.11.2:8069/
|
|
links http://192.168.11.2:8069/
|
|
links http://192.168.11.2/
|
|
sudo -iu podman
|
|
ls -la /home/podman/.local/share/containers/storage/volumes/systemd-odoo-server-data/_data/sessions/
|
|
rm /home/podman/.local/share/containers/storage/volumes/systemd-odoo-server-data/_data/sessions
|
|
rm -R /home/podman/.local/share/containers/storage/volumes/systemd-odoo-server-data/_data/sessions
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
ls -la /home/podman/.local/share/containers/storage/volumes/systemd-gitea-server-data/_data/git/
|
|
ls -la /home/podman/.local/share/containers/storage/volumes/systemd-gitea-server-data/_data/var
|
|
ls -la /home/podman/.local/share/containers/storage/volumes/systemd-gitea-server-data/_data
|
|
ls -la /home/podman/.local/share/containers/storage/volumes/systemd-gitea-server-data/_data/git/
|
|
ls -la /home/podman/.local/share/containers/storage/volumes/systemd-gitea-server-data/_data/git/repositories/
|
|
ls -la /home/podman/.local/share/containers/storage/volumes/systemd-gitea-server-data/_data/git/repositories/phares3757/
|
|
sudo -iu podman
|
|
exit
|
|
nginx -t
|
|
nginx -s reload
|
|
nginx -t
|
|
nginx -s reload
|
|
nginx -t
|
|
nginx -s reload
|
|
nginx -t
|
|
nginx -s reload
|
|
nginx -t
|
|
nano /root/.acme.sh/*.phares.duckdns.org_ecc/*.phares.duckdns.org.cer
|
|
nginx -t
|
|
nginx -s reload
|
|
nginx -t
|
|
nginx -s reload
|
|
reboot
|
|
links http://127.0.0.1:8080/slideshow/index.html?nocache=2024-07-01-11-36
|
|
links http://127.0.0.1:8080/slideshow/index.html
|
|
links http://127.0.0.1:8080/slideshow
|
|
links http://192.168.11.2:8080/slideshow
|
|
nginx -t
|
|
reboot
|
|
nginx -t
|
|
nginx -s reload
|
|
nginx -t
|
|
nginx -s reload
|
|
nginx -t
|
|
nginx -s reload
|
|
exit
|
|
mv /root/.acme.sh/affirm.duckdns.org_ecc/ /root/acme.sh-master/wild-affirm
|
|
mv /root/acme.sh-master/wild-affirm /root/.acme.sh/wild-affirm
|
|
exit
|
|
nginx -t
|
|
nginx -t
|
|
nginx -s reload
|
|
exit
|
|
cd /tmp
|
|
git clone https://github.com/acmesh-official/acme.sh.git
|
|
cd /tmp/acme.sh
|
|
./acme.sh --install -m mikepharesjr@msn.com
|
|
export DuckDNS_Token=1d3fc707-7052-4459-a624-fb01250f00b9
|
|
echo $DuckDNS_Token
|
|
./acme.sh --register-account -m mikepharesjr@msn.com
|
|
./acme.sh --set-default-ca --server letsencrypt
|
|
./acme.sh --issue --dns dns_duckdns -d '*.kmjmlc.duckdns.org' --debug --home /root/.acme.sh --dnssleep 120 --days 90 --ecc --server https://acme-v02.api.letsencrypt.org/directory
|
|
./acme.sh --issue --dns dns_duckdns -d '*.jmlc.duckdns.org' --debug --home /root/.acme.sh --dnssleep 120 --days 90 --ecc --server https://acme-v02.api.letsencrypt.org/directory
|
|
cp -R /root/.acme.sh/\*.jmlc.duckdns.org_ecc/ /root/.acme.sh/wild-jmlc
|
|
mv /root/.acme.sh/wild-jmlc/\*.jmlc.duckdns.org.cer /root/.acme.sh/wild-jmlc/jmlc.duckdns.org.cer
|
|
mv /root/.acme.sh/wild-jmlc/\*.jmlc.duckdns.org.conf /root/.acme.sh/wild-jmlc/jmlc.duckdns.org.conf
|
|
mv /root/.acme.sh/wild-jmlc/\*.jmlc.duckdns.org.csr /root/.acme.sh/wild-jmlc/jmlc.duckdns.org.csr
|
|
mv /root/.acme.sh/wild-jmlc/\*.jmlc.duckdns.org.csr.conf /root/.acme.sh/wild-jmlc/jmlc.duckdns.org.csr.conf
|
|
mv /root/.acme.sh/wild-jmlc/\*.jmlc.duckdns.org.key /root/.acme.sh/wild-jmlc/jmlc.duckdns.org.key
|
|
nginx -t
|
|
nginx -t
|
|
nginx -s reload
|
|
nginx -t
|
|
nginx -t
|
|
nginx -s reload
|
|
nginx -s reload
|
|
links http://192.168.11.2:9090
|
|
links https://192.168.11.2:9090
|
|
nginx -s reload
|
|
nano /etc/cockpit/ws-certs.d/0-self-signed.cert
|
|
man cockpit.conf
|
|
nano /etc/cockpit/cockpit.conf
|
|
systemctl status cockpit.socket
|
|
systemctl status cockpit
|
|
systemctl stop cockpit
|
|
systemctl stop cockpit.socket
|
|
systemctl stop cockpit
|
|
systemctl start cockpit
|
|
systemctl start cockpit.socket
|
|
nginx -s reload
|
|
rm /etc/cockpit/cockpit.conf
|
|
systemctl stop cockpit
|
|
systemctl stop cockpit.socket
|
|
systemctl stop cockpit
|
|
systemctl start cockpit.socket
|
|
systemctl start cockpit
|
|
nginx -s reload
|
|
journalctl -u cockpit
|
|
cd /etc/cockpit/
|
|
ls
|
|
cd ws-certs.d/
|
|
ls
|
|
mv 0-self-signed.cert 0-self-signed.cert.old
|
|
mv 0-self-signed.key 0-self-signed.key.old
|
|
cp /root/.acme.sh/wild-phares/phares.duckdns.org.cer 0-self-signed.cert
|
|
cp /root/.acme.sh/wild-phares/phares.duckdns.org.key 0-self-signed.key
|
|
systemctl restart cockpit
|
|
systemctl status cockpit
|
|
systemctl status cockpit
|
|
systemctl status cockpit
|
|
systemctl status cockpit
|
|
systemctl status cockpit
|
|
systemctl restart cockpit
|
|
nano /etc/cockpit/cockpit.conf
|
|
systemctl restart cockpit
|
|
systemctl status cockpit
|
|
systemctl status cockpit
|
|
systemctl status cockpit
|
|
systemctl status cockpit
|
|
systemctl restart cockpit
|
|
systemctl status cockpit
|
|
nginx -s reload
|
|
systemctl restart cockpit
|
|
systemctl status cockpit
|
|
nginx -s reload
|
|
nginx -s reload
|
|
rm -R /mnt/free-file-sync/notes/FS-ADO/
|
|
exit
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
exit
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
nignx -t
|
|
nginx -t
|
|
nginx -s reload
|
|
reboot
|
|
lsof -i -P -n | grep LISTEN
|
|
links http://192.168.11.2:5007/
|
|
links http://127.0.0.1:5007/
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
chmod -R 0774 /root/.acme.sh/wild-phares
|
|
sudo -iu podman
|
|
ls -la /root/.acme.sh/wild-phares
|
|
chmod -R 0775 /root/.acme.sh/wild-phares
|
|
ls -la /root/.acme.sh/wild-phares
|
|
sudo -iu podman
|
|
chmod -R 0777 /root/.acme.sh/wild-phares
|
|
sudo -iu podman
|
|
chmod -R 0774 /root/.acme.sh/wild-phares
|
|
ls -la /root/.acme.sh/wild-phares
|
|
chmod -R 0774 /root/.acme.sh
|
|
ls -la /root/.acme.sh
|
|
sudo -iu podman
|
|
ln -s /root/.acme.sh/wild-phares /home/podman/wild-phares
|
|
sudo -iu podman
|
|
cp -R /root/.acme.sh/wild-phares /home/podman/wild-phares
|
|
cp -R /root/.acme.sh/wild-phares/ /home/podman
|
|
rm /home/podman/wild-phares
|
|
cp -R /root/.acme.sh/wild-phares/ /home/podman
|
|
chown podman:podman /home/podman
|
|
ls /home/podman/wild-phares/
|
|
ls -la /home/podman/wild-phares
|
|
sudo -iu podman
|
|
chown -R podman:podman /home/podman
|
|
ls -la /home/podman/wild-phares
|
|
sudo -iu podman
|
|
cd /home/podman/
|
|
ls
|
|
cd quadlet/
|
|
ls -la
|
|
cd default.target.wants/
|
|
ls -la
|
|
cd ..
|
|
cd ..
|
|
cd lib
|
|
cd libpod/
|
|
ls -la
|
|
sudo -iu podman
|
|
chown -R 1000:1000 /home/podman/.local/share/containers/storage/volumes/systemd-gitea-server-data/_data
|
|
sudo -iu podman
|
|
chown -R podman:podman /home/podman/.local/share/containers/storage/volumes/systemd-gitea-server-data/_data
|
|
cd /
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
reboot
|
|
sudo -iu podman
|
|
exit
|
|
/usr/libexec/podman/quadlet --user /home/podman/libexec-podman-quadlet-output
|
|
/usr/libexec/podman/quadlet -dryrun --user
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
exit
|
|
ls -ls \mnt\free-file-sync\proxmox
|
|
ls -ls /mnt/free-file-sync/proxmox
|
|
cd /home/podman
|
|
ls -la
|
|
setfacl --restore=/mnt/free-file-sync/proxmox/podman-permissions-after.acl
|
|
apt-get install acl -y
|
|
setfacl --restore=/mnt/free-file-sync/proxmox/podman-permissions-after.acl
|
|
ls -la
|
|
setfacl --restore=/mnt/free-file-sync/proxmox/podman-permissions-after.acl
|
|
setfacl --restore=/mnt/free-file-sync/proxmox/podman-permissions.acl
|
|
cd /
|
|
setfacl --restore=/mnt/free-file-sync/proxmox/podman-permissions.acl
|
|
ls /home/podman/.config/cni/net.d
|
|
setfacl --restore=/mnt/free-file-sync/proxmox/one.acl
|
|
cd /home/phares/
|
|
setfacl --restore=/mnt/free-file-sync/proxmox/one.acl
|
|
setfacl --restore=/mnt/free-file-sync/proxmox/podman-permissions.acl
|
|
setfacl --restore=/mnt/free-file-sync/proxmox/podman-permissions.acl
|
|
getfacl /home/podman > permissions.acl
|
|
ls
|
|
cat permissions.acl
|
|
rm permissions.acl
|
|
getfacl -R /home/podman > podman-permissions-bad.acl
|
|
mv podman-permissions-bad.acl /mnt/free-file-sync/proxmox/
|
|
setfacl --restore=/mnt/free-file-sync/proxmox/podman-permissions-after.acl
|
|
cd ../podman
|
|
setfacl --restore=/mnt/free-file-sync/proxmox/podman-permissions-after.acl
|
|
cd /
|
|
setfacl --restore=/mnt/free-file-sync/proxmox/podman-permissions-after.acl
|
|
nano /etc/passwd
|
|
nano /etc/passwd
|
|
nano /etc/group
|
|
nano /etc/shadow
|
|
find / -uid 1000 -exec chown -h 2000 {} +
|
|
find / -gid 1000 -exec chgrp -h 2000 {} +
|
|
find / -xdev -uid 1002 -exec chown -h 1000 {} +
|
|
find / -xdev -gid 1002 -exec chgrp -h 1000 {} +
|
|
reboot
|
|
reboot
|
|
nano /etc/passwd
|
|
nano /etc/group
|
|
find / -xdev -uid 1001 -exec chown -h 1005 {} +
|
|
find / -xdev -gid 1001 -exec chgrp -h 1005 {} +
|
|
find / -xdev -uid 2000 -exec chown -h 1001 {} +
|
|
find / -xdev -gid 2000 -exec chgrp -h 1001 {} +
|
|
nano /etc/passwd
|
|
nano /etc/group
|
|
find / -xdev -uid 1005 -exec chown -h 1002 {} +
|
|
find / -xdev -gid 1005 -exec chgrp -h 1002 {} +
|
|
reboot
|
|
cd /
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
ls /run/user/
|
|
ls /run/user/1001/systemd/
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
/usr/libexec/podman/quadlet -dryrun --user
|
|
/usr/libexec/podman/quadlet --user /home/podman/libexec-podman-quadlet-output
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
cp /home/podman/config.json /home/podman/.local/share/containers/storage/volumes/systemd-mattermost-server-config/_data
|
|
sudo -iu podman
|
|
chown -R 233071:233071 /home/podman/.local/share/containers/storage/volumes/systemd-mattermost-server-plugins/_data/
|
|
sudo -iu podman
|
|
sudo -iu podman
|
|
chown -R 233071:233071 /home/podman/.local/share/containers/storage/volumes/systemd-mattermost-server-client-plugins/_data/
|
|
sudo -iu podman
|
|
chown -R 233071:233071 /home/podman/.local/share/containers/storage/volumes/systemd-mattermost-server-bleve/_data/
|
|
chown -R 233071:233071 /home/podman/.local/share/containers/storage/volumes/systemd-mattermost-server-config/_data/
|
|
chown -R 233071:233071 /home/podman/.local/share/containers/storage/volumes/systemd-mattermost-server-data/
|
|
chown -R 233071:233071 /home/podman/.local/share/containers/storage/volumes/systemd-mattermost-db-data/_data/
|
|
sudo -iu podman
|
|
chown -R podman:podman /home/podman/.local/share/containers/storage/volumes/systemd-mattermost-db-data/_data/
|
|
sudo -iu podman
|
|
chown -R podman:podman /home/podman/.local/share/containers/storage/volumes/systemd-mattermost-server-data/
|
|
sudo -iu podman
|
|
exit
|