a bunch of new and modified pages/files
							
								
								
									
										
											BIN
										
									
								
								docs/Screenshot_20170628-115844.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 101 KiB | 
							
								
								
									
										
											BIN
										
									
								
								docs/Screenshot_20170628-131016.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 46 KiB | 
							
								
								
									
										
											BIN
										
									
								
								docs/Screenshot_20170628-131806.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 28 KiB | 
							
								
								
									
										
											BIN
										
									
								
								docs/Screenshot_20170628-132029.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 95 KiB | 
							
								
								
									
										
											BIN
										
									
								
								docs/Screenshot_20170628-133544.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 72 KiB | 
							
								
								
									
										
											BIN
										
									
								
								docs/Screenshot_20170628-134328.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 64 KiB | 
							
								
								
									
										
											BIN
										
									
								
								docs/Screenshot_20170628-142255.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 37 KiB | 
							
								
								
									
										
											BIN
										
									
								
								docs/Screenshot_20170628-143639.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 33 KiB | 
							
								
								
									
										
											BIN
										
									
								
								docs/Screenshot_20170628-152552.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 67 KiB | 
							
								
								
									
										
											BIN
										
									
								
								docs/Screenshot_20170628-153026.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 92 KiB | 
| @@ -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
									
								
							
							
						
						| @@ -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) | ||||
| @@ -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) | ||||
|   | ||||
| @@ -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) | ||||
|   | ||||
							
								
								
									
										42
									
								
								docs/server_and_share_apps_from_your_phone_with_fdroid.md
									
									
									
									
									
										Normal 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*. | ||||
|  | ||||
| ### Step 4 | ||||
| #### On the next screen toggle on *Visible via Wi-Fi* | ||||
|  | ||||
| ### Step 5 | ||||
| #### At the bottom of the screen select *SCAN QR CODE* | ||||
|  | ||||
| ### Step 6 | ||||
| #### At the next screen *Choose Apps* you want to xerve I mean serve and then touch the -> right arrow to proceed | ||||
|  | ||||
| ### Step 7 | ||||
| #### Touch the -> right arrow again, do it. | ||||
|  | ||||
| ### Ocho | ||||
| #### Touch the -> right arrow until you are coming here | ||||
|  | ||||
| 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* | ||||
|  | ||||
| ### 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 | ||||
|  | ||||
| ### 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) | ||||
|  | ||||
| ### 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. | ||||
|  | ||||