Selinux additions, ssh key gen

This commit is contained in:
mic0 2025-11-19 16:09:38 +01:00
parent 68a0901489
commit 87a55044e0
No known key found for this signature in database
GPG Key ID: BE627E39EE3FE70C
2 changed files with 17 additions and 0 deletions

View File

@ -3,6 +3,14 @@
AlmaLinux is a continuation of open source work for enterprise grade Red Hat Enterprise Linux (RHEL).
Its a spiritual successor to CentOS and bug-for-bug compatible with RHEL same as Rocky Linux but without the toxic community.
## Enabling SELinux
If its disabled on boot, enable it back with
```sh
sudo grubby --update-kernel ALL --remove-args selinux
```
### What about Debian / Ubuntu ?
Tbh, at the time of setting up new servers the `Debian` install was not working on my host, thats why i picked `AlmaLinux` for all installations to keep them uniform.

View File

@ -1,5 +1,14 @@
# Installing applications and their dependencies
## Create your SSH keys for Github
Generate ssh-key for private Git porjects
then copy it to Github project under Settings -> Deploy keys
```sh
ssh-keygen -t ed25519
cat /home/admin/.ssh/id_ed25519.pub # (or whatever u named it, if u only need it for 1 project, keep it default)
```
## Put your apps in `/usr/local/bin/`
Do not just install stuff in `/home/` dirs.