technical
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
technical [2019/04/16 12:26] – [* OCLUG live distro] jcnash | technical [2024/03/31 15:34] (current) – ↷ Links adapted because of a move operation scott5 | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Technical Projects and Notes ===== | ===== Technical Projects and Notes ===== | ||
- | ==== * Assorted notes ==== | + | ==== 20190416 |
+ | |||
+ | **bind mount** to get web server link to files outside // | ||
+ | |||
+ | Wanting to give access at home to some files of use for | ||
+ | home activities, I set up a web server (I tried both nginx | ||
+ | and apache2). However, a symlink to the files of interest | ||
+ | pointed outside the current device. I was able to point to | ||
+ | files in my home directory from a symlink in / | ||
+ | without difficulty. (/home is on same device as /var/www) | ||
+ | |||
+ | I tried a number of configuration settings in the .conf files, | ||
+ | including " | ||
+ | success. | ||
+ | |||
+ | At the April 4 linux-ottawa meeting, Alex Pilon suggested a | ||
+ | bind mount, and this works. | ||
+ | |||
+ | My example: | ||
+ | |||
+ | Directory / | ||
+ | There is a directory tto18 with 755 permissions and root ownership. | ||
+ | |||
+ | The command | ||
+ | |||
+ | sudo mount -o bind / | ||
+ | |||
+ | allows local users (on local router, and therefore hopefully | ||
+ | inside the firewall) to access my machine as " | ||
+ | and see this directory, which points to a disk that is attached. | ||
+ | |||
+ | To get this set up when my machine boots, I tried adding | ||
+ | the command "/ | ||
+ | Control Centre. " | ||
+ | |||
+ | # | ||
+ | # bmreb -- bind mount rebecca | ||
+ | mount -o bind / | ||
+ | |||
+ | It is owned by root and has 755 permissions. Rebooting, I found | ||
+ | that the bind mount was not active. In Linux Mint 19.1, it is now | ||
+ | necessary to use systemd to start such items as indicated in | ||
+ | https:// | ||
+ | which gives a tutorial. I followed this and have a working | ||
+ | startup. | ||
==== * OCLUG live distro ==== | ==== * OCLUG live distro ==== | ||
* [[livedistro: | * [[livedistro: | ||
- | * [[livedistro: | + | * [[livedistro: |
* [[livedistro: | * [[livedistro: | ||
* [[livedistro: | * [[livedistro: | ||
- | ==== | + | ==== * viewing Comment information in a JPG file browser ==== |
* This investigation was prompted by a need to quickly check the captions saved in JPG files. After some exchange on the linux _at_ oclug.on.ca list, I recorded what I found, including a nice simple tool built on the **feh** package. See {{ : | * This investigation was prompted by a need to quickly check the captions saved in JPG files. After some exchange on the linux _at_ oclug.on.ca list, I recorded what I found, including a nice simple tool built on the **feh** package. See {{ : | ||
- | ==== | + | ==== * removing restrictions on pdf files ==== |
- | * TD seems in 2017 to have started to put restrictions on pdf statement files. It is useful to be able to delete boilerplate and add in payment records using **pdfshuffler**. Here is a recipe. {{ : | + | * TD Canada Trust seems in 2017 to have started to put restrictions on pdf statement files. It is useful to be able to delete boilerplate and add in payment records using **pdfshuffler**. Here is a recipe. {{ : |
technical.1555431978.txt.gz · Last modified: 2019/04/16 12:26 by jcnash