cf: Dual Channel
Installing RAM modules on A1 and B1 will enable dual-channel mode as well as A2 and B2. However, installing them in A1 and A2 will make them run in single-channel mode.
cf: Dual Channel
Installing RAM modules on A1 and B1 will enable dual-channel mode as well as A2 and B2. However, installing them in A1 and A2 will make them run in single-channel mode.
cf: https://coldnew.github.io/ff159f7c/
The script file: (cf: https://github.com/AlexanderAmelkin/mountimg/blob/master/mountimg)
#!/bin/bash
IMAGE="$1"
PART="$2"
WHERE="$3"
shift 3
OPTIONS="$*"
if [ ! -f "$IMAGE" ] || [ -z "$PART" ] || [ -z "$WHERE" ]; then
echo "Disk image partition mounter by Alexander Amelkin."
echo "Version 1.0"
echo
echo "Usage: mountimg <image> <partition> <where> [<mount options>]"
echo "Example: mountimg sdcard.img 1 /mnt/sdcard0p1 -t vfat -o ro,codepage=866,iocharset=utf-8"
exit 1
fi
# Now find the first unused loop device and use it
OFFSET=$(
sfdisk -l $IMAGE |
grep $IMAGE$PART |
awk 'BEGIN { FS="[ *\t]+"}
/.+/ { print $2; found=1 }
END { if(!found) exit 1 }'
) || { echo "No such partition in the image"; exit 1; }
echo "Mounting $IMAGE partition $PART (offset $OFFSET) to $WHERE via $LODEV"
set -e
mount $OPTIONS -o loop,offset=$((OFFSET * 512)) $IMAGE $WHERE
Change this line:
$tempstore = \Drupal::service('user.private_tempstore')->get('appraisal_edit');
into
$tempstore = \Drupal::service('tempstore.private')->get('appraisal_edit');
sudo a2disconf php7.4-fpm.conf
sudo a2enconf php8.1-fpm.conf
cf: https://www.sysprobs.com/macos-13-ventura-vmware-pre-installed-image-download-windows-11-10
This links also contains the download urls for Ventura vmware image (worked!)
cf: https://askubuntu.com/questions/422026/mathematica-installation-problem
Don't use directory/folder name with space
Edit /etc/rsyslog.conf and comment the following lines.
#
# Set the default permissions for all log files.
#
#$FileOwner syslog
#$FileGroup adm
#$FileCreateMode 0640
#$DirCreateMode 0755
#$Umask 0022
#$PrivDropToUser syslog
#$PrivDropToGroup syslog
Restart rsyslog
cf: https://forums.raspberrypi.com/viewtopic.php?t=278033
First run the command:
route -n
It will show the metrics of the interface.
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.2.1 0.0.0.0 UG 202 0 0 eth1
0.0.0.0 192.168.1.12 0.0.0.0 UG 303 0 0 wlan0
The lower the route priority first. So eth0 is higher than wlan0.
interface wlan0
metric 100
And run route -n, it will then show:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.12 0.0.0.0 UG 100 0 0 wlan0
0.0.0.0 192.168.2.1 0.0.0.0 UG 204 0 0 eth1
Thus, wlan0 will is higher than eth1.
Becuase wlan0 is the external interface, while eth1 is for internal interface, the wlan0 priority
need to be higher than eth1. Otherwise, the outside internet can not be reached.
For windows:
The following image shows the NIC is set to metric 5.
cf: https://stackoverflow.com/questions/52998331/imagemagick-security-policy-pdf-blocking-conversion
Due to ImageMagick security policy, just remove the lines from /etc/ImageMagick-6/policy.xml
:
<!-- disable ghostscript format types -->
<policy domain="coder" rights="none" pattern="PS" />
<policy domain="coder" rights="none" pattern="PS2" />
<policy domain="coder" rights="none" pattern="PS3" />
<policy domain="coder" rights="none" pattern="EPS" />
<policy domain="coder" rights="none" pattern="PDF" />
<policy domain="coder" rights="none" pattern="XPS" />