This page is mainly technical notes to myself to reference in the future, but I'm posting it here in case anyone finds it useful.
Raspberry Pi: Install Apache + MySQL + PHP (LAMP Server)
https://randomnerdtutorials.com/raspberry-pi-apache-mysql-php-lamp-server/
Steps for Configuring Mate Desktop on 4GB Raspberry Pi 4B - (Rev.7):
https://forums.raspberrypi.com/viewtopic.php?t=260974
Limit laptop battery charge level:
https://askubuntu.com/questions/671277/is-it-possible-to-run-a-windows-msi-installer
Is it possible to run a Windows .msi installer in Linux wine?
Open the terminal, change directories with cd to the location of the .msi file, and install the .msi file with a command of the form
wine msiexec /i whatever-filename.msi
According to the official WineHQ FAQ:
MSI files cannot be run directly, you need to use the msiexec program. msiexec is a tool for installing .msi packages. MSI files can be installed in Wine from the terminal like this:
wine msiexec /i whatever-filename.msi
Alternatively:
wine start whatever-filename.msi
That will then run the MSI program the same as if you had double-clicked it in Windows.
The first command can be changed if necessary to suit the circumstances. For example:
WINEPREFIX=/path/to/wineprefix wine msiexec /i /path/to/filename.msi
or using wine64 instead of wine:
WINEPREFIX=/path/to/wineprefix wine64 msiexec /i /path/to/filename.msi
A WINE prefix is a folder that contains all of the WINE configurations as well as all of the Windows pieces that WINE uses for compatibility, including libraries and a registry.
If you want to uninstall the same .msi file later on run
wine msiexec /x whatever-filename.msi
vino-server setup on Debian Linux: If you have installed Debian package "vino", described as "VNC server for GNOME", then on the VNC server side, non-root user's .xsessionrc should contain:
#gsettings set org.gnome.Vino prompt-enabled false #one time only
#gsettings set org.gnome.Vino require-encryption false #one time only
nohup /usr/lib/vino/vino-server
VirtualBox reset UUID of .vhd in Linux: vboxmanage internalcommands sethduuid "/path/filename"
GetSimple mod to allow relative pathing to website: vi data/other/website.xml and remove "http[s]://host.name:[port]" prefix (after changing, it should look like
and this will automatically fix sitemap.xml (but might break data uploads unless you use scp) but double check it with vi after revisiting your site as a normal anybody). Unfortunately you must repeat this after modifying "Website Settings" with the admin interface (for example, to change the admin password) because it will require a valid http[s]:// url for the website url and will say "Our suggestion is: http[s]://" ... before it will save your changes.
Debian change timezone (as root of course)
Posted on October 27, 2022 by a geek:
# timedatectl Local time: Thu 2022-10-27 05:01:59 UTC Universal time: Thu 2022-10-27 05:01:59 UTC RTC time: n/a Time zone: Etc/UTC (UTC, +0000) System clock synchronized: yes NTP service: inactive RTC in local TZ: no # ls -l /etc/localtime lrwxrwxrwx 1 root root 27 Oct 27 04:24 /etc/localtime -> /usr/share/zoneinfo/Etc/UTC # timedatectl list-timezones # timedatectl set-timezone US/Colorado (or something else valid)
Helpful SSD-related chat I did with chatGPT:
USER: What is the generic name for solidstate disk on pcie circuit board for use as internally attached? CHATGPT: The generic name for a solid-state disk (SSD) on a PCIe circuit board for internal attachment is a "PCIe SSD" or "PCIe solid-state drive." These drives offer faster data transfer speeds compared to traditional SATA SSDs, as they connect directly to the PCIe bus instead of the slower SATA interface. USER: Compare pcie bus speed with sata and usb3 CHATGPT: PCIe bus speed is significantly faster than both USB 3.0 and USB 3.1. Here's a comparison: 1. PCle 3.0: This version, commonly used in modern PCs, has a maximum theoretical bandwidth of 8 GT/s (gigatransfers per second) per lane, per direction. A PCIe 3.0 x4 slot, which is common for SSDs, can offer up to around 32 Gbps (gigabits per second) in each direction. 2. USB 3.0: (Also known as USB 3.1 Gen 1) has a maximum theoretical bandwidth of 5 Gbps.This is significantly slower than PCIe 3.0. 3. USB 3.1 Gen 2: This version has a maximum theoretical bandwidth of 10 Gbps, which is still slower than even a single lane of PCIe 3.0. In summary, PCIe 3.0 offers much higher data transfer speeds compared to USB 3.0 and USB 3.1, making it the preferred choice for high-speed devices like SSDs.
Just testing Header sizes
Heading 6
Heading 5
Heading 4
Heading 3
Heading 2
Heading 1
Button(s)