Skip to content

Instantly share code, notes, and snippets.

View taoteh1221's full-sized avatar

taoteh1221 taoteh1221

View GitHub Profile
@taoteh1221
taoteh1221 / PI4-HOME-SERVER-SETUP.txt
Created February 24, 2023 15:30
Setup an in-house / home server on a pi4, with open source / free control panels.
A Raspberry Pi v4 is a GREAT computer for setting up an in-house server on your internal network (home / business internet, etc). Your going to want a case that can hold a fast M2 drive, and dissapates heat well, so the pi4 stays cool. The "Argon ONE M.2 Aluminum Case for Raspberry Pi 4" has your back, keeping your pi4 at 55c or lower, UNDER FULL LOAD:
https://www.amazon.com/gp/product/B08MJ3CSW7
Now, time to setup Webmin and Virtualmin open source / FREE server control panel software. You need access to a command terminal on the pi4 (the terminal app in the desktop menu, or remotely over SSH).
@taoteh1221
taoteh1221 / PineH64B.setup.txt
Last active April 15, 2022 15:45
Setup from scratch for a pine64 H64B SOC Device: https://wiki.pine64.org/wiki/PINE_H64
Setup from scratch for a pine64 H64B SOC Device: https://wiki.pine64.org/wiki/PINE_H64
=============================================================
Armbian (disk image) install:
=============================================================
https://armbian.tnahosting.net/archive/pineh64-b/archive/
=============================================================
@mattmezza
mattmezza / vhost.sh
Last active November 30, 2023 08:30
bash script to create virtual host vhost with apache httpd and CentOs 7
#!/bin/bash
# This script is used for create virtual hosts on CentOs.
# Created by alexnogard from http://alexnogard.com
# Improved by mattmezza from http://you.canmakethat.com
# Feel free to modify it
# PARAMETERS
#
# $usr - User
# $dir - directory of web files
# $servn - webserver address without www.