This is a good article. Click here for more information.

Debian

From wiki.filipefonseca.pt
Jump to navigation Jump to search

Debian
Debian OpenLogo
Screenshot of Debian 11 (Bullseye) with the GNOME desktop environment 3.38
Debian 11 (Bullseye) running its default desktop environment, GNOME version 3.38
DeveloperThe Debian Project
OS familyUnix-like
Working stateCurrent
Source modelOpen source
Initial releaseSeptember 1993; 32 years ago (1993-09)
Latest release10.10 (Buster)[1] (June 19, 2021; 4 years ago (2021-06-19)) [±]
Latest preview12 (Bookworm)[2]
Available in75 languages
Update methodLong-term support in stable edition, rolling release in unstable and testing editions
Package managerAPT (front-end), dpkg
Platformsx86-64, arm64, armel, armhf, i386, mips, mipsel, mips64el, ppc64el, s390x,[3] riscv64 (in progress)[4]
Kernel typeLinux kernel
UserlandGNU
Default user interface
  • GNOME on DVD
  • XFCE on CD and non-Linux ports
  • MATE available on Debian's website
  • KDE Plasma available on Debian's website
  • LXQt available on Debian's website
  • LXDE available on Debian's website
  • Cinnamon available on Debian's website
LicenseDFSG-compatible licenses

Debian run after install

INSTALL ENCRYPTED DEBIAN
   Install Debian with LUKS encrypted partitions
PREPARE DEBIAN VIRTUAL
   apt install figlet fortunes screen dnsutils net-tools iptables-persistent linux-headers-$(uname -r) build-essential gcc make perl dkms wget gnupg2
PREPARE DEBIAN REAL
   apt install figlet fortunes screen dnsutils net-tools iptables-persistent linux-headers-$(uname -r) build-essential gcc make perl dkms wget gnupg2 ifenslave-2.6
PREPARE DEBIAN FOR HTTP-SQL-PHP
   apt install apache2 php php-bcmath php-xml php-common php-imap php-intl php-json php-mbstring php-oauth php-soap php-sqlite3 php-xmlrpc php-zip
  1. "Updated Debian 10: 10.10 released". Debian News. Debian. June 19, 2021. Retrieved June 19, 2021.
  2. "Debian Release Notes". debian.org. Archived from the original on August 14, 2021. Retrieved August 14, 2021.
  3. "Debian -- Ports". Archived from the original on November 22, 2016. Retrieved May 26, 2014.
  4. "RISC-V - Debian Wiki". Archived from the original on March 20, 2018. Retrieved January 24, 2018.

move /var folder to separated location:

-check disk is avaliable:

  1. # lsblk

-partition disk:

  1. # fdisk /dev/xvdb
  2. # mkfs.ext4 /dev/xvdb1

-create tmp mount folder:

  1. #mkdir /var-new

-get block id and add to /etc/fstab

  1. # blkid

-mount partition

  1. #mount -a

-check:

  1. # df -h

-create new folder and copy /var into:

  1. # cd /var-new/
  2. # cp -rp /var/* .
  3. # ls -la

-change /var folder:

  1. # cd /
  2. # ls -la
  3. # mv /var /var-old

-unmount partition and rename folder:

  1. # umount /var-new
  2. # mv /var-new /var

-modify /etc/fstab

-reboot

-check:

  1. # df -h

done!