The steps are as follows:
1.Get root privileges
sudo su
2.Disable the related services
systemctl stop proc-sys-fs-binfmt_misc.mount
systemctl disable proc-sys-fs-binfmt_misc.mount
3.Uninstall gnome and restart
apt-get purge gnome-shell
apt-get purge gnome-themes*
apt-get remove gnome-panel
dpkg -l | grep gnome
apt-get purge gnome-*
dpkg -l | grep gnome
apt-get purge *gnome*
apt-get autoclean
apt-get autoremove
reboot
Here is the comparison in terms of memory, hard disk space usage, boot log and speed.
- Memory comparison
Server saves 0.3GB in memory usage.
Desktop:
free -h
total used free shared buff/cache available
Mem: 1.9Gi 769Mi 761Mi 12Mi 416Mi 1.1Gi
Swap: 127Mi 0B 127Mi
Server:
free -h
total used free shared buff/cache available
Mem: 1.9Gi 416Mi 1.3Gi 1.0Mi 182Mi 1.4Gi
Swap: 127Mi 0B 127Mi
- Hard disk space comparison
Server saves about 0.4GB in hard disk usage.
Desktop:
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 29G 2.7G 25G 10% /
tmpfs 974M 0 974M 0% /dev/shm
tmpfs 390M 1.9M 388M 1% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
/dev/mmcblk1p1 500M 32M 469M 7% /boot
tmpfs 195M 92K 195M 1% /run/user/1000
Server:
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 29G 2.3G 26G 9% /
tmpfs 974M 0 974M 0% /dev/shm
tmpfs 390M 1.6M 388M 1% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
/dev/mmcblk1p1 500M 32M 469M 7% /boot
tmpfs 195M 8.0K 195M 1% /run/user/1000
- DEBIX boot log is normal.
- DEBIX boot speed is significantly improved.
- Server only displays command line after boot.