![]() |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ForumWed Feb 5 00:42:31 2025 UTC
Help:
Cards: The Package Manager
![]() Mon Feb 3 16:37:02 2025 UTC
Help:
Cards: The Package Manager
![]() Mon Feb 3 00:02:45 2025 UTC
Help:
Cards: The Package Manager
![]() Sun Feb 2 05:04:23 2025 UTC
Help:
Cards: The Package Manager
![]() Mon Jan 13 10:12:36 2025 UTC
Help:
General
![]() Mon Dec 16 08:41:36 2024 UTC
Help:
General
![]() Wed Nov 27 11:18:31 2024 UTC
Help:
General
![]() Sun Nov 24 14:26:31 2024 UTC
Help:
General
![]() Mon Nov 18 18:43:34 2024 UTC
Help:
General
![]() Wed Nov 13 08:34:40 2024 UTC
Help:
General
![]() |
Mon Feb 10 20:03:00 2025 UTC The install-nutyx scriptContentsIntroductionThe script can be started from an already installed NuTyX, a 'LIVE' ISO or from another distribution. Make sure you are using Bash interpreter otherwise the script will fail. If you use another distribution, make sure your distribution is running a compatible glibc version otherwise the script will fail. It must be executed from the root account. This script allows the installation of a base NuTyX in a folder. It's signature can be verified by downloading the http://download.nutyx.org/install-nutyx.md5sum file. ![]() Let's start with a simple exampleThe traditionnal example to show how simple it is. The script can install a Base NuTyX in the /mnt/hd by default. The command is as simple as: bash install-nutyx The installation will start immediatly. Configuration variables
The script will analyse the /etc/install-nutyx.conf file if it exist and used defined variables in it. Here is a summary example of the /etc/install-nutyx.conf file: URL="http://localhost" DEPOT="/DEPOT" LFS="/mnt/lfs" VERSION="rolling" Typical example of the script: Install a NuTyX from the 'LIVE' iso
By default, it will be the rolling branch of the NuTyX installed; it's possible to specify another branch. Specify the name of the branch via the VERSION variable. It should exist on the depot server. VERSION="testing" bash install-nutyx The default URL will be used for downloading and configuration of NuTyX. To instead specify another URL, use the URL variable. URL="http://192.168.0.254" bash install-nutyx By default, it will be the /mnt/hd folder used for the installation, the LFS variable can be set to specify a new destination folder: LFS="/My-NuTyX" bash install-nutyxThe folder will be automatically created if it does not already exist. You can combine several variables: LFS="/MINI-ISO" \ VERSION="rolling" \ URL="http://192.168.0.254" \ CHROOT="acl attr expat" \ bash install-nutyx If you want to have your own configuration, it's possible to place your configuration files in the /etc/install-nutyx.conf.d/ folder. When you run the script, if files are found there, they will be used instead of the default ones.
As a conclusion: ![]() Produce a customised ISO![]() As specified above, the ISO variable allows you to specify the name of the ISO to generate. For example, the command below: sudo ISO=gnome bash install-nutyxwill install and produce a gnome NuTyX in the /mnt/hd folder. Possible ISO names are: strict, mini, base, cli, gui, xorg, openbox, jwm, lxde, xfce4, mate, gnome and kde6 It is possible to test the command and thus view all the commands that are affected. ISO=gnome bash install-nutyx -t List of variables: LFS : /mnt/hd URL : http://downloads.nutyx.org VERSION : rolling KERNEL : DEPOT : /var/lib/pkg/depot MOUNT : SHELL : /bin/bash DEPOT_BASE : http://downloads.nutyx.org/x86_64/rolling/base CHROOT : nutyx busybox curl gcc bzip2 glibc zlib lz4 xz zstd \ libarchive openssl cards CORE : acl attr bash coreutils readline expat ncurses lzo gmp \ flex file gzip mpc mpfr grep sed findutils binutils inetutils diffutils \ shadow bc less libcap util-linux kmod kbd pam gdbm e2fsprogs libpipeline \ gettext procps-ng psmisc sudo tzdata iproute2 iana-etc groff man-db \ cards.man nutyx.man dialog cpio squashfs lsb-release grub eudev sysklogd \ sysvinit kernel efibootmgr linux-firmware systemd runyx wireless-tools \ wpa-supplicant gpm gpm.service dosfstools make-ca xdg-user-dirs \ sound-theme-freedesktop ntp ntp.service flcards gvfs network-manager-applet \ xorg-xinit xorg-xf86-input-synaptics xorg-xf86-input-wacom \ xorg-xrandr xorg-setxkbmap firefox gparted leafpad scrot vlc gnome epiphany \ evolution simple-scan gnome-weather gnome-chess DEVEL : mkinitramfs $(basename /lib/modules/*) mv boot/initrd-* boot/initrd-stable cards purge exit 0 ISO : GNOME STRICT : kernel MINI : dhcpcd BASE : efibootmgr linux-firmware systemd runyx wireless-tools \ wpa-supplicant CLI : gpm gpm.service dosfstools make-ca xdg-user-dirs \ sound-theme-freedesktop ntp ntp.service GUI : flcards gvfs network-manager-applet firefox gparted leafpad scrot vlc XORG : xorg-xinit xorg-xf86-input-synaptics xorg-xf86-input-wacom \ xorg-xrandr xorg-setxkbmap CDE : cde OPENBOX : lxdm openbox openbox-jp-theme JWM : lxdm jwm jwm-miyolinux-theme LXDE : lxdm lxde LXQT : breeze-gtk sddm lxqt CINNAMON : lightdm cinnamon ENLIGHTENMENT: lightdm enlightenment XFCE4 : lxdm xfce4 xfce4-extra BUDGIE : budgie MATE : lightdm mate GNOME : gnome gnome-extra KDE6 : kde6 ISO Filename /mnt/hd/NuTyX_x86_64-25.02.5-GNOME.iso As we can see, new variables are now available. These can also be redefined at your convenience: STRICT, BASE, CLI, GUI, XORG, GNOME, KDE6, BUDGIE, CINNAMON, ENLIGHTENMENT, CDE, OPENBOX, JWM, LXDE, XFCE4, MATE. Each variable specify a set of packages to be installed. Each ISO name use a set of thoses variables to build up the specified ISO. That means, by specifying your own set of packages for some or all of those variables, you will generate your very own ISO. The table below shows which combination of each of thoses variables are used for each ISO.
A few examplessudo ISO=KDE6 install-nutyx install and produce a standard kde6 ISO in the /mnt/hd directory. sudo \ ISO="lxde" \ XORG="xorg-xf86-input-synaptics" \ BASE="linux-firmware wireless-tools wpa-supplicant" \ GUI="xorg-xrandr deadbeef geany firefox" \ DEVEL="&& setup-nutyx start && echo 'ready ?' && read a" \ CLI="dhcpcd openssh git cdrtools syslinux libisoburn dosfstools" \ LFS="/MyIso" \ DEPOT="/media/www" \ MOUNT="/media/www" \ install-nutyx install and produce a customised lxde ISO. The BASE, CLI, GUI, XORG, DEVEL, LFS, MOUNT and DEPOT variables redefined. |