You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

289 lines
4.7 KiB

3 years ago
---
3 years ago
Alias: ["Nextcloud server", "Cloud Server"]
2 years ago
Tag: ["💻", "🌐", "🖥️", "🕵🏼", "🛡️", "☁️"]
3 years ago
Date: 2021-09-03
DocType: "Server"
Hierarchy: "NonRoot"
location: [48.8570517, 2.3677354]
Performance:
CPU: 1Core
RAM: 512MB
Bandwidth: 500GB
Speed: 1Gbps
Characteristics:
OS: Ubuntu 20.04
Domiciliation: BG
IPv4: 82.118.235.70
Hostname: sofstorage14
Host: AlphaVPS
SubDomain: cloud
Disk:
Capa: 128GB
Type: HDD
3 years ago
UsedSpace: 25%
3 years ago
TimeStamp: 2021-11-13
CollapseMetaTable: true
3 years ago
---
Parent:: [[mfxm Website Scope|mfxm.fr]], [[Storage and Syncing]]
---
^Top
 
```button
name Edit Server parameters
type command
action MetaEdit: Run MetaEdit
id EditMetaData
```
^button-CloudServerEdit
```button
name Save
type command
action Save current file
id Save
```
^button-CloudServerSave
 
# Cloud Server
 
```ad-abstract
title: Summary
collapse: open
Server for Cloud storage and device syncing.
```
 
```toc
style: number
```
 
---
 
### Server parameters
[[#^Top|TOP]]
 
```ad-quote
title: Dashboard access
[https://alphavps.com/clients/](https://alphavps.com/clients/)
```
 
```ad-quote
title: Address
2 years ago
The service is located under **[cloud.mfxm.fr](https://cloud.mfxm.fr)** .
3 years ago
```
 
---
 
### Service
[[#^Top|TOP]]
 
2 years ago
> [!abstract] Jellyfin
[[Jellyfin]] is a media management service offering a variety of Apps to manage media (video, music, photos) online.
3 years ago
 
#### Installation guide
```ad-info
title: Installation
[Tutorial](https://www.techrepublic.com/article/how-to-install-nextcloud-22-on-ubuntu-server-20-04/)
[Tutorial2](https://nextcloud.com/athome/)
[Tutorial3](https://blog.ssdnodes.com/blog/installing-nextcloud-docker/)
3 years ago
```
 
#### Installed dependencies
[[#^Top|TOP]]
 
2 years ago
##### Docker
3 years ago
2 years ago
Currently running Docker containers
3 years ago
2 years ago
```ad-bug
2 years ago
title: docker containers
| **Name** | **ID** | **IP** | **Port**
|------|:---:|:--:|:---:
Jellyfin | e595821d7999 | 127.0.0.1 | 8096
3 years ago
```
 
2 years ago
##### Caddy
3 years ago
[[#^Top|TOP]]
2 years ago
[[Configuring Caddy|caddy]] is the webserver of choice. Refer to the dedicated note for config and parametrisation.
3 years ago
 
3 years ago
##### fail2ban
[[#^Top|TOP]]
Classic [[Configuring Fail2ban|fail2ban]] installation with a dedicated configuration:
```ad-code
2 years ago
~~~bash
3 years ago
[sshd]
enabled = true
2 years ago
port=7237
3 years ago
maxretry = 10
bantime = 1m
~~~
```
2 years ago
under the dedicated jail conf file:
3 years ago
```ad-command
~~~bash
2 years ago
sudo nano /etc/fail2ban/jail.d/sshd.local
3 years ago
~~~
```
2 years ago
 
3 years ago
2 years ago
Please refer to the [[Configuring Fail2ban|conf guide]] for a detailed description.
3 years ago
 
2 years ago
##### Postfix
3 years ago
2 years ago
Mail Transfer Agent. Configuration is standard to allow for emails to be sent by programs / deamons / [[Nextcloud]] or others. Such a [[Configuring Postfix|system]] is required for every server to work correctly.
3 years ago
3 years ago
&emsp
3 years ago
##### UFW
Firewall management, see [[Configuring UFW|here]] for more details.
 
---
 
#### Server-side monitoring
[[#^Top|TOP]]
[Monit](https://mmonit.com/monit/documentation/monit.html) is a process and daemon monitoring tool. More information on operating the software can be found [[Configuring Monit|here]].
List of monitored services:
- System
- SSH
- [[Configuring Fail2ban|Fail2ban]]
3 years ago
- cron
- Postfix
 
[[Configuring Telegram bots|Telegram bots]] are also being implemented to receive logs from logwatch & [[Configuring Monit|monit]].
 
3 years ago
---
 
#### Service management
[[#^Top|TOP]]
2 years ago
Service management is simple and happens theough the dashboard accessible with the `admin` user.
3 years ago
 
---
 
#### Data transfer
[[#^Top|TOP]]
 
##### Cloud2Cloud
[[#^Top|TOP]]
```ad-bug
title: Data transfer tool
[rclone](https://autoize.com/moving-data-from-cloud-to-cloud-with-rclone/)
```
2 years ago
rClone uses a simple config interface to configure remote hosts:
3 years ago
```ad-command
~~~bash
rclone config
~~~
```
The config data can be password-protected for security.
1. **Copy data**
```ad-command
~~~bash
rclone copy source:'datapath' dest:'datapath'
~~~
```
2. **Sync data**
```ad-command
~~~bash
rclone sync source:'datapath' dest:'datapath'
~~~
```
 
---
 
### Pricing
[[#^Top|TOP]]
 
<mark class="green">Cloud Server</mark> | One-off cost | Recurring subscription p.a.
--------|---------------|:----------------------:
<p style="color:cyan">**Server hosting**</p> | &emsp; | *€15*
^CloudServerCost
&emsp;
---
&emsp;
### Tasks & Further steps
&emsp;
2 years ago
- [ ] :cloud: [[Server Cloud]]: Backup server %%done_del%% 🔁 every 6 months on the 1st Tuesday 📅 2023-03-07
- [x] :cloud: [[Server Cloud]]: Backup server %%done_del%% 🔁 every 6 months on the 1st Tuesday 📅 2022-09-06 ✅ 2022-09-06
2 years ago
- [ ] :cloud: [[Selfhosting]], [[Server Cloud|Cloud]]: Upgrader & Health checks %%done_del%% 🔁 every 4 months 📅 2023-01-01
3 years ago
3 years ago
[[#^Top|TOP]]
&emsp;
&emsp;