Main Page: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(40 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
A collection of randomness I've encountered and configured in Linux. | A collection of randomness I've encountered and configured in Linux. - [email protected] | ||
== System Setup == | == System Setup == | ||
*[[ServerSetupCentOS7]] - CentOS7 Server setup with NFS/rsyslog/chrony/hw_mon services + qemu+kvm libvirt + Foreman + Docker | Now done via [https://github.com/invadelabs/ansible-invadelabs invadelabs/ansible-invadelabs] | ||
*[[ | *[[ServerSetupCentOS7]] - CentOS7 Server setup with NFS/rsyslog/chrony/hw_mon services + qemu+kvm libvirt + Puppet + Foreman + Docker | ||
*[[ServerSetupFedora]] - Fedora Server Setup | |||
==Infrastructure Automation== | ==Infrastructure== | ||
===Chef=== | ===Infrastructure Automation=== | ||
====Chef==== | |||
*[[InstallingChefServer]] - Installing Chef Server | *[[InstallingChefServer]] - Installing Chef Server | ||
*[[KnifeBootstrapAWS]] - knife bootstrapping AWS instances | *[[KnifeBootstrapAWS]] - knife bootstrapping AWS instances | ||
*[[ChefEncryptedDataBags]] - Creating and using encrypted data bags | *[[ChefEncryptedDataBags]] - Creating and using encrypted data bags | ||
*[[FoodcriticRubocop]] - Linting recipes with Foodcritic and Rubocop | *[[FoodcriticRubocop]] - Linting recipes with Foodcritic and Rubocop | ||
*[[TestKitchenDocker]] - Test Kitchen with Docker provisioner for testing cookbooks | *[[TestKitchenDocker]] - Test Kitchen with Docker provisioner for testing cookbooks | ||
*[[ChefJenkinsGroovyShellOut]] - Shell out of recipe to use jenkins-cli to grab the encrypted or unencrytped value of a secret using Jenkins Groovy | *[[ChefJenkinsGroovyShellOut]] - Shell out of recipe to use jenkins-cli to grab the encrypted or unencrytped value of a secret using Jenkins Groovy | ||
*[[ChefMisc]] - Misc Chef | *[[ChefMisc]] - Misc Chef | ||
===Puppet=== | ====Puppet==== | ||
*[[MultiMachineVagrantPuppetJenkinsNexus]] - Multimachine Vagrant boxes with 1 | *[[MultiMachineVagrantPuppetJenkinsNexus]] - Multimachine Vagrant boxes with 1 Puppet Server, 1 Puppet Client, and 1 Jenkins/Nexus VM to deploy Tomcat via Puppet | ||
===Ansible=== | ====Ansible==== | ||
* [https://github.com/drew-holt/ansible-invadelabs AnsibleVirtualboxDocker] - GitHub: Invade Labs test environment for Ansible with VirtualBox VMs running Docker in a dind cluster | *[https://github.com/drew-holt/ansible-invadelabs AnsibleVirtualboxDocker] - GitHub: Invade Labs test environment for Ansible with VirtualBox VMs running Docker in a dind cluster | ||
====Terraform==== | |||
*[[TerraformExamples]] - Terraform examples placeholder | |||
====Jenkins==== | |||
*[[DisableJenkins2Wizard]] - Disable Jenkins 2.0 Setup Wizard | |||
*[[JenkinsSecurityViaDSL]] - Jenkins Security via DSL | |||
*[[ListJenkinsPluginsViaCurl]] - List Jenkins plugins via curl | |||
=== | ===Containerization=== | ||
* [[ | ====LXC==== | ||
*[[Lxc]] - LXC Setup and Usage | |||
=== | ====Docker==== | ||
* [[ | *[[DockerOnUbuntu]] - Docker on Ubuntu + Foreman Integration | ||
* [[ | *[[CentOS7Docker]] - Install and configure Docker on CentOS7 | ||
*[[DockerFile]] - Example Dockerfile | |||
*[[DockerSwarm]] - Docker Swarm Usage | |||
*[[CleanUpDocker]] - Clean up (delete) docker containers and images on local machine | |||
*[[RemoveDockerCache]] - Prune Docker Cache | |||
=== | ====Kubernetes==== | ||
* [[ | *[[KubernetesClusterGoogleCloud]] - CI/CD example of a 4 container weather application using Google Container Register and Google Kubernetes Clusters | ||
* [[MiniShift]] - Minishift install and configure | *[[MiniKube]] - MiniKube install and configure | ||
====OpenShift==== | |||
*[[MiniShift]] - Minishift install and configure | |||
=== Virtualization / Hypervisor / Cloud=== | |||
*[[VirtualBoxPassSMBIOS]] - Passing SMBios data to a Virtual Box guest to appear more hardware like (Mainly for Windows licensing on EFI machines) | |||
*[[GoogleCloud]] - Quick setup on Google Cloud | |||
*[[KVM+qemuCentOS6]] - KVM notes for CentOS6 | |||
==System Administration== | ==System Administration== | ||
*[https://github.com/drew-holt/selenium-invadelabs SeleniumDocker] - GitHub: Selenium dockerized with Stand Alone Chrome and Firefox on separate ports. | *[https://github.com/drew-holt/selenium-invadelabs SeleniumDocker] - GitHub: Selenium dockerized with Stand Alone Chrome and Firefox on separate ports. | ||
*[https://github.com/drew-holt/nagios-invadelabs NagiosDocker] - GitHub: Invade Labs Nagios config using Docker | *[https://github.com/drew-holt/nagios-invadelabs NagiosDocker] - GitHub: Invade Labs Nagios config using Docker | ||
*[[ForceTextConsoleResolution]] - Force text console resolution when using remote KVM | *[[ForceTextConsoleResolution]] - Force text console resolution when using remote Lantronix Spider KVM | ||
*[[LetsEncrypt]] - letsencrypt.org config | *[[LetsEncrypt]] - letsencrypt.org config | ||
*[[CustomKernelDebian]] - Compile a custom kernel from source in Debian / Ubuntu | *[[CustomKernelDebian]] - Compile a custom kernel from source in Debian / Ubuntu | ||
*[[OctoPrint]] - 3D printer interface | *[[OctoPrint]] - 3D printer interface | ||
*[[ | *[[XDripNightScout]] - Configuration for Dexcom G5, xDrip, xDripPebble, and NightScout | ||
*[[ | *[[Nmcli]] - Joining wifi from nmcli | ||
*[[OpenVPN]] - OpenVPN Server Setup | *[[OpenVPN]] - OpenVPN Server Setup | ||
*[[ApachePAMunixAuth]] - Apache authentication against /etc/passwd | *[[ApachePAMunixAuth]] - Apache authentication against /etc/passwd | ||
*[[Iptables]] - iptables setup | |||
=====Mail===== | |||
*[[EmailViaNCorTelnet]] - Send an email via nc or telnet | |||
*[[SendmailRelayGmailCentos]] - Sendmail with gmail relay in Fedora 10+ | *[[SendmailRelayGmailCentos]] - Sendmail with gmail relay in Fedora 10+ | ||
*[[SendmailRelayISP]] - Sendmail using ISP as relay in Fedora 10+ | *[[SendmailRelayISP]] - Sendmail using ISP as relay in Fedora 10+ | ||
=====DD-WRT===== | |||
*[[Ddwrt-ddns-namecheap]] - Setup DDNS on DD-WRT for Namecheap | |||
*[[ | |||
*[[PortMirroringDDWRTiptables]] - Port mirroring with iptable in dd-wrt | *[[PortMirroringDDWRTiptables]] - Port mirroring with iptable in dd-wrt | ||
*[[Ddwrtdnsmasq]] - dnsmasq for DD-WRT | |||
*[[PXEiSCSIboot]] - Booting off SAN via PXE and iSCSI target | |||
*[[Ddwrtopsware]] - opsware | |||
=====File Server===== | =====File Server===== | ||
*[[UbuntuRAID0ssd]] -- Ubuntu RAID0 LVM SSD on root without boot partition | |||
*[[NFS Optimization]] - NFS Performance and Optimization | *[[NFS Optimization]] - NFS Performance and Optimization | ||
*[[ | *[[Mdadm]] - Linux Software Raid Creation / Optimization | ||
** [[ | ** [[MdadmLVMext4]] - Best practices using md raid5 / LVM / ext4 | ||
** [[BackupViaDDsnapshot]] - Using LVM snapshotting to copy an LV | ** [[BackupViaDDsnapshot]] - Using LVM snapshotting to copy an LV | ||
** [[ | ** [[SmartdMonitoring]] - Monitor disks with smartmontools | ||
** [[USBhddtemp]] - Check hard drive temp for USB HD (Western Digital) | ** [[USBhddtemp]] - Check hard drive temp for USB HD (Western Digital) | ||
** [[LoopBackSoftwareRaidMount]] - Imaging 2 of 3 RAID5 drives and loop back mounting for data extraction | ** [[LoopBackSoftwareRaidMount]] - Imaging 2 of 3 RAID5 drives and loop back mounting for data extraction | ||
* [[ResizePV]] - Steps to resize PV | * [[ResizePV]] - Steps to resize PV | ||
*[[ | *[[ECryptfs]] - Private Encrypted Folders | ||
*[[SambaTdbsamBackend]] - Using Samba Tdbsam backend with unix login | *[[SambaTdbsamBackend]] - Using Samba Tdbsam backend with unix login | ||
=====Backup===== | =====Backup===== | ||
*[[Backup | *[[BackupPartitionsViaDDandSfdisk]] - Backup boot and system partitions with dd and sfdisk | ||
*[[ | *[[BackupDD-WRTConfig]] - DD-WRT backup script (cron) | ||
*[[ | *[[ClamAVWeeklyScan]] - ClamAV script (cron) | ||
*[[ | *[[MySQLBackupScript]] - MySQL Backup Script - (cron) | ||
*[[ | *[[RsyncSSHkeys]] - Rsync over SSH - Different port / SSH Keys | ||
*[[ExternalUSB+LUKS+LVM]] - Encrypted LVM for External USB and LUKS for rsync backup | |||
====Hardware Related==== | ====Hardware Related==== | ||
*[[IPMI]] - IPMI on SuperMicro AOC-IPMI20 with Serial-Over-LAN Console | |||
*[[Lm_sensorsPDMSi]] - lm_sensors lmsensors /etc/sensors.d/pdsmi | |||
*[[RaspberryPi]] - Information for RPi | *[[RaspberryPi]] - Information for RPi | ||
*[[ | *[[Udevinfo]] - gathering system info | ||
*[[ | *[[Gps]] - GPS Related | ||
==Media== | ==Media== | ||
*[[ | *[[EGalaxyTouchScreen]] - eGalaxy Touch Screen | ||
*[[LinuxGPS]] - Linux GPS with sirfmon, gpsd, and more | *[[LinuxGPS]] - Linux GPS with sirfmon, gpsd, and more | ||
*[[Independant X-server]] - Multi seat configuration for 2 seperate X servers on the same system | *[[Independant X-server]] - Multi seat configuration for 2 seperate X servers on the same system | ||
*[[ | *[[LircConfig-MythTV+mplayer]] | ||
*[[ | *[[LircPinnacle800iComcastRemote]] - Remapping Comcast remote IR in ir-keymap.c kernel module | ||
*[[ | *[[CompizProfileConfiguration]] - Dual monitor / GiantCube / Ice Exploding Windows | ||
== Client Setup == | == Client Setup == | ||
*[[ | *[[UbuntuSetup]] - Ubuntu 22.04 laptop Setup | ||
*[[ | *[[MacOS]] - macOS | ||
*[[ | *[[Windows10Setup]] - Windows 10 Laptop Setup | ||
*[[RaspberryPISetup]] - RaspberryPi setup for drew-pi | *[[RaspberryPISetup]] - RaspberryPi setup for drew-pi | ||
*[[Pine64]] - Pine64 Armbian Notes | *[[Pine64]] - Pine64 Armbian Notes | ||
Line 120: | Line 121: | ||
==Outdated== | ==Outdated== | ||
*[[ServerSetupFedora22]] - Fedora 22 Server Setup | |||
*[[BootOptimization]] - Speed up Fedora15 boot | *[[BootOptimization]] - Speed up Fedora15 boot | ||
*[[NUTUPSMonitor]] - Configure NUT for UPS monitoring and alerts in Fedora 12-14 | *[[NUTUPSMonitor]] - Configure NUT for UPS monitoring and alerts in Fedora 12-14 |
Latest revision as of 10:45, 30 April 2022
A collection of randomness I've encountered and configured in Linux. - [email protected]
System Setup
Now done via invadelabs/ansible-invadelabs
- ServerSetupCentOS7 - CentOS7 Server setup with NFS/rsyslog/chrony/hw_mon services + qemu+kvm libvirt + Puppet + Foreman + Docker
- ServerSetupFedora - Fedora Server Setup
Infrastructure
Infrastructure Automation
Chef
- InstallingChefServer - Installing Chef Server
- KnifeBootstrapAWS - knife bootstrapping AWS instances
- ChefEncryptedDataBags - Creating and using encrypted data bags
- FoodcriticRubocop - Linting recipes with Foodcritic and Rubocop
- TestKitchenDocker - Test Kitchen with Docker provisioner for testing cookbooks
- ChefJenkinsGroovyShellOut - Shell out of recipe to use jenkins-cli to grab the encrypted or unencrytped value of a secret using Jenkins Groovy
- ChefMisc - Misc Chef
Puppet
- MultiMachineVagrantPuppetJenkinsNexus - Multimachine Vagrant boxes with 1 Puppet Server, 1 Puppet Client, and 1 Jenkins/Nexus VM to deploy Tomcat via Puppet
Ansible
- AnsibleVirtualboxDocker - GitHub: Invade Labs test environment for Ansible with VirtualBox VMs running Docker in a dind cluster
Terraform
- TerraformExamples - Terraform examples placeholder
Jenkins
- DisableJenkins2Wizard - Disable Jenkins 2.0 Setup Wizard
- JenkinsSecurityViaDSL - Jenkins Security via DSL
- ListJenkinsPluginsViaCurl - List Jenkins plugins via curl
Containerization
LXC
- Lxc - LXC Setup and Usage
Docker
- DockerOnUbuntu - Docker on Ubuntu + Foreman Integration
- CentOS7Docker - Install and configure Docker on CentOS7
- DockerFile - Example Dockerfile
- DockerSwarm - Docker Swarm Usage
- CleanUpDocker - Clean up (delete) docker containers and images on local machine
- RemoveDockerCache - Prune Docker Cache
Kubernetes
- KubernetesClusterGoogleCloud - CI/CD example of a 4 container weather application using Google Container Register and Google Kubernetes Clusters
- MiniKube - MiniKube install and configure
OpenShift
- MiniShift - Minishift install and configure
Virtualization / Hypervisor / Cloud
- VirtualBoxPassSMBIOS - Passing SMBios data to a Virtual Box guest to appear more hardware like (Mainly for Windows licensing on EFI machines)
- GoogleCloud - Quick setup on Google Cloud
- KVM+qemuCentOS6 - KVM notes for CentOS6
System Administration
- SeleniumDocker - GitHub: Selenium dockerized with Stand Alone Chrome and Firefox on separate ports.
- NagiosDocker - GitHub: Invade Labs Nagios config using Docker
- ForceTextConsoleResolution - Force text console resolution when using remote Lantronix Spider KVM
- LetsEncrypt - letsencrypt.org config
- CustomKernelDebian - Compile a custom kernel from source in Debian / Ubuntu
- OctoPrint - 3D printer interface
- XDripNightScout - Configuration for Dexcom G5, xDrip, xDripPebble, and NightScout
- Nmcli - Joining wifi from nmcli
- OpenVPN - OpenVPN Server Setup
- ApachePAMunixAuth - Apache authentication against /etc/passwd
- Iptables - iptables setup
- EmailViaNCorTelnet - Send an email via nc or telnet
- SendmailRelayGmailCentos - Sendmail with gmail relay in Fedora 10+
- SendmailRelayISP - Sendmail using ISP as relay in Fedora 10+
DD-WRT
- Ddwrt-ddns-namecheap - Setup DDNS on DD-WRT for Namecheap
- PortMirroringDDWRTiptables - Port mirroring with iptable in dd-wrt
- Ddwrtdnsmasq - dnsmasq for DD-WRT
- PXEiSCSIboot - Booting off SAN via PXE and iSCSI target
- Ddwrtopsware - opsware
File Server
- UbuntuRAID0ssd -- Ubuntu RAID0 LVM SSD on root without boot partition
- NFS Optimization - NFS Performance and Optimization
- Mdadm - Linux Software Raid Creation / Optimization
- MdadmLVMext4 - Best practices using md raid5 / LVM / ext4
- BackupViaDDsnapshot - Using LVM snapshotting to copy an LV
- SmartdMonitoring - Monitor disks with smartmontools
- USBhddtemp - Check hard drive temp for USB HD (Western Digital)
- LoopBackSoftwareRaidMount - Imaging 2 of 3 RAID5 drives and loop back mounting for data extraction
- ResizePV - Steps to resize PV
- ECryptfs - Private Encrypted Folders
- SambaTdbsamBackend - Using Samba Tdbsam backend with unix login
Backup
- BackupPartitionsViaDDandSfdisk - Backup boot and system partitions with dd and sfdisk
- BackupDD-WRTConfig - DD-WRT backup script (cron)
- ClamAVWeeklyScan - ClamAV script (cron)
- MySQLBackupScript - MySQL Backup Script - (cron)
- RsyncSSHkeys - Rsync over SSH - Different port / SSH Keys
- ExternalUSB+LUKS+LVM - Encrypted LVM for External USB and LUKS for rsync backup
Hardware Related
- IPMI - IPMI on SuperMicro AOC-IPMI20 with Serial-Over-LAN Console
- Lm_sensorsPDMSi - lm_sensors lmsensors /etc/sensors.d/pdsmi
- RaspberryPi - Information for RPi
- Udevinfo - gathering system info
- Gps - GPS Related
Media
- EGalaxyTouchScreen - eGalaxy Touch Screen
- LinuxGPS - Linux GPS with sirfmon, gpsd, and more
- Independant X-server - Multi seat configuration for 2 seperate X servers on the same system
- LircConfig-MythTV+mplayer
- LircPinnacle800iComcastRemote - Remapping Comcast remote IR in ir-keymap.c kernel module
- CompizProfileConfiguration - Dual monitor / GiantCube / Ice Exploding Windows
Client Setup
- UbuntuSetup - Ubuntu 22.04 laptop Setup
- MacOS - macOS
- Windows10Setup - Windows 10 Laptop Setup
- RaspberryPISetup - RaspberryPi setup for drew-pi
- Pine64 - Pine64 Armbian Notes
- RikoAndroidMiniPC - Rikomagic MK802 III setup + picuntu
Outdated
- ServerSetupFedora22 - Fedora 22 Server Setup
- BootOptimization - Speed up Fedora15 boot
- NUTUPSMonitor - Configure NUT for UPS monitoring and alerts in Fedora 12-14
- Fedora15Gnome3Tweaks - Fedora 15 / GNOME3 Tweaks