start:software:calibre
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
start:software:calibre [2024/09/21 14:10] – marlonivo | start:software:calibre [2024/12/14 16:33] (current) – [Creating the Server with Nginx] marlonivo | ||
---|---|---|---|
Line 17: | Line 17: | ||
</ | </ | ||
- | Upload your local library (using rsync) to / | + | Upload your local library (using rsync) to '' |
< | < | ||
- | rsync -avuP --delete-after ~/library | + | rsync -avuP --delete-after ~/local_library/ |
</ | </ | ||
Line 31: | Line 31: | ||
==== Creating a service ===== | ==== Creating a service ===== | ||
- | Create a new file / | + | Create a new file '' |
< | < | ||
Line 42: | Line 42: | ||
User=root | User=root | ||
Group=root | Group=root | ||
- | ExecStart=/ | + | ExecStart=/ |
[Install] | [Install] | ||
Line 61: | Line 61: | ||
==== Creating the Server with Nginx ==== | ==== Creating the Server with Nginx ==== | ||
- | Create a new file / | + | Create a new file / |
< | < | ||
Line 67: | Line 67: | ||
listen 80; | listen 80; | ||
client_max_body_size 64M; # to upload large books | client_max_body_size 64M; # to upload large books | ||
- | server_name | + | server_name library.example.org ; |
location / { | location / { | ||
Line 77: | Line 77: | ||
Then symlink to sites-enabled: | Then symlink to sites-enabled: | ||
< | < | ||
- | ln -s / | + | ln -s / |
</ | </ | ||
Line 93: | Line 93: | ||
------ | ------ | ||
- | Now just go to <color #ff7f27>library</ | + | Now just go to library.example.org, |
+ | |||
+ | ENJOY! | ||
+ | |||
+ | ==== You might wanna See ==== | ||
+ | |||
+ | [[start: | ||
start/software/calibre.1726927834.txt.gz · Last modified: 2024/09/21 14:10 by marlonivo