Create a file ~/.config/pcmanfm/LXDE-pi/pcmanfm.conf for the "default" user (the one created when installed) with the following contents.
[volume]
mount_on_startup=0
mount_removable=0
autorun=1
After a reboot USB
4607 views
If you're using one of the provided ClusterCTRL images the cluserctrl tool will already be installed but those using the
21207 views
To prevent the device tree configuration from being loaded from a Raspberry Pi HAT add the following to your config.txt
4228 views
To enable auto logins on the TTY running on any serial port on the Controller log in and run the
7928 views
The pX number of a node for control is set by it's priority (this might not be the same as
6211 views
Running "clusterctrl status" you will get output similar to the below text.
clusterhat:1
clusterctrl:2
maxpi:10
ctrl_bus:20:4:3 21:3:3
hat_version:1.2
hat_version_major:1
hat_version_minor:2
hat_size:4
hat_uuid:622aef87-17d6-4022-a370-781e1c3fe2b9
hat_vendor:8086 Consultancy
hat_product_id:0x0004
throttled:0x0
hat_alert:0
p1:0
p2:0
p3:0
p4:0
ctrl20:FW:1.1 ADC1:5014mV T1:18.60C
p5:0
u5:1
p6:0
u6:1
p7:0
u7:1
ctrl21:FW:1.1 ADC1:4891mV T1:23.52C
p8:0
u8:1
p9:0
u9:1
p10:0
u10:1
clusterhat:False if no
9697 views
A Compute Module will boot as a USB device if either USBBOOT is enabled or it can't find bootcode.txt in
5699 views
To boot a Compute Module as a USB device USBBOOT must be enabled.
Background
When using ClusterCTRL with Compute Modules "clusterctrl status"
6618 views
To boot a Compute Module from the eMMC USBBOOT must be disabled.
If your Compute Module doesn't already have a bootable
5809 views
To resize the last partition in a disk image, for example a Raspberry Pi SD card image first increase the
6507 views
To allow <hostname>.local domains to be resolved on Armbian install the following.
sudo apt-get install avahi-daemon libnss-mdns libnss-mymachines
You should then be
7429 views
To connect using IPv4.
apt -o Acquire::ForceIPv4=true update
Or to use IPv6 only.
apt -o Acquire::ForceIPv6=true update
3910 views
Using "du" with the following options will show usage of all files and directories including hidden (those starting with a
6902 views
When using GPT you can use sgdisk to copy the partition table.
FROM="/dev/sdX"
TO="/dev/sdY"
sgdisk $FROM -R $TO
sgdisk -G $TO
This will copy the
3890 views
The kernel command line (cmdline) can be edited in "/etc/default/grub" (GRUB_CMDLINE_LINUX).
Once edited you will need to rebuild the config for grub2
8219 views
Using du with a wildcard would not normally include "hidden" directories/files (those starting with a dot). But you can show
8795 views
First you need a list of the packages on the old server.
rpm -qa --qf "%{NAME}\n" > rpmlist.txt
Copy this file to
6237 views
This example works on Debian 13, but will likely work on other distributions too (CentOS 7).
Save a copy of the
39493 views
To setup SNMP daemon firstly install the required packages.
yum install net-snmp net-snmp-devel net-snmp-libs net-snmp-utils
Then edit the main configuration file
vi /etc/snmp/snmpd.conf
Find
25777 views
CentOS 7 now includes a tool to change the timezone, to view your current timezone run the following command.
timedatectl
This should
50557 views
To suspend a VM on host shutdown you will need to configure the following file
vi /etc/sysconfig/libvirt-guests
Set the following options (which
18414 views
To force a static (pre-defined name for a KVM Virtual Machine you will need to edit the configuration file for
7757 views
To setup your server to run a full desktop VNC session first we need to install the required packages.
yum groupinstall
6550 views
Coming from a minimal install the first step is to install the required software
# yum install net-tools qemu-kvm libvirt virt-install
31016 views
To update the mailbox usage statistics for a cPanel account simply run the following replacing "<USERNAME>" with the cpanel username.
/scripts/generate_maildirsize
33768 views