Showing posts with label Debian. Show all posts
Showing posts with label Debian. Show all posts

Thursday, 12 July 2018

Debian System Startup and shutdown / Run Levels


The proper startup and shutdown of services required for a system to function and fulfill its purpose is central to its management. While Unix init scripts (also known as System V or SysV scripts, due to their origin in Unix System V) have a long history and are in one form or another, common to all Unix and Linux systems, the way in which they are managed, sequenced, enabled, disabled, and the preferred script format often differs somewhat between distributions. The primary areas to be aware of for Debian startup and shutdown scripts include the purpose of run levels, dependency-based
sequencing, and utilities available for administering the boot sequence.

See also:


Debian run levels
In Debian, as in nearly all Unix/Linux operating systems, run levels from 0 through 6 are available, defined as follows:
• 0: System Halt
• 1: Single User (maintenance)
• 2 to 5: Multi-User Modes
• 6: System Reboot  
Note that run levels 2 through 5 are identical in Debian. This is unlike some other
distributions, such as RedHat, Fedora, SuSE, or OpenSuSE, which give specific
purposes to some of these run levels. For example, run level 2 in these distributions
is often defined as one without network support, 3 with networking, 4 with file
sharing, and 5 includes a display manager which isn't active in the other run levels.
In most Debian systems, there is no difference between the multiuser run levels, and
all of the init scripts default to active in levels 2 through 5. This doesn't mean you
can't define your own purposes for different run levels. However, if you do choose
to do this, do not manually edit the various links to init scripts in the run level
directories. The update-rc.d command should be used instead. The reason for this
is that Debian now defaults to dependency based boot sequencing.

Friday, 24 November 2017

Linux Distributions

My personal opinions on some of the most popular Linux Distributions.
Keep in mind that any of the below Linux distributions can be a stable server and a nice
graphical desktop client.

CHOOSING A LINUX DISTRIBUTIONS

Distribution Name                          Reason(s) For Using

Red Hat Enterprise (RHEL)          You are a manager and you want a good support contract.
CentOS                                         You want Red Hat without the support contract from Red Hat.
Fedora                                           You want Red Hat on your laptop/desktop.
Linux Mint                                      You want a personal graphical desktop to play movies, music and games.
Debian                                           My personal favorite for servers, laptops, and any other device.
Ubuntu                                           Very popular, based on Debian, not my favorite.
Kali                                                 You want a pointy-clicky hacking interface.
others                                             Advanced users may prefer Arch, Gentoo, OpenSUSE,   Scientific, etc.
                                                           
Below are some links to help you choose:

www.distrowatch.com

www.redhat.com

www.centos.org

www.debian.org



www.ubuntu.com