Skip to content

Instantly share code, notes, and snippets.

View drkokandy's full-sized avatar
😉

Dave Kokandy drkokandy

😉
View GitHub Profile
anonymous
anonymous / create_lxc
Created June 5, 2015 04:45
Create LXC environment on (fresh) Ubuntu 15.04 server
AS ROOT:
adduser admin
usermod -aG sudo admin
modify /etc/ufw/sysctl.conf to allow host to forward
net/ipv4/ip_forward=1
net/ipv6/conf/default/forwarding=1
net/ipv6/conf/all/forwarding=1
anonymous
anonymous / -
Created January 9, 2015 04:33
Computer
Processor
---------
-Processors-
Intel(R) Core(TM) i3 CPU U 330 @ 1.20GHz : 666.00MHz
Intel(R) Core(TM) i3 CPU U 330 @ 1.20GHz : 933.00MHz
@bear
bear / withknown.conf
Last active December 21, 2017 02:01
nginx config for Known
server {
listen :80;
server_name example.net;
access_log /var/log/nginx/example-access.log;
error_log /var/log/nginx/example-error.log error;
root /srv/known;
location ~ /\.ht {
deny all;
@jacobblock
jacobblock / FreeNAS.md
Last active October 22, 2023 13:01
Ultimate FreeNAS Setup

FreeNAS

I started using FreeNAS in August 2013. It is fantastic piece of software and I have been really impressed by the upgrades just in the few months I've been using it. It looks like they recently went to a plugin system as of version 9 to make installing software easier for end users. I've ran into several issues related to plugins and user + group permissions so I decided to just use the available FreeBSD port system. After fiddling for a few days (now turned into months) I believe I have created something helpful for the community and anyone interested in picking up the port system. The sandbox nature of FreeNAS's jail system is especially helpful for playing around without having any consequence on your core system.

Here are straight-forward instructions to setting up a bunch of different software on FreeNAS. If you make a terrible error, just throw up another plugin sandbox and repeat.

ToC

@raelgc
raelgc / Email Server (Linux, Unix, Mac).md
Last active April 8, 2024 06:01
Setup a Local Only SMTP Email Server (Linux, Unix, Mac)

Setup a Local Only SMTP Email Server (Linux, Unix, Mac)

1 - Point localhost.com to your machine

Most of programs will not accept an email using just @localhost as domain. So, edit /etc/hosts file to make the domain localhost.com point to your machine, including this content to the file:

127.0.0.1 localhost.com

2 - Install Postfix