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

Difference between revisions of "Debian"

From wiki.filipefonseca.pt
Jump to navigation Jump to search
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{short description|Linux distribution based on free and open-source software}}
{{good article}}
{{Use mdy dates|date=March 2014}}
{{Infobox OS
{{Infobox OS
| name = Debian
| logo = Debian-OpenLogo.svg
| logo = Debian-OpenLogo.svg
| logo_size = 100px
| logo_size = 100px
| logo_alt = Debian OpenLogo
| logo_alt = Debian OpenLogo
| screenshot = File:Debian10_Gnome.png
| screenshot = Debian 11 with GNOME desktop.png
| screenshot_alt = Screenshot of Debian 10 (buster) with the GNOME desktop environment
| screenshot_alt = Screenshot of Debian 11 (Bullseye) with the [[GNOME]] desktop environment 3.38
| caption = Debian 10 (buster) with the GNOME desktop environment
| caption = Debian 11 (Bullseye) running its default [[w:Desktop_environment|desktop environment]], [[GNOME]] version 3.38
| [[w:Programmer|Developer]] = The Debian Project
| developer = The Debian Project
| family = [[w:Unix-like|Unix-like]] <!-- per [[template:Infobox OS/doc]] as of December 18, 2019 -->
| family = [[w:Unix-like|Unix-like]] <!-- per [[template:Infobox OS/doc]] as of December 18, 2019 -->
| working_state = Current
| working_state = Current
| source_model = [[w:Open-source software|Open source]]
| source_model = [[w:Open-source software|Open source]]
| released = {{Start date and age|1993|09}}
| released = {{Start date and age|1993|09}}
| latest preview version = 11 (Bullseye)<ref>{{cite web |url = https://www.debian.org/releases/testing/releasenotes |title = Debian Release Notes |publisher = debian.org |access-date = 19 April 2020 |archive-date = March 14, 2021 |archive-url = https://web.archive.org/web/20210314180146/https://www.debian.org/releases/testing/releasenotes |url-status = live }}</ref>
| latest preview version = 12 (Bookworm)<ref>{{cite web |url = https://www.debian.org/releases/testing/releasenotes |title = Debian Release Notes |publisher = debian.org |access-date = 14 August 2021 |archive-date = 14 August 2021 |archive-url = https://web.archive.org/web/20210814214331/https://www.debian.org/releases/testing/releasenotes |url-status = live }}</ref>
| language = 75 languages
| language = 75 languages
| updatemodel = [[Long-term support]]
| updatemodel = [[w:Long-term_support|Long-term support]] in stable edition, [[rolling release]] in unstable and testing editions
| package_manager = [[APT (Debian)|APT]] (front-end), [[dpkg]]
| package_manager = [[APT (Debian)|APT]] (front-end), [[dpkg]]
| supported_platforms = [[x86-64]], [[arm64]], [https://wiki.debian.org/ArmEabiPort armel], [[armhf]], [[i386]], [[MIPS architecture|mips]], [[mipsel]], [[MIPS architecture|mips64el]], [[ppc64el]], [[s390x]],<ref>{{cite web |url = https://www.debian.org/ports/ |title = Debian -- Ports |access-date = May 26, 2014 |archive-date = November 22, 2016 |archive-url = https://web.archive.org/web/20161122100500/http://www.debian.org/ports/ |url-status = live }}</ref> [[RISC-V|riscv64]] (in progress)<ref>{{cite web | url=https://wiki.debian.org/RISC-V | title=RISC-V - Debian Wiki | access-date=2018-01-24 | archive-date=March 20, 2018 | archive-url=https://web.archive.org/web/20180320153651/https://wiki.debian.org/RISC-V | url-status=live }}</ref>
| supported_platforms = [[x86-64]], [[arm64]], [https://wiki.debian.org/ArmEabiPort armel], [[armhf]], [[i386]], [[MIPS architecture|mips]], [[mipsel]], [[MIPS architecture|mips64el]], [[ppc64el]], [[s390x]],<ref>{{cite web |url = https://www.debian.org/ports/ |title = Debian -- Ports |access-date = May 26, 2014 |archive-date = November 22, 2016 |archive-url = https://web.archive.org/web/20161122100500/http://www.debian.org/ports/ |url-status = live }}</ref> [[RISC-V|riscv64]] (in progress)<ref>{{cite web | url=https://wiki.debian.org/RISC-V | title=RISC-V - Debian Wiki | access-date=2018-01-24 | archive-date=March 20, 2018 | archive-url=https://web.archive.org/web/20180320153651/https://wiki.debian.org/RISC-V | url-status=live }}</ref>
Line 22: Line 26:
* [[XFCE]] on CD and non-Linux ports
* [[XFCE]] on CD and non-Linux ports
* [[MATE (software)|MATE]] available on Debian's website
* [[MATE (software)|MATE]] available on Debian's website
* [[KDE Plasma]] available on Debian's website
* [[KDE Plasma 5|KDE Plasma]] available on Debian's website
* [[LXQt]] available on Debian's website
* [[LXQt]] available on Debian's website
* [[LXDE]] available on Debian's website
* [[LXDE]] available on Debian's website
* [[Cinnamon (desktop environment)|Cinnamon]] available on Debian's website
* [[Cinnamon (desktop environment)|Cinnamon]] available on Debian's website
| license = [[Debian Free Software Guidelines|DFSG]]-compatible licenses
| license = [[Debian Free Software Guidelines|DFSG]]-compatible licenses
| website = {{Official URL}}
| website = {{Official URL}}
Line 45: Line 47:
;PREPARE DEBIAN FOR HTTP-SQL-PHP
;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
     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
<references />
=== move /var folder to separated location: ===
-check disk is avaliable:
# # lsblk
-partition disk:
# # fdisk /dev/xvdb
# # mkfs.ext4 /dev/xvdb1
-create tmp mount folder:
# #mkdir /var-new
-get block id and add to /etc/fstab
# # blkid
-mount partition
# #mount -a
-check:
# # df -h
-create new folder and copy /var into:
# # cd /var-new/
# # cp -rp /var/* .
# # ls -la
-change /var folder:
# # cd /
# # ls -la
# # mv /var /var-old
-unmount partition and rename folder:
# # umount /var-new
# # mv /var-new /var
-modify /etc/fstab
-reboot
-check:
# # df -h
done!

Latest revision as of 05:07, 11 February 2022

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!