Difference between revisions of "Debian"
Jump to navigation
Jump to search
| (9 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 = | | screenshot = Debian 11 with GNOME desktop.png | ||
| screenshot_alt = Screenshot of Debian | | screenshot_alt = Screenshot of Debian 11 (Bullseye) with the [[GNOME]] desktop environment 3.38 | ||
| caption = Debian | | caption = Debian 11 (Bullseye) running its default [[w:Desktop_environment|desktop environment]], [[GNOME]] version 3.38 | ||
| 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 --> | ||
| Line 13: | Line 15: | ||
| 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 = | | 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 = [[w:Long- | | updatemodel = [[w:Long-term_support|Long-term support]] in stable edition, [[rolling release]] in unstable and testing editions | ||
| package_manager = [[ | | package_manager = [[APT (Debian)|APT]] (front-end), [[dpkg]] | ||
| supported_platforms = [[ | | 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> | ||
| kernel_type = [[ | | kernel_type = [[Linux kernel]] | ||
| userland = [[ | | userland = [[GNU Core Utilities|GNU]] | ||
| ui = | | ui = | ||
* [[ | * [[GNOME]] on DVD | ||
* [[ | * [[XFCE]] on CD and non-Linux ports | ||
* [[ | * [[MATE (software)|MATE]] available on Debian's website | ||
* [[ | * [[KDE Plasma 5|KDE Plasma]] available on Debian's website | ||
* [[ | * [[LXQt]] available on Debian's website | ||
* [[ | * [[LXDE]] available on Debian's website | ||
* [[ | * [[Cinnamon (desktop environment)|Cinnamon]] available on Debian's website | ||
| license = [[Debian Free Software Guidelines|DFSG]]-compatible licenses | |||
| website = {{Official URL}} | |||
| license = [[ | |||
| website = | |||
}} | }} | ||
| Line 47: | 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 11 (Bullseye) running its default desktop environment, GNOME version 3.38 | |
| Developer | The Debian Project |
|---|---|
| OS family | Unix-like |
| Working state | Current |
| Source model | Open source |
| Initial release | September 1993 |
| Latest release | 10.10 (Buster)[1] (June 19, 2021) [±] |
| Latest preview | 12 (Bookworm)[2] |
| Available in | 75 languages |
| Update method | Long-term support in stable edition, rolling release in unstable and testing editions |
| Package manager | APT (front-end), dpkg |
| Platforms | x86-64, arm64, armel, armhf, i386, mips, mipsel, mips64el, ppc64el, s390x,[3] riscv64 (in progress)[4] |
| Kernel type | Linux kernel |
| Userland | GNU |
| Default user interface | |
| License | DFSG-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
- ↑ "Updated Debian 10: 10.10 released". Debian News. Debian. June 19, 2021. Retrieved June 19, 2021.
- ↑ "Debian Release Notes". debian.org. Archived from the original on August 14, 2021. Retrieved August 14, 2021.
- ↑ "Debian -- Ports". Archived from the original on November 22, 2016. Retrieved May 26, 2014.
- ↑ "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:
- # 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!