ho un server su cui girano i servizi che mi servono:
amule-daemon
transmission-daemon (torrent)
plexmediaserver
samba
nfs
ssh
Al momento credo di sprecare risorse e vorrei ottimizzare magari tenendo attivi solo i servizi essenziali + quelli in neretto.
Il server all'accensione passa su runlevel 5, la mia idea era quella di:
-> configurare un runlevel senza interfaccia grafica <- (installata Lubuntu)
e -> fare in modo che di default parta sul runlevel da server <-, con la possibilità all'avvio di scegliere il runlevel 5 con interfaccia grafica per altri usi..
Non so come si fà e soprattutto vorrei che in caso di aggiornamenti non mi si scombini grub o altri disastri..
Mi potete aiutare?
GRAZIE
Codice: Seleziona tutto
$ ls -l rc*.d -r
rcS.d:
totale 0
lrwxrwxrwx 1 root root 20 gen 11 2020 S01x11-common -> ../init.d/x11-common
lrwxrwxrwx 1 root root 13 gen 11 2020 S01ufw -> ../init.d/ufw
lrwxrwxrwx 1 root root 14 gen 11 2020 S01udev -> ../init.d/udev
lrwxrwxrwx 1 root root 17 feb 9 2020 S01rpcbind -> ../init.d/rpcbind
lrwxrwxrwx 1 root root 16 gen 11 2020 S01procps -> ../init.d/procps
lrwxrwxrwx 1 root root 18 gen 11 2020 S01pppd-dns -> ../init.d/pppd-dns
lrwxrwxrwx 1 root root 22 gen 11 2020 S01plymouth-log -> ../init.d/plymouth-log
lrwxrwxrwx 1 root root 20 feb 9 2020 S01nfs-common -> ../init.d/nfs-common
lrwxrwxrwx 1 root root 14 gen 11 2020 S01kmod -> ../init.d/kmod
lrwxrwxrwx 1 root root 27 gen 11 2020 S01keyboard-setup.sh -> ../init.d/keyboard-setup.sh
lrwxrwxrwx 1 root root 18 gen 11 2020 S01apparmor -> ../init.d/apparmor
lrwxrwxrwx 1 root root 20 gen 11 2020 S01alsa-utils -> ../init.d/alsa-utils
rc6.d:
totale 0
lrwxrwxrwx 1 root root 15 gen 11 2020 K01uuidd -> ../init.d/uuidd
lrwxrwxrwx 1 root root 29 gen 11 2020 K01transmission-daemon -> ../init.d/transmission-daemon
lrwxrwxrwx 1 root root 14 gen 11 2020 K01smbd -> ../init.d/smbd
lrwxrwxrwx 1 root root 21 gen 11 2020 K01samba-ad-dc -> ../init.d/samba-ad-dc
lrwxrwxrwx 1 root root 17 gen 11 2020 K01rsyslog -> ../init.d/rsyslog
lrwxrwxrwx 1 root root 17 feb 9 2020 K01rpcbind -> ../init.d/rpcbind
lrwxrwxrwx 1 root root 18 gen 11 2020 K01plymouth -> ../init.d/plymouth
lrwxrwxrwx 1 root root 14 gen 11 2020 K01nmbd -> ../init.d/nmbd
lrwxrwxrwx 1 root root 27 feb 9 2020 K01nfs-kernel-server -> ../init.d/nfs-kernel-server
lrwxrwxrwx 1 root root 20 feb 9 2020 K01nfs-common -> ../init.d/nfs-common
lrwxrwxrwx 1 root root 19 apr 4 2020 K01mono-xsp4 -> ../init.d/mono-xsp4
lrwxrwxrwx 1 root root 18 gen 12 2020 K01minidlna -> ../init.d/minidlna
lrwxrwxrwx 1 root root 17 gen 11 2020 K01lightdm -> ../init.d/lightdm
lrwxrwxrwx 1 root root 20 gen 11 2020 K01kerneloops -> ../init.d/kerneloops
lrwxrwxrwx 1 root root 20 gen 11 2020 K01irqbalance -> ../init.d/irqbalance
lrwxrwxrwx 1 root root 19 gen 11 2020 K01bluetooth -> ../init.d/bluetooth
lrwxrwxrwx 1 root root 22 gen 11 2020 K01avahi-daemon -> ../init.d/avahi-daemon
lrwxrwxrwx 1 root root 22 gen 11 2020 K01amule-daemon -> ../init.d/amule-daemon
lrwxrwxrwx 1 root root 20 gen 11 2020 K01alsa-utils -> ../init.d/alsa-utils
rc5.d:
totale 0
lrwxrwxrwx 1 root root 18 gen 11 2020 S01whoopsie -> ../init.d/whoopsie
lrwxrwxrwx 1 root root 15 gen 11 2020 S01uuidd -> ../init.d/uuidd
lrwxrwxrwx 1 root root 29 gen 11 2020 S01transmission-daemon -> ../init.d/transmission-daemon
lrwxrwxrwx 1 root root 13 gen 11 2020 S01ssh -> ../init.d/ssh
lrwxrwxrwx 1 root root 14 gen 11 2020 S01smbd -> ../init.d/smbd
lrwxrwxrwx 1 root root 21 gen 11 2020 S01samba-ad-dc -> ../init.d/samba-ad-dc
lrwxrwxrwx 1 root root 17 gen 11 2020 S01rsyslog -> ../init.d/rsyslog
lrwxrwxrwx 1 root root 15 gen 11 2020 S01rsync -> ../init.d/rsync
lrwxrwxrwx 1 root root 18 gen 11 2020 S01plymouth -> ../init.d/plymouth
lrwxrwxrwx 1 root root 14 gen 11 2020 S01nmbd -> ../init.d/nmbd
lrwxrwxrwx 1 root root 27 feb 9 2020 S01nfs-kernel-server -> ../init.d/nfs-kernel-server
lrwxrwxrwx 1 root root 19 apr 4 2020 S01mono-xsp4 -> ../init.d/mono-xsp4
lrwxrwxrwx 1 root root 17 gen 11 2020 S01lightdm -> ../init.d/lightdm
lrwxrwxrwx 1 root root 20 gen 11 2020 S01kerneloops -> ../init.d/kerneloops
lrwxrwxrwx 1 root root 20 gen 11 2020 S01irqbalance -> ../init.d/irqbalance
lrwxrwxrwx 1 root root 21 gen 11 2020 S01grub-common -> ../init.d/grub-common
lrwxrwxrwx 1 root root 14 gen 11 2020 S01dbus -> ../init.d/dbus
lrwxrwxrwx 1 root root 14 gen 11 2020 S01cron -> ../init.d/cron
lrwxrwxrwx 1 root root 26 gen 11 2020 S01console-setup.sh -> ../init.d/console-setup.sh
lrwxrwxrwx 1 root root 24 apr 4 2020 S01binfmt-support -> ../init.d/binfmt-support
lrwxrwxrwx 1 root root 22 gen 11 2020 S01avahi-daemon -> ../init.d/avahi-daemon
lrwxrwxrwx 1 root root 16 gen 11 2020 S01apport -> ../init.d/apport
lrwxrwxrwx 1 root root 17 gen 11 2020 S01anacron -> ../init.d/anacron
lrwxrwxrwx 1 root root 22 gen 11 2020 S01amule-daemon -> ../init.d/amule-daemon
lrwxrwxrwx 1 root root 15 gen 11 2020 S01acpid -> ../init.d/acpid
lrwxrwxrwx 1 root root 18 gen 12 2020 K01minidlna -> ../init.d/minidlna
lrwxrwxrwx 1 root root 14 gen 11 2020 K01cups -> ../init.d/cups
lrwxrwxrwx 1 root root 19 gen 11 2020 K01bluetooth -> ../init.d/bluetooth
rc4.d:
totale 0
lrwxrwxrwx 1 root root 18 gen 11 2020 S01whoopsie -> ../init.d/whoopsie
lrwxrwxrwx 1 root root 15 gen 11 2020 S01uuidd -> ../init.d/uuidd
lrwxrwxrwx 1 root root 29 gen 11 2020 S01transmission-daemon -> ../init.d/transmission-daemon
lrwxrwxrwx 1 root root 13 gen 11 2020 S01ssh -> ../init.d/ssh
lrwxrwxrwx 1 root root 14 gen 11 2020 S01smbd -> ../init.d/smbd
lrwxrwxrwx 1 root root 21 gen 11 2020 S01samba-ad-dc -> ../init.d/samba-ad-dc
lrwxrwxrwx 1 root root 17 gen 11 2020 S01rsyslog -> ../init.d/rsyslog
lrwxrwxrwx 1 root root 15 gen 11 2020 S01rsync -> ../init.d/rsync
lrwxrwxrwx 1 root root 18 gen 11 2020 S01plymouth -> ../init.d/plymouth
lrwxrwxrwx 1 root root 14 gen 11 2020 S01nmbd -> ../init.d/nmbd
lrwxrwxrwx 1 root root 27 feb 9 2020 S01nfs-kernel-server -> ../init.d/nfs-kernel-server
lrwxrwxrwx 1 root root 19 apr 4 2020 S01mono-xsp4 -> ../init.d/mono-xsp4
lrwxrwxrwx 1 root root 17 gen 11 2020 S01lightdm -> ../init.d/lightdm
lrwxrwxrwx 1 root root 20 gen 11 2020 S01kerneloops -> ../init.d/kerneloops
lrwxrwxrwx 1 root root 20 gen 11 2020 S01irqbalance -> ../init.d/irqbalance
lrwxrwxrwx 1 root root 21 gen 11 2020 S01grub-common -> ../init.d/grub-common
lrwxrwxrwx 1 root root 14 gen 11 2020 S01dbus -> ../init.d/dbus
lrwxrwxrwx 1 root root 14 gen 11 2020 S01cups -> ../init.d/cups
lrwxrwxrwx 1 root root 14 gen 11 2020 S01cron -> ../init.d/cron
lrwxrwxrwx 1 root root 26 gen 11 2020 S01console-setup.sh -> ../init.d/console-setup.sh
lrwxrwxrwx 1 root root 19 gen 11 2020 S01bluetooth -> ../init.d/bluetooth
lrwxrwxrwx 1 root root 24 apr 4 2020 S01binfmt-support -> ../init.d/binfmt-support
lrwxrwxrwx 1 root root 22 gen 11 2020 S01avahi-daemon -> ../init.d/avahi-daemon
lrwxrwxrwx 1 root root 16 gen 11 2020 S01apport -> ../init.d/apport
lrwxrwxrwx 1 root root 17 gen 11 2020 S01anacron -> ../init.d/anacron
lrwxrwxrwx 1 root root 22 gen 11 2020 S01amule-daemon -> ../init.d/amule-daemon
lrwxrwxrwx 1 root root 15 gen 11 2020 S01acpid -> ../init.d/acpid
lrwxrwxrwx 1 root root 18 gen 12 2020 K01minidlna -> ../init.d/minidlna
rc3.d:
totale 0
lrwxrwxrwx 1 root root 18 gen 11 2020 S01whoopsie -> ../init.d/whoopsie
lrwxrwxrwx 1 root root 15 gen 11 2020 S01uuidd -> ../init.d/uuidd
lrwxrwxrwx 1 root root 29 gen 11 2020 S01transmission-daemon -> ../init.d/transmission-daemon
lrwxrwxrwx 1 root root 13 gen 11 2020 S01ssh -> ../init.d/ssh
lrwxrwxrwx 1 root root 14 gen 11 2020 S01smbd -> ../init.d/smbd
lrwxrwxrwx 1 root root 21 gen 11 2020 S01samba-ad-dc -> ../init.d/samba-ad-dc
lrwxrwxrwx 1 root root 17 gen 11 2020 S01rsyslog -> ../init.d/rsyslog
lrwxrwxrwx 1 root root 15 gen 11 2020 S01rsync -> ../init.d/rsync
lrwxrwxrwx 1 root root 18 gen 11 2020 S01plymouth -> ../init.d/plymouth
lrwxrwxrwx 1 root root 14 gen 11 2020 S01nmbd -> ../init.d/nmbd
lrwxrwxrwx 1 root root 27 feb 9 2020 S01nfs-kernel-server -> ../init.d/nfs-kernel-server
lrwxrwxrwx 1 root root 19 apr 4 2020 S01mono-xsp4 -> ../init.d/mono-xsp4
lrwxrwxrwx 1 root root 20 gen 11 2020 S01kerneloops -> ../init.d/kerneloops
lrwxrwxrwx 1 root root 20 gen 11 2020 S01irqbalance -> ../init.d/irqbalance
lrwxrwxrwx 1 root root 21 gen 11 2020 S01grub-common -> ../init.d/grub-common
lrwxrwxrwx 1 root root 14 gen 11 2020 S01dbus -> ../init.d/dbus
lrwxrwxrwx 1 root root 14 gen 11 2020 S01cups -> ../init.d/cups
lrwxrwxrwx 1 root root 14 gen 11 2020 S01cron -> ../init.d/cron
lrwxrwxrwx 1 root root 26 gen 11 2020 S01console-setup.sh -> ../init.d/console-setup.sh
lrwxrwxrwx 1 root root 24 apr 4 2020 S01binfmt-support -> ../init.d/binfmt-support
lrwxrwxrwx 1 root root 22 gen 11 2020 S01avahi-daemon -> ../init.d/avahi-daemon
lrwxrwxrwx 1 root root 16 gen 11 2020 S01apport -> ../init.d/apport
lrwxrwxrwx 1 root root 17 gen 11 2020 S01anacron -> ../init.d/anacron
lrwxrwxrwx 1 root root 22 gen 11 2020 S01amule-daemon -> ../init.d/amule-daemon
lrwxrwxrwx 1 root root 15 gen 11 2020 S01acpid -> ../init.d/acpid
lrwxrwxrwx 1 root root 18 gen 12 2020 K01minidlna -> ../init.d/minidlna
lrwxrwxrwx 1 root root 17 gen 11 2020 K01lightdm -> ../init.d/lightdm
lrwxrwxrwx 1 root root 19 gen 11 2020 K01bluetooth -> ../init.d/bluetooth
rc2.d:
totale 0
lrwxrwxrwx 1 root root 18 gen 11 2020 S01whoopsie -> ../init.d/whoopsie
lrwxrwxrwx 1 root root 15 gen 11 2020 S01uuidd -> ../init.d/uuidd
lrwxrwxrwx 1 root root 29 gen 11 2020 S01transmission-daemon -> ../init.d/transmission-daemon
lrwxrwxrwx 1 root root 13 gen 11 2020 S01ssh -> ../init.d/ssh
lrwxrwxrwx 1 root root 14 gen 11 2020 S01smbd -> ../init.d/smbd
lrwxrwxrwx 1 root root 21 gen 11 2020 S01samba-ad-dc -> ../init.d/samba-ad-dc
lrwxrwxrwx 1 root root 17 gen 11 2020 S01rsyslog -> ../init.d/rsyslog
lrwxrwxrwx 1 root root 15 gen 11 2020 S01rsync -> ../init.d/rsync
lrwxrwxrwx 1 root root 18 gen 11 2020 S01plymouth -> ../init.d/plymouth
lrwxrwxrwx 1 root root 14 gen 11 2020 S01nmbd -> ../init.d/nmbd
lrwxrwxrwx 1 root root 27 feb 9 2020 S01nfs-kernel-server -> ../init.d/nfs-kernel-server
lrwxrwxrwx 1 root root 19 apr 4 2020 S01mono-xsp4 -> ../init.d/mono-xsp4
lrwxrwxrwx 1 root root 17 gen 11 2020 S01lightdm -> ../init.d/lightdm
lrwxrwxrwx 1 root root 20 gen 11 2020 S01kerneloops -> ../init.d/kerneloops
lrwxrwxrwx 1 root root 20 gen 11 2020 S01irqbalance -> ../init.d/irqbalance
lrwxrwxrwx 1 root root 21 gen 11 2020 S01grub-common -> ../init.d/grub-common
lrwxrwxrwx 1 root root 14 gen 11 2020 S01dbus -> ../init.d/dbus
lrwxrwxrwx 1 root root 14 gen 11 2020 S01cups -> ../init.d/cups
lrwxrwxrwx 1 root root 14 gen 11 2020 S01cron -> ../init.d/cron
lrwxrwxrwx 1 root root 26 gen 11 2020 S01console-setup.sh -> ../init.d/console-setup.sh
lrwxrwxrwx 1 root root 19 gen 11 2020 S01bluetooth -> ../init.d/bluetooth
lrwxrwxrwx 1 root root 24 apr 4 2020 S01binfmt-support -> ../init.d/binfmt-support
lrwxrwxrwx 1 root root 22 gen 11 2020 S01avahi-daemon -> ../init.d/avahi-daemon
lrwxrwxrwx 1 root root 16 gen 11 2020 S01apport -> ../init.d/apport
lrwxrwxrwx 1 root root 17 gen 11 2020 S01anacron -> ../init.d/anacron
lrwxrwxrwx 1 root root 22 gen 11 2020 S01amule-daemon -> ../init.d/amule-daemon
lrwxrwxrwx 1 root root 15 gen 11 2020 S01acpid -> ../init.d/acpid
lrwxrwxrwx 1 root root 18 gen 12 2020 K01minidlna -> ../init.d/minidlna
rc1.d:
totale 0
lrwxrwxrwx 1 root root 18 gen 11 2020 K01whoopsie -> ../init.d/whoopsie
lrwxrwxrwx 1 root root 15 gen 11 2020 K01uuidd -> ../init.d/uuidd
lrwxrwxrwx 1 root root 13 gen 11 2020 K01ufw -> ../init.d/ufw
lrwxrwxrwx 1 root root 29 gen 11 2020 K01transmission-daemon -> ../init.d/transmission-daemon
lrwxrwxrwx 1 root root 14 gen 11 2020 K01smbd -> ../init.d/smbd
lrwxrwxrwx 1 root root 21 gen 11 2020 K01samba-ad-dc -> ../init.d/samba-ad-dc
lrwxrwxrwx 1 root root 17 gen 11 2020 K01rsyslog -> ../init.d/rsyslog
lrwxrwxrwx 1 root root 17 feb 9 2020 K01rpcbind -> ../init.d/rpcbind
lrwxrwxrwx 1 root root 14 gen 11 2020 K01nmbd -> ../init.d/nmbd
lrwxrwxrwx 1 root root 27 feb 9 2020 K01nfs-kernel-server -> ../init.d/nfs-kernel-server
lrwxrwxrwx 1 root root 20 feb 9 2020 K01nfs-common -> ../init.d/nfs-common
lrwxrwxrwx 1 root root 19 apr 4 2020 K01mono-xsp4 -> ../init.d/mono-xsp4
lrwxrwxrwx 1 root root 18 gen 12 2020 K01minidlna -> ../init.d/minidlna
lrwxrwxrwx 1 root root 17 gen 11 2020 K01lightdm -> ../init.d/lightdm
lrwxrwxrwx 1 root root 20 gen 11 2020 K01kerneloops -> ../init.d/kerneloops
lrwxrwxrwx 1 root root 20 gen 11 2020 K01irqbalance -> ../init.d/irqbalance
lrwxrwxrwx 1 root root 14 gen 11 2020 K01cups -> ../init.d/cups
lrwxrwxrwx 1 root root 19 gen 11 2020 K01bluetooth -> ../init.d/bluetooth
lrwxrwxrwx 1 root root 22 gen 11 2020 K01avahi-daemon -> ../init.d/avahi-daemon
lrwxrwxrwx 1 root root 22 gen 11 2020 K01amule-daemon -> ../init.d/amule-daemon
lrwxrwxrwx 1 root root 20 gen 11 2020 K01alsa-utils -> ../init.d/alsa-utils
rc0.d:
totale 0
lrwxrwxrwx 1 root root 15 gen 11 2020 K01uuidd -> ../init.d/uuidd
lrwxrwxrwx 1 root root 29 gen 11 2020 K01transmission-daemon -> ../init.d/transmission-daemon
lrwxrwxrwx 1 root root 14 gen 11 2020 K01smbd -> ../init.d/smbd
lrwxrwxrwx 1 root root 21 gen 11 2020 K01samba-ad-dc -> ../init.d/samba-ad-dc
lrwxrwxrwx 1 root root 17 gen 11 2020 K01rsyslog -> ../init.d/rsyslog
lrwxrwxrwx 1 root root 17 feb 9 2020 K01rpcbind -> ../init.d/rpcbind
lrwxrwxrwx 1 root root 18 gen 11 2020 K01plymouth -> ../init.d/plymouth
lrwxrwxrwx 1 root root 14 gen 11 2020 K01nmbd -> ../init.d/nmbd
lrwxrwxrwx 1 root root 27 feb 9 2020 K01nfs-kernel-server -> ../init.d/nfs-kernel-server
lrwxrwxrwx 1 root root 20 feb 9 2020 K01nfs-common -> ../init.d/nfs-common
lrwxrwxrwx 1 root root 19 apr 4 2020 K01mono-xsp4 -> ../init.d/mono-xsp4
lrwxrwxrwx 1 root root 18 gen 12 2020 K01minidlna -> ../init.d/minidlna
lrwxrwxrwx 1 root root 17 gen 11 2020 K01lightdm -> ../init.d/lightdm
lrwxrwxrwx 1 root root 20 gen 11 2020 K01kerneloops -> ../init.d/kerneloops
lrwxrwxrwx 1 root root 20 gen 11 2020 K01irqbalance -> ../init.d/irqbalance
lrwxrwxrwx 1 root root 19 gen 11 2020 K01bluetooth -> ../init.d/bluetooth
lrwxrwxrwx 1 root root 22 gen 11 2020 K01avahi-daemon -> ../init.d/avahi-daemon
lrwxrwxrwx 1 root root 22 gen 11 2020 K01amule-daemon -> ../init.d/amule-daemon
lrwxrwxrwx 1 root root 20 gen 11 2020 K01alsa-utils -> ../init.d/alsa-utils


