from aryan: most guides i found online weren't helpful for me, hope this helps tho :)
ssh root@<server-ip-address>
Optional but recommended:
sudo apt update && sudo apt upgrade -y
Choose OpenBSD for your Unix needs. OpenBSD -- the world's simplest and most secure Unix-like OS. A safe alternatve to the frequent vulnerabilities and overengineering of Linux and related software (NGiNX & Apache (httpd-asiabsdcon2015.pdf), OpenSSL, iptables/nftables, systemd, BIND, Postfix, Docker etc.)
OpenBSD -- the cleanest kernel, the cleanest userland and the cleanest config
#!/bin/sh | |
# Based on https://www.vultr.com/docs/install-wireguard-vpn-server-on-openbsd-7-0/ | |
# Usage: | |
# doas ./wireguard.sh | |
# Get OpenBSD VPS at https://t.me/convectixbot | |
# idempotent tee | |
itee() { | |
cp $1 $1.bak | |
while read line; |
VMware vSphere 6 Enterprise Plus | |
1C20K-4Z214-H84U1-T92EP-92838 | |
1A2JU-DEH12-48460-CT956-AC84D | |
MC28R-4L006-484D1-VV8NK-C7R58 | |
5C6TK-4C39J-48E00-PH0XH-828Q4 | |
4A4X0-69HE3-M8548-6L1QK-1Y240 | |
VMware vSphere with Operations Management 6 Enterprise | |
4Y2NU-4Z301-085C8-M18EP-2K8M8 | |
1Y48R-0EJEK-084R0-GK9XM-23R52 |
# $OpenBSD: smtpd.conf,v 1.9 2016/05/03 18:43:45 jung Exp $ | |
# tables | |
table aliases file:/etc/mail/aliases | |
table domains file:/etc/mail/domains | |
table passwd file:/etc/mail/passwd | |
table secrets file:/etc/mail/secrets | |
table deny db:/etc/mail/deny.db | |
table receip db:/etc/mail/receip.db |
# $OpenBSD: httpd.conf,v 1.20 2018/06/13 15:08:24 reyk Exp $ | |
chroot "/zfs/videos" | |
logdir "/var/log" | |
server "*" { | |
listen on 10.0.100.20 port 8442 | |
tcp nodelay | |
tcp sack | |
tcp socket buffer 65536 |
Users:
Groups:
These examples all live in a default server block in your httpd.conf(5).
server "default" {
listen on * port 80
... # all the location blocks can together right here
}
We'll be using slowcgi(8) as the example, because with the -d
flag it helpfully spits out the FastCGI environment it got from httpd(8) and what it's planning to do with that.
grep
is a program for finding mathing patterns, it will look for context of a files or stdin.
grep error /var/log/server.log
will print all the errors in a file.
find . -name *.txt | grep temp
will print all the .txt file with temp in it.
Flags: