a bunch of new and modified pages/files

This commit is contained in:
2017-06-28 16:11:23 -07:00
parent a533ac755b
commit 6d566310a5
35 changed files with 709 additions and 35 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

View File

@ -1,3 +1,3 @@
# Quick Dirty Reddis Nspawn Container on Arch Linux
# Quick Dirty Postgresql Nspawn Container on Arch Linux
Refer to the [Nspawn](nspawn.md) page for setting up the nspawn container.

16
docs/arch_redis_nspawn.md Normal file
View File

@ -0,0 +1,16 @@
# Quick Dirty Redis Nspawn Container on Arch Linux
Refer to the [Nspawn](nspawn.md) page for setting up the nspawn container.
Once you have the container running, it seems all you have to do to get
things working in a container subnet is to change the bind address.
```text
# /etc/redis.conf
# bind 127.0.0.1
bind 0.0.0.0
```
you can nmap port 6379, be sure to restart redis
[Again I would refer you to the Arch Wiki](https://wiki.archlinux.org/index.php/Redis)

View File

@ -1,6 +1,11 @@
# Welcome to Trent Docs
## [Git Repo For These Docs](https://github.com/TrentSPalmer/trentdocs_website)
Obviously, the commit history will reflect the time when these documents are written.
* [Nspawn Containers](nspawn.md)
* [Quick Dirty Reddis Nspawn Container on Arch Linux](arch_reddis_nspawn.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)
* [Serve And Share Apps From Your Phone With Fdroid](server_and_share_apps_from_your_phone_with_fdroid.md)
<!---
* [Template](Template.md)

View File

@ -1,6 +1,6 @@
# Nspawn Containers
[Arch Linux Wiki for Nspawn Containers](https://wiki.archlinux.org/index.php/Systemd-nspawn)
[This Link For Arch Linux Wiki for Nspawn Containers](https://wiki.archlinux.org/index.php/Systemd-nspawn)
### Create a FileSystem
@ -12,6 +12,13 @@ mkdir <container>
pacstrap -i -c -d <container> base --ignore linux
```
At this point you might want to copy over some configs to save time later.
* /etc/locale.conf
* /root/.bashrc
* /etc/locale.gen
### First boot and create root password
```bash
@ -102,6 +109,15 @@ bash
timedatectl set-timezone <timezone>
# enable ntp, networktime
timedatectl set-ntp 1
# enable networking from inside the container
systemctl enable systemd-networkd
systemctl start systemd-networkd
systemctl enable systemd-resolved
systemctl start systemd-resolved
rm /etc/resolv.conf
ln -s /run/systemd/resolve/resolv.conf /etc/
# ping google
ping -c 3 google.com
```
[If you want to change the locale](https://wiki.archlinux.org/index.php/locale)

View File

@ -0,0 +1,42 @@
# Serve And Share Apps From Your Phone With Fdroid
## Find The Menu Item for *Swap apps*
### Step 3 you are born on third base
#### Open fdroid, and navigate to the menu by touching three dots in upper right hand corner of the screen. Select *Swap apps*.
![alt text](Screenshot_20170628-115844.png)
### Step 4
#### On the next screen toggle on *Visible via Wi-Fi*
![alt text](Screenshot_20170628-131016.png)
### Step 5
#### At the bottom of the screen select *SCAN QR CODE*
![alt text](Screenshot_20170628-131806.png)
### Step 6
#### At the next screen *Choose Apps* you want to xerve I mean serve and then touch the -> right arrow to proceed
![alt text](Screenshot_20170628-132029.png)
### Step 7
#### Touch the -> right arrow again, do it.
![alt text](Screenshot_20170628-133544.png)
### Ocho
#### Touch the -> right arrow until you are coming here
![alt text](Screenshot_20170628-134328.png)
Notice you can use either a qr code or a local url, so grab one of your other phones.
[Privacy Friendly Qr Scanner](https://github.com/SecUSo/privacy-friendly-qr-scanner) appears to be a good Qr scanner,
but of course you can key in the url by hand too.
### Step Nine
#### On your other phone open fdroid, navigate to menu by selecting the 3 dots in the upper right hand corner and choose *Repositories*
![alt text](Screenshot_20170628-142255.png)
### Step Ten
#### Toggle all the current repos off and then if you want to key in the new local repo url by hand touch the + plus in the upper right hand corner
![alt text](Screenshot_20170628-143639.png)
### Step Eleven A
#### After touching the + plus button in [Step Ten](#step-ten) on phone two, you can fill in the url address that corresponds to the photo in [Ocho](#ocho)
![alt text](Screenshot_20170628-152552.png)
### Step Twelve A
If you prefer not to key in the url by hand, on phone two touch the
home button and then open your qr-scanning application and scan the
qr code on phone one, as seen in photo [Ocho](#ocho). The qr-scanning
app will direct you to open fdroid, and your result will be the same as
the photo in [Step Eleven A](#step-eleven-a)
### Step Thirteen
#### On phone two you can now download and install apps and updates from phone one, and the download speed will be much faster than from the internet.
![alt text](Screenshot_20170628-153026.png)