This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
admin:procedures [2021/09/22 12:43] peppe |
admin:procedures [2024/10/01 11:38] (current) peppe |
||
---|---|---|---|
Line 19: | Line 19: | ||
=== titan-new (10.7.4.44) === | === titan-new (10.7.4.44) === | ||
+ | Για προπτυχιακούς φοιτητές | ||
# create_student_quotas.sh < | # create_student_quotas.sh < | ||
+ | |||
+ | Για μεταπτυχιακούς φοιτητές | ||
+ | # create_grads_quotas.sh < | ||
+ | | ||
+ | Για διδακτορικούς φοιτητές | ||
+ | # create_phd_quotas.sh < | ||
+ | | ||
+ | Για προσωπικό | ||
+ | # create_staff_quotas.sh < | ||
+ | και προσθήκη στο / | ||
---- | ---- | ||
Line 26: | Line 37: | ||
=== uranus === | === uranus === | ||
+ | # acctar.sh < | ||
# accdel.sh < | # accdel.sh < | ||
Line 31: | Line 43: | ||
# vi / | # vi / | ||
# newaliases | # newaliases | ||
- | # rm /var/mail/< | + | # cd /var/mail |
+ | # gzip < | ||
+ | # mv < | ||
=== titan-new (10.7.4.44) === | === titan-new (10.7.4.44) === | ||
Line 44: | Line 58: | ||
==== Τροποποίηση ==== | ==== Τροποποίηση ==== | ||
+ | |||
+ | === script === | ||
+ | # ~/ | ||
=== uranus === | === uranus === | ||
Line 111: | Line 128: | ||
\\ | \\ | ||
Δημιουργία homedirs, uranus: | Δημιουργία homedirs, uranus: | ||
- | # awk ' | + | # awk ' |
Δημιουργία λίστας για gaia:/ | Δημιουργία λίστας για gaia:/ | ||
$ awk ' | $ awk ' | ||
Line 210: | Line 227: | ||
Change system functionality. Examples in ~/bin | Change system functionality. Examples in ~/bin | ||
+ | unicast: | ||
+ | drbl-ocs -b -g auto -e1 auto -e2 -x -r -icds -j2 -p reboot -l en_US.UTF-8 startdisk restore ubuntu22.04-hp705ws01-2022-09-28-07-img sda | ||
+ | |||
+ | multicast: | ||
+ | drbl-ocs -b -g auto -e1 auto -e2 -x -r -icds -j2 -p reboot --clients-to-wait 13 --max-time-to-wait 300 -l en_US.UTF-8 startdisk multicast_restore ubuntu1804LTS-golden-2020-02-11-08-img sda | ||
+ | |||
+ | ==== New machines ==== | ||
+ | |||
+ | === drbl === | ||
+ | - Add IP to dhcpd.conf | ||
+ | - Add hostname to /etc/hosts | ||
+ | - Add permissions to / | ||
+ | |||
+ | === scylla === | ||
+ | / | ||
+ | make | ||
+ | |||
+ | === uranus === | ||
+ | - add/replace / | ||
+ | exportfs -ra | ||
===== Labs installation ===== | ===== Labs installation ===== | ||
- | ==== Convert boot from UEFI to legacy ==== | + | ==== Convert boot from UEFI to legacy |
- Boot ubuntu live USB\\ | - Boot ubuntu live USB\\ | ||
Line 226: | Line 263: | ||
# chroot /mnt | # chroot /mnt | ||
# grub-install /dev/sda | # grub-install /dev/sda | ||
+ | |||
+ | |||
+ | ==== Install zstd compressed archives in debian < 12 ==== | ||
+ | If you are running Debian < 12 and need to install a .deb package that uses zstd, you can repack it: | ||
+ | |||
+ | # Extract files from the archive | ||
+ | ar x some-package.deb | ||
+ | # Uncompress zstd files an re-compress them using xz | ||
+ | zstd -d < control.tar.zst | xz > control.tar.xz | ||
+ | zstd -d < data.tar.zst | xz > data.tar.xz | ||
+ | # Re-create the Debian package in /tmp/ | ||
+ | ar -m -c -a sdsd / | ||
+ | # Clean up | ||
+ | rm debian-binary control.tar.xz data.tar.xz control.tar.zst data.tar.zst | ||