mirror of
https://gitlab.com/djdietrick/docs
synced 2026-05-03 00:20:54 -04:00
Added server docs, wrote nas guide
This commit is contained in:
@@ -12,6 +12,7 @@ export default {
|
||||
'/ts/': require('../ts/sidebar.json'),
|
||||
'/terraform/': require('../terraform/sidebar.json'),
|
||||
'/interview/': require('../interview/sidebar.json'),
|
||||
'/server/' : require('../server/sidebar.json'),
|
||||
'/': [
|
||||
{
|
||||
text: 'Home',
|
||||
@@ -20,7 +21,8 @@ export default {
|
||||
{text: 'Languages', link: '/languages'},
|
||||
{text: 'Frameworks', link: '/frameworks'},
|
||||
{text: 'Devops', link: '/devops'},
|
||||
{text: 'Interview Prep', link: '/interview/'}
|
||||
{text: 'Interview Prep', link: '/interview/'},
|
||||
{text: 'Server', link: '/server/'}
|
||||
]
|
||||
}
|
||||
],
|
||||
|
||||
1
docs/server/index.md
Normal file
1
docs/server/index.md
Normal file
@@ -0,0 +1 @@
|
||||
# Server Setup
|
||||
18
docs/server/nas.md
Normal file
18
docs/server/nas.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# NAS Setup
|
||||
|
||||
## Mounting to Linux
|
||||
|
||||
```bash
|
||||
sudo apt update
|
||||
sudo apt install nfs-common
|
||||
|
||||
sudo mount -t nfs <nas_ip>:/volumeX/<shared_folder> <mount_location>
|
||||
```
|
||||
|
||||
## Auto mount on startup
|
||||
|
||||
Edit `/etc/fstab` file and add a line like below
|
||||
|
||||
```bash
|
||||
<nas_ip>:/volumeX/<shared_folder> <mount_location> nfs user=<username>,password=<password>,uid=1000,gid=500
|
||||
```
|
||||
9
docs/server/sidebar.json
Normal file
9
docs/server/sidebar.json
Normal file
@@ -0,0 +1,9 @@
|
||||
[
|
||||
{
|
||||
"text": "Server Basics",
|
||||
"items": [
|
||||
{"text": "Introduction", "link": "/server/"},
|
||||
{"text": "NAS", "link": "/server/nas"}
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user