clean up duff entries

This commit is contained in:
Malin Freeborn 2022-01-28 18:08:30 +01:00
parent 4cb4fca66a
commit 19a07e7518
Signed by: andonome
GPG Key ID: 52295D2377F4D70F
14 changed files with 7 additions and 91 deletions

View File

@ -1,15 +0,0 @@
---
title: "basics"
tags: [ "Documentation", "Distros" ]
---
> cd /etc/yum.repos.d/
> vim public.yum*
These are branches of the same Oracle server.
The first - 'latest' - is enabled by default.
You can change 'enabled' from 0 to 1 for various repositories.

View File

@ -1,12 +0,0 @@
---
title: "http_server"
tags: [ "Documentation", "distros" ]
---
Nothing interesting.
1. Install
2. Set a dns resolver in /etc/resolv.conf (`nameserver 1.1.1.1` works)
3. Enable NetworkManager
3. zypper install http-something php5 apache2
4. vi /srv/www/htdocs/index.html
5. Enable apache2

View File

@ -1,20 +0,0 @@
---
title: "basics"
tags: [ "Documentation", "hardware" ]
---
# Motherboard Information
> sudo dmidecode
Motherboard info, upgrading BIOS, memory capacity, LAN connections.
# Disks
View currently inserted disks:
lsblk
# CPU
> cat /proc/cpuinfo

View File

@ -13,3 +13,9 @@ Upgrade all packages
> pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U
# Troubleshooting
You may need a python3 package.
In this case, try:
> pip3 install [ package ]

View File

@ -4,7 +4,7 @@ tags: [ "Documentation", "System" ]
---
The System's default text editor can be defined within /etc/profile. It's given the variable `EDITOR`.
Add these lines to /etc/profile:
Add these lines to `/etc/profile.d/local.sh`:
```

View File

@ -1,27 +0,0 @@
---
title: "users"
tags: [ "Documentation", "systemd" ]
---
# Automatic Login
> cp /usr/lib/systemd/system/getty@.service /etc/systemd/system/getty1@.service
Modify the lines to look like these:
`ExecStart=-/sbin/agetty --autologin <username> --noclear %I 38400 linux`
`Type=oneshot`
`Restart=no`
In the `[Install]` section:
`Alias=getty.target.wants/getty@tty1.service`
Then enable the service:
> ln -sf /etc/systemd/system/getty1@.service /etc/systemd/system/getty.target.wants/getty@tty9.service
> systemctl start getty@tty9.service

View File

@ -1,11 +0,0 @@
---
title: "upx"
tags: [ "Documentation", "System" ]
---
upx compresses binaries, so they take up less disk space, but take longer to start.
Make a binary, such as ls, compressed:
> upx ls

View File

@ -1,5 +0,0 @@
---
title: "wine"
tags: [ "Documentation", "System" ]
---
maybe run \n> sudo dpkg --add-architecture i386