Buying 24/7 cpu power from clouds is expensive so i decided to buy server to my home and run ESXi on it. I ended up buying Dell PowerEdge T440 Tower Server with Xeon Silver 4210 (13.75M Cache, 2.2GHz).
Author: villekri
Simple WireGuard configuration
This is simple WireGuard server - client configuration to get started with WireGuard. I'm using separate conf file and privatekey because i'm configuring servers with Ansible scripts and dont want privatekey to be in my Ansible file.
Configure Elasticsearch, Logstash and Kibana to use X-Pack and SSL
X-Pack is included in free Basic version of Elasticsearch and you should use it. Here are my notes how i configured Elasticsearch, Logstash and Kibana to use X-Pack and SSL.
Send logs from Synology DSM to Logstash
It is easy to send and parse Synology DSM logs into Elasticsearch with Logstash.
Qubes 4 with Dell XPS 13 9380
I wanted to buy small portable laptop with 1080p screen. I was thinking between Dell XPS 13 9380 and Lenovo T490S.
I have always had Lenovo and wanted to try Dell.
Use Raspberry Pi with VNC
I use Rasperry Pi to display Kibana on one of my screens. It is easy to manage Raspberry Pi through VNC by just running one script.
Send audit logs to Logstash with Filebeat from Centos/RHEL
Install Filebeat Add repositories https://www.elastic.co/guide/en/beats/filebeat/current/setup-repositories.html Install sudo yum install filebeat sudo systemctl enable filebeat Configure Filebeat sudo cp -av /etc/filebeat/filebeat.yml /etc/filebeat/filebeat.yml.default sudo vim /etc/filebeat/filebeat.yml filebeat.inputs: filebeat.config.modules: path: ${path.config}/modules.d/*.yml reload.enabled: false output.logstash: hosts: ["LOGSTASHIP:5044"] processors: - add_host_metadata: ~ - add_cloud_metadata: ~ logging.to_syslog: false logging.to_files: true logging.files: path: "/var/log/filebeat" name: "filebeat.log" keepfiles: 7 sudo filebeat modules enable … Continue reading Send audit logs to Logstash with Filebeat from Centos/RHEL
Change number of replicas on Elasticsearch
For small projects or testing you might run Elasticsearch only with one node and don't need replicas.
Nextcloud files:scan with Docker
To add bulk of files into Nextcloud you need to first move files to Nextcloud volume and then tell Nextcloud to rescan all files.
Qubes 4 Fedora 29 minimal sys-net
https://www.qubes-os.org/doc/templates/fedora-minimal/ Download fedora 29 minimal Run in dom0 [user@dom0 ~]$ sudo qubes-dom0-update qubes-template-fedora-29-minimal Update fedora 29 minimal Run in dom0 [user@dom0 ~]$ qvm-run -u root fedora-29-minimal xterm bash-4.4# dnf upgrade -y bash-4.4# poweroff Clone fedora 29 minimal template Start Qube manager. Click top left Qubes icon - System tools - Qube manager. Right click fedora-29-minimal … Continue reading Qubes 4 Fedora 29 minimal sys-net