clean up duff entries
This commit is contained in:
parent
4cb4fca66a
commit
19a07e7518
@ -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.
|
||||
|
@ -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
|
@ -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
|
||||
|
@ -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 ]
|
||||
|
@ -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`:
|
||||
|
||||
```
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -1,5 +0,0 @@
|
||||
---
|
||||
title: "wine"
|
||||
tags: [ "Documentation", "System" ]
|
||||
---
|
||||
maybe run \n> sudo dpkg --add-architecture i386
|
Loading…
Reference in New Issue
Block a user