New notes
This commit is contained in:
40
Linode S3 Object Storage.md
Normal file
40
Linode S3 Object Storage.md
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
# Linode S3 Object Storage
|
||||||
|
|
||||||
|
_Linode’s Object Storage is a globally-available, S3-compatible method for storing and accessing data. Object Storage differs from traditional hierarchical data storage, such as a traditional file system on a physical/virtual disk and Block Storage Volumes. Under Object Storage, files (also called objects) are stored in flat data structures (referred to as buckets) alongside their own rich metadata. - [https://www.linode.com/docs/products/storage/object-storage](https://www.linode.com/docs/products/storage/object-storage)_
|
||||||
|
|
||||||
|
Example Bucket Name: planethawleywood
|
||||||
|
|
||||||
|
|
||||||
|
# Install and Configure s3fs
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
sudo apt install s3fs
|
||||||
|
sudo echo "ACCESSCODE:SECRETKEY" > /etc/passwd-s3fs
|
||||||
|
sudo chmod 600 /etc/passwd-s3fs
|
||||||
|
mkdir /mnt/data/planethawleywood-os
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Mount Linode S3
|
||||||
|
|
||||||
|
|
||||||
|
## Mount from command line
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
s3fs planethawleywood /mnt/data/planethawleywood-os -o passwd_file=$HOME/.s3fs-creds -o url=https://us-east-1.linodeobjects.com -o use_path_request_style
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Mount from /etc/fstab
|
||||||
|
|
||||||
|
Add this line:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
planethawleywood /mnt/data/planethawleywood-os fuse.s3fs _netdev,allow_other,use_path_request_style,use_cache=/tmp,url=https://us-east-1.linodeobjects.com 0 0
|
||||||
|
```
|
||||||
|
|
||||||
18
Pandoc Conversions.md
Normal file
18
Pandoc Conversions.md
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# Pandoc Conversions
|
||||||
|
|
||||||
|
## Markdown to Confluence
|
||||||
|
|
||||||
|
```
|
||||||
|
pandoc -f gfm -w jira -o outfile.jira infile.md
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## Markdown to TiddlyWiki
|
||||||
|
|
||||||
|
You need the lua script found in this [GitHub Repo - markdown to tiddlywiki](https://github.com/jeffrey4l/pandoc-addons).
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
pandoc -t md2tid.lua input.md -o output.tid
|
||||||
|
```
|
||||||
|
|
||||||
Reference in New Issue
Block a user