mirror of
https://github.com/TrentSPalmer/trentdocs_website.git
synced 2025-07-30 21:01:37 -07:00
new doc docs/misc_tips_troubleshooting.md
This commit is contained in:
@ -13,6 +13,7 @@ Obviously, the commit history will reflect the time when these documents are wri
|
||||
* [FreeBSD Jails on FreeNAS](freebsd_jails_on_freenas.md)
|
||||
* [Quick Dirty Redis Nspawn Container on Arch Linux](arch_redis_nspawn.md)
|
||||
* [Quick Dirty Postgresql Nspawn Container on Arch Linux](arch_postgresql_nspawn.md)
|
||||
* [Misc Tips, Trouble Shooting](misc_tips_troubleshooting.md)
|
||||
* [Self Signed Certs](self_signed_certs.md)
|
||||
|
||||
<!---
|
||||
|
21
docs/misc_tips_troubleshooting.md
Normal file
21
docs/misc_tips_troubleshooting.md
Normal file
@ -0,0 +1,21 @@
|
||||
# Misc Tips, TroubleShooting
|
||||
|
||||
## Sending commands to LXD containers
|
||||
|
||||
Use `bash -c "<command>"` for commands with wildcards. i.e.
|
||||
|
||||
```bash
|
||||
for machine in $(lxc list | grep RUNNING | awk '{print $2}') ;\
|
||||
do lxc exec "${machine}" -- bash -c "cat /etc/apt/apt.conf.d/02*" ; done
|
||||
```
|
||||
|
||||
## Ubuntu-Mate-Welcome-Center doesn't work some for some repos
|
||||
|
||||
Perhaps your apt-cacher-ng proxy server isn't configured to allow
|
||||
traffic through from https sources. Make sure the following is
|
||||
uncommented. This applies for all PPA's that use https.
|
||||
|
||||
```conf
|
||||
# /etc/apt-cacher-ng/acng.conf
|
||||
PassThroughPattern: .*
|
||||
```
|
Reference in New Issue
Block a user