This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
haas:status [2015/05/03 14:20] – [OpenBSD 5.7 bootable USB creation] wedge | haas:status [2022/08/28 20:15] (current) – [August 28th, 2022] wedge | ||
---|---|---|---|
Line 5: | Line 5: | ||
* update grade not-z scripts to handle/be aware of winter terms | * update grade not-z scripts to handle/be aware of winter terms | ||
* update system page for (new)www | * update system page for (new)www | ||
- | * include information on db server | ||
- | * upgrade mail VM to jessie/ | ||
- | * upgrade LDAP VMs to jessie | ||
- | * create new router, using OpenBSD 5.7 | ||
* scripts to write: | * scripts to write: | ||
* user homedir backup pruning script | * user homedir backup pruning script | ||
Line 15: | Line 11: | ||
* status page monthly cycle script | * status page monthly cycle script | ||
* revive **gimmeh** script, now that text access seems possible | * revive **gimmeh** script, now that text access seems possible | ||
+ | * manual pages to write: | ||
+ | * lab46 usage tutorial | ||
+ | * include mercurial repository checkout info | ||
+ | * include irc class chat tutorial | ||
+ | * data structures, sll/dll library functions as their own manual pages | ||
======URLs====== | ======URLs====== | ||
Line 77: | Line 78: | ||
* https:// | * https:// | ||
* http:// | * http:// | ||
+ | * rxvt / .Xresources | ||
+ | * http:// | ||
======Other Days====== | ======Other Days====== | ||
- | ======May 2nd, 2015====== | + | ======August 28th, 2022====== |
- | =====OpenBSD 5.7 bootable USB creation===== | + | =====updated dokuwiki===== |
- | I finally got around | + | After enduring constant nags of available updates that I could never resolve, and despite an active semester underway, I committed |
+ | =====dokuwiki included pages no edit button (fixed)===== | ||
+ | I wanted a read-only base project page, with notes namespace-included content that users could edit. | ||
- | * http://undeadly.org/cgi? | + | Unfortunately, |
- | To summarize, first we "local loopback" | + | <code php> |
+ | function html_secedit($text,$show=true){ | ||
+ | global $INFO; | ||
- | <cli> | + | if((isset($INFO) && !$INFO[' |
- | # vnconfig vnd0 install57.iso | + | |
- | # mount /dev/vnd0a /mnt | + | |
- | </ | + | } |
- | Next, we created the destination image (will will be written to the flash drive). The ISO was 219MB, I made the image 256MB, although we could easily have cut it far closer to 220MB): | + | return preg_replace_callback(SEC_EDIT_PATTERN, |
+ | ' | ||
+ | } | ||
+ | </ | ||
+ | ======March 12th, 2020====== | ||
- | < | + | =====borked journal, maybe fix===== |
- | # dd if=/dev/zero of=disk.img bs=1m count=256 | + | |
- | </ | + | |
- | Local loopback attach our newly created image file: | + | < |
+ | tune2sf -O ^has_journal / | ||
+ | e2fsck -f / | ||
+ | tune2sf -j / | ||
+ | </ | ||
- | < | + | Obtained from: |
- | # vnconfig vnd1 disk.img | + | |
- | </ | + | |
- | Partition, slice, and format the disk image in accordance with OpenBSD preferences (I rather enjoyed | + | * https:// |
+ | ======November 21st, 2019====== | ||
+ | =====pi4b dual head===== | ||
+ | Apparently | ||
- | < | + | Oh well. At least things are now working as they should. |
- | # fdisk -i vnd1 | + | |
- | # echo " | + | |
- | # newfs / | + | |
- | </ | + | |
- | And mount it: | + | ======November 19th, 2019====== |
+ | =====pi4b dual head issues===== | ||
+ | Attempting to set up a fresh raspbian install on the pi4b. Strangely, getting issues with dual head: it is only coming up in mirrored mode (or when I play with it, not at all). | ||
- | < | + | The only major variables that have changed: |
- | # mkdir /mnt2 | + | |
- | # mount /dev/vnd1a /mnt2 | + | |
- | </ | + | |
- | Copy the installer: | + | * new raspbian release (I could test my old setup.. that is easy enough to verify) |
+ | * no longer using HDMI monitors, but the DVI connections on the LAIR monitors. | ||
+ | * further investigation suggests the pi may be seeing identical EDIDs and other monitor ID things, so it is defaulting to a mirroring mode. | ||
+ | * **tvservice -l** consistently identifies two displays, so the hardware sees it, the software is not. | ||
- | <cli> | + | Interestingly: |
- | # cp -r /mnt/* /mnt2/ | + | ======March 15th, 2018====== |
- | </ | + | Setting up the raspberry pi 3 for use in the comporg class. Named it **pi3b**, and will get the IP of 10.80.2.48; running the latest stable release of rasbian. |
- | Make it bootable (this method only applicable | + | Looking to get LDAP and autofs going, then installing packages to make it minimally functional |
- | <cli> | + | ======March 6th, 2018====== |
- | installboot | + | Aside from an attempt at restarting my status-reporting habits in January of 2017, I totally neglected it for the remainder of the year. |
- | </ | + | |
+ | So here we go, attempting another go. Will we be successful? | ||
+ | |||
+ | =====pods configured for better SSD operation===== | ||
+ | In other recent projects, I encountered some useful configuration options to improve performance, | ||
- | Penultimately, | + | I ended up taking a Debian USB installer, booting each pod in rescue mode, getting to a prompt, |
<cli> | <cli> | ||
- | # umount /mnt | + | # umount / |
- | # umount | + | # tune2fs -O ^has_journal |
- | # vnconfig | + | # tune2fs |
- | # vnconfig -u vnd0 | + | |
</ | </ | ||
- | Finally, actually write it (I did this on a Linux box, as my OpenBSD box is on a rather raw VM): | + | Then on the master nodes, I enhanced both **/ |
- | <cli> | + | <code> |
- | # dd if=disk.img of=/dev/sdb bs=1M | + | # /etc/fstab: static file system information. |
- | </cli> | + | # |
+ | # <file system> <mount point> | ||
+ | / | ||
+ | tmpfs / | ||
+ | tmpfs / | ||
+ | tmpfs / | ||
+ | tmpfs / | ||
+ | </ | ||
+ | |||
+ | Note how I put the log files in RAM too (on the pods)... this should greatly reduce extraneous writes. | ||
+ | |||
+ | Then at the bottom | ||
+ | |||
+ | < | ||
+ | #!/bin/sh -e | ||
+ | # | ||
+ | # rc.local | ||
+ | # | ||
+ | IPADDR= | ||
+ | while [ -z " | ||
+ | IPADDR=`/ | ||
+ | sleep 1 | ||
+ | done | ||
+ | / | ||
+ | / | ||
+ | echo " | ||
+ | echo " | ||
+ | echo " | ||
+ | |||
+ | echo deadline > / | ||
+ | echo 1 > / | ||
+ | |||
+ | exit 0 | ||
+ | </code> | ||
+ | |||
+ | As the **deadline** scheduler has frequent mention of usage with SSDs. | ||
+ | |||
+ | Useful URLs: | ||
+ | |||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
- | I recalled some vague and increasingly distant thoughts over how difficult this once seemed... raw write an image to a device? That needed special tools... nope, just do a low-level binary write... everything is a file. | ||
- | Should be good to go. | ||
- | ======May 1st, 2015====== | ||
- | =====auth2/ | ||
- | To avoid manually saying ' | ||
- | =====grub updates | + | =====lab46too SSD updates===== |
- | I noticed there was grub-level config support for specifying sysvinit instead of the default (systemd), so I specified sysvinit. Rebooted data2 a couple times to make sure everything was working as it should. | + | With the pods having seen their SSD updates, I am looking to do the same for lab46too, testing |
- | =====pruned backups===== | + | I've updated the /etc/fstab and / |
- | I cleared out upwards | + | |
- | =====new router===== | + | I had to remove the commit=600 from the /home partition. For some reason it didn't want to mount with that. |
- | One of my summer projects, especially with the anticipated LAIR move, is to update the routers... possibly into just one box, on one of the i5 boxes donated recently. Using OpenBSD 5.7, and running the system out of RAM, much in the same way data1/data2 operate (might as well, I've got enough RAM in it). | + | ======Month Status Page Navigation====== |
- | ^ [[haas/ | + | ^ [[haas/ |