Main Page: Difference between revisions

From DrewWiki
Jump to navigation Jump to search
 
(15 intermediate revisions by the same user not shown)
Line 2: Line 2:


== System Setup ==
== System Setup ==
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
*[[ServerSetupCentOS7]] - CentOS7 Server setup  with NFS/rsyslog/chrony/hw_mon services + qemu+kvm libvirt + Puppet + Foreman + Docker
*[[ServerSetupFedora27]] - Fedora 27 Server Setup
*[[ServerSetupFedora]] - Fedora Server Setup


==Infrastructure==
==Infrastructure==
Line 12: Line 13:
*[[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
*[[TestingWithChefSpec]] - Examples of using ChefSpec for unit and integration tests in cookbooks
*[[TestKitchenVagrant]] - Test Kitchen with Vagrant provisioner for testing cookbooks
*[[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
Line 23: Line 22:
====Terraform====
====Terraform====
*[[TerraformExamples]] - Terraform examples placeholder
*[[TerraformExamples]] - Terraform examples placeholder
====Jenkins====
*[[DisableJenkins2Wizard]] - Disable Jenkins 2.0 Setup Wizard
*[[JenkinsSecurityViaDSL]] - Jenkins Security via DSL
*[[ListJenkinsPluginsViaCurl]] - List Jenkins plugins via curl


===Containerization===
===Containerization===
====LXC====
====LXC====
*[[lxc]] - LXC Setup and Usage
*[[Lxc]] - LXC Setup and Usage


====Docker====
====Docker====
*[[DockerOnUbuntu]] - Docker on Ubuntu + Foreman Integration
*[[DockerOnUbuntu]] - Docker on Ubuntu + Foreman Integration
*[[CentOS7Docker]] - Install and configure Docker on CentOS7
*[[CentOS7Docker]] - Install and configure Docker on CentOS7
*[[DockerFile]] - Example Dockerfile  
*[[DockerFile]] - Example Dockerfile
*[[DockerCompose]] - Example docker-compose.yml
*[[DockerSwarm]] - Docker Swarm Usage
*[[DockerSwarm]] - Docker Swarm Usage
*[[CleanUpDocker]] - Clean up (delete) docker containers and images on local machine
*[[CleanUpDocker]] - Clean up (delete) docker containers and images on local machine
Line 47: Line 49:
*[[VirtualBoxPassSMBIOS]] - Passing SMBios data to a Virtual Box guest to appear more hardware like (Mainly for Windows licensing on EFI machines)
*[[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
*[[GoogleCloud]] - Quick setup on Google Cloud
*[[KVM/qemu CentOS6]] - KVM notes for CentOS6
*[[KVM+qemuCentOS6]] - KVM notes for CentOS6


==System Administration==
==System Administration==
Line 56: Line 58:
*[[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
*[[XDripNightScout]] - Configuration for Dexcom G5, xDrip, xDripPebble, and NightScout
*[[nmcli]] - Joining wifi from nmcli
*[[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
*[[Iptables]] - iptables setup


=====Mail=====
=====Mail=====
Line 68: Line 70:


=====DD-WRT=====
=====DD-WRT=====
*[[ddwrt-ddns-namecheap]] - Setup DDNS on DD-WRT for Namecheap
*[[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
*[[Ddwrtdnsmasq]] - dnsmasq for DD-WRT
*[[PXEiSCSIboot]] - Booting off SAN via PXE and iSCSI target
*[[PXEiSCSIboot]] - Booting off SAN via PXE and iSCSI target
*[[ddwrtopsware]] - opsware
*[[Ddwrtopsware]] - opsware


=====File Server=====
=====File Server=====
*[[UbuntuRAID0ssd]] -- Ubuntu RAID0 LVM SSD on root without boot partition
*[[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
*[[Mdadm]] - Linux Software Raid Creation / Optimization
** [[mdadmLVMext4]] - Best practices using md raid5 / LVM / ext4
** [[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
** [[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
*[[ECryptfs]] - Private Encrypted Folders
*[[SambaTdbsamBackend]] - Using Samba Tdbsam backend with unix login
*[[SambaTdbsamBackend]] - Using Samba Tdbsam backend with unix login


=====Backup=====
=====Backup=====
*[[BackupPartitionsViaDDandSfdisk]] - Backup boot and system partitions with dd and sfdisk
*[[BackupPartitionsViaDDandSfdisk]] - Backup boot and system partitions with dd and sfdisk
*[[Backup DD-WRT Config]] - DD-WRT backup script (cron)
*[[BackupDD-WRTConfig]] - DD-WRT backup script (cron)
*[[ClamAV Weekly Scan]] - ClamAV script (cron)
*[[ClamAVWeeklyScan]] - ClamAV script (cron)
*[[MySQL Backup Script]] - MySQL Backup Script - (cron)
*[[MySQLBackupScript]] - MySQL Backup Script - (cron)
*[[rsyncSSHkeys]] - Rsync over SSH - Different port / SSH Keys
*[[RsyncSSHkeys]] - Rsync over SSH - Different port / SSH Keys
*[[ExternalUSBEncryptedLVM]] - Encrypted LVM for External USB (rsync backup)
*[[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
*[[IPMI]] - IPMI on SuperMicro AOC-IPMI20 with Serial-Over-LAN Console
*[[lm_sensorsPDMSi]] - lm_sensors lmsensors /etc/sensors.d/pdsmi
*[[Lm_sensorsPDMSi]] - lm_sensors lmsensors /etc/sensors.d/pdsmi
*[[RaspberryPi]] - Information for RPi
*[[RaspberryPi]] - Information for RPi
*[[udevinfo]] - gathering system info
*[[Udevinfo]] - gathering system info
*[[gps]] - GPS Related
*[[Gps]] - GPS Related


==Media==
==Media==
*[[eGalaxyTouchScreen]] - eGalaxy Touch Screen
*[[EGalaxyTouchScreen]] - eGalaxy Touch Screen
*[[LinuxGPS]] - Linux GPS with sirfmon, gpsd, and more
*[[LinuxGPS]] - Linux GPS with sirfmon, gpsd, and more
*[[mencoder]] - codecs(x264, lavc, xvid) / de-interlace filters / dvd
*[[mplayer]] - dvd and dvb playback / xvmc and vdpau gpu decoder offload
*[[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
*[[Lirc Config - MythTV / mplayer]]
*[[LircConfig-MythTV+mplayer]]
*[[Lirc, Pinnacle 800i, and Comcast Remote]] - Remapping Comcast remote IR in ir-keymap.c kernel module
*[[LircPinnacle800iComcastRemote]] - Remapping Comcast remote IR in ir-keymap.c kernel module
*[[ConvertVideoToM4a]] - Convert video to m4a with ffmpeg copy
*[[CompizProfileConfiguration]] - Dual monitor / GiantCube / Ice Exploding Windows
*[[bluray]] - Playing and backing up Blu-ray discs in Linux
*[[Compiz Profile Configuration]] - Dual monitor / GiantCube / Ice Exploding Windows
*[[N64Mupen64plus]] - Using mupen64plus (N64 Emulator) in Linux


== Client Setup ==
== Client Setup ==
*[[Ubuntu 17.10 Setup]] - Ubuntu 17.10 workstation / laptop Setup
*[[UbuntuSetup]] - Ubuntu 22.04 laptop Setup
*[[OSX Setup]] - macOS 10.11 MBP Sierra setup
*[[MacOS]] - macOS
*[[Windows Setup]] - Windows 10 Laptop Setup
*[[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

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

Infrastructure

Infrastructure Automation

Chef

Puppet

Ansible

  • AnsibleVirtualboxDocker - GitHub: Invade Labs test environment for Ansible with VirtualBox VMs running Docker in a dind cluster

Terraform

Jenkins

Containerization

LXC

  • Lxc - LXC Setup and Usage

Docker

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

Virtualization / Hypervisor / Cloud

System Administration

Mail
DD-WRT
File Server
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

Client Setup

Outdated

Misc.