1 | useradd --shell /bin/bash -u $UID -o -c "" -U -m $USERNAME |
…
1 | useradd --shell /bin/bash -u $UID -o -c "" -U -m $USERNAME |
…
…One of the fundamental rules that people should follow as programmers is to assume that they are terrible at it, and that means offloading risky stuff to either the language (preferably) or a standard library (if the language doesn’t have built-in support) where possible.
There are literally no examples anywhere on how to use Pydio’s RESTful API.…
Say you want to dump a database, or even all databases, but with just a sample of all the data, say, 10 000 records per table of each of the databases.…
This is what you need to add to the server scope of your pydio host (please correct the paths to the data folder below):
1 2 3 4 5 6 7 8 | sgdisk -R <New_Disk> <Existing_Disk> # Also set a new GUID on new drive after cloning the partition table sgdisk -G <New_Disk> # Add new partitions to RAID, for example: mdadm --manage /dev/md0 --add /dev/sda1 mdadm --manage /dev/md1 --add /dev/sda2 mdadm --manage /dev/md2 --add /dev/sda3 |
References:
…