Questions tagged [debian]

Debian is a popular and influential GNU/Linux distribution. Questions here should generally be about Debian Server.

Debian GNU/Linux its one of the oldest and more popular Linux distributions. The Debian project was started in 1993 by Ian Murdock (the name Debian is a junction of Debra + Ian, his girlfriend at the time). Debian strongest points are the portability, stability and commitment to the free software ideal.

The current Debian version (6.0, code named Squeeze) has more than 29.000 software packages available on nine platforms (including SPARC, ARM, PowerPC), and 2 platforms supporting the FreeBSD kernel (Debian GNU/kfreebsd on i386 and amd64). The Debian APT package management provides dependency management and strong update and upgrade capabilities.

Debian maintains normally 3 versions of its repositories: stable (the current release), testing (the next release), unstable (new packages and versions). After debian makes a new release, the previous stable release is maintained for one year, and is re-labed oldstable. Squeeze also included the backports repository where some software from the testing will be made available to the stable release, and updates (previously named volatile) to deal with software that evolves too fast. Debian also makes point releases with aggregated updates and updated tools, those keep the release name but update the version like Debian 6.1 for example.

Debian has a Social Contract with its users and will only distribute on its main distribution software that is compatible with the Debian Free Software Guidelines.Those two devices were created on the early days of the distribution and also are the basis for Open Source Initiative's Open Source Definition.

The Debian project organization counts with the Debian Project Leader, the Debian Project Secretary and the Debian Developers. The developers are responsible for the releases, packaging software, managing the FTPs, security and so on. Each Project Leader is elected for a period of one year and any Developer can be a candidate.

Ubuntu Linux uses Debian as its base, as well as other well known distributions like Maemo, Mint, Knoppix and several others. The Wikipedia article has also more details about the distribution, as well as Debian's official site.

7581 questions
80
votes
5 answers

Best location to keep SSL certificates and private keys on Ubuntu servers?

On Ubuntu, it looks like the best place for a private key used to sign a certificate (for use by nginx) is in /etc/ssl/private/ This answer adds that the certificate should go in /etc/ssl/certs/ but that seems like an unsafe place. Do .crt files…
Adam Nelson
  • 1,647
  • 3
  • 14
  • 12
78
votes
9 answers

What is the debian-sys-maint MySQL user (and more)?

I have been bitten several times by the 'debian-sys-maint' user that is installed by default on the mysql-server packages installed from the Ubuntu repositories. Generally what happens is I pull a fresh copy of our production database (which is not…
Joe Holloway
  • 1,909
  • 3
  • 19
  • 17
78
votes
7 answers

How to check for modified config files on a Debian system?

How to find all Debian managed configuration files which have been changed from the default?
malclocke
  • 1,711
  • 1
  • 12
  • 6
74
votes
2 answers

How should an IT department choose a standard Linux distribution?

There is a lot of community feeling about what Linux distributions are appropriate for production server environments and which aren't, however, a lot of this feeling seems religiously based, and seldom presented with supporting evidence. Assuming…
wfaulk
  • 6,878
  • 7
  • 46
  • 75
69
votes
7 answers

automate dpkg-reconfigure tzdata

I'm using puppet to admin a cluster of debian servers. I need to change the timezone of each machine on the cluster. The proper debian way to do this is to use dpkg-reconfigure tzdata. But I can only seem to change it if I use the dialog. Is…
razor
68
votes
11 answers

Disable a service from starting at all runlevels?

I have a service foo which currently starts at runlevel 3 and above. How can I stop it from doing so, without using update-rc.d foo stop 3 ., which (if I understand it correctly) would turn off the service at each runlevel change. (ie., if I was at…
lfaraone
  • 1,611
  • 3
  • 18
  • 23
68
votes
3 answers

How do I enable non-free packages on Debian?

How can I enable non-free packages on Debian? I want to install Sun's Java JDK but it's not available to me.
Quiffner
  • 683
  • 1
  • 5
  • 4
66
votes
10 answers

Question marks showing in ls of directory. IO errors too

Has anyone seen this before? I've got a raid 5 mounted on my server and for whatever reason it started showing this: jason@box2:/mnt/raid1/cra$ ls -alh ls: cannot access e6eacc985fea729b2d5bc74078632738: Input/output error ls: cannot access…
jaymoo
66
votes
8 answers

What steps do you take to secure a Debian server?

I am installing a Debian server which is connected directly to the Internet. Obviously I want to make it as secure as possible. I would like you guys/gals to add your ideas to secure it and what programs you use for it. I want part of this question…
Thomaschaaf
  • 3,092
  • 5
  • 30
  • 24
65
votes
12 answers

MySQL keeps crashing: InnoDB: Unable to lock ./ibdata1, error: 11

I have a simple webserver (Debian 6.0 x86, DirectAdmin with 1 GB of memory and still 10 GB free space, mySQl version 5.5.9), however the mySQL server keeps crashing and I need to kill all mySQL processes to be able to restart it…
Devator
  • 1,473
  • 4
  • 18
  • 37
64
votes
7 answers

How to change a SSH host key?

I cloned a server and so they've the same RSA key fingerprint. It seems to be defined in /etc/ssh/ssh_host_rsa_key.pub. What is the correct way to change that? Thanks.
Pascal Polleunus
  • 1,353
  • 2
  • 11
  • 14
63
votes
4 answers

Purpose of Debian "sites-available" and "sites-enabled" directories?

Can anyone tell me—in a nutshell—what the purpose of these two directories are in Debian? /etc/apache2/sites-enabled /etc/apache2/sites-available I notice that diffing sites-available/000-default and sites-enabled/default shows they are…
aaaidan
  • 732
  • 1
  • 5
  • 8
62
votes
11 answers

How Often Should I Update our Linux Server?

I am responsible for managing both our production server (mail, web, database are all on one server) and our test server. Both are built on Debian. However as I am very new to system administration, I have only been installing updates as I come…
Noah Goodrich
  • 19,427
  • 6
  • 25
  • 16
62
votes
2 answers

debian packages version convention

I'm using debian/Ubuntu, and get confused about versions of packages. When using dpkg -l command, I get: ii vim 2:7.3.429-2ubuntu2.1 Vi IMproved - enhanced vi editor ii vim-common …
cizixs
  • 923
  • 2
  • 8
  • 11
61
votes
5 answers

What's the difference between 'useradd' and 'adduser'?

What's the difference between useradd and adduser? When/why should I prefer using one or the other?
lindelof
  • 919
  • 1
  • 8
  • 11