Questions tagged [ubuntu]

Ubuntu Linux is a Debian derivative that aims to bring Linux mainstream. Questions on this site should generally refer to Ubuntu Server. Note that http://askubuntu.com is specifically dedicated to Ubuntu questions.

Ubuntu Linux is a Debian derivative that aims to bring Linux mainstream. Ubuntu is named after the South African philosophy of "humanity towards others," and the community observes a Code of Conduct in an effort to keep the project civil and appealing to novices.

Ubuntu versions are released every six months, following a YEAR.MONTH pattern. For example, the release codenamed Maverick was officially published October 10th 2010 as Ubuntu 10.10. Each release gets the software from the Debian Unstable repository, freezes it and fix and adapt it to Ubuntu philosophy.

A list of Ubuntu releases can be found here

Ubuntu Linux is backed by Canonical Ltd., a company founded and funded by South African Mark Shuttleworth, entrepreneur and Debian Developer. The focus of Canonical is to provide support and services to Ubuntu Linux Desktop and Server editions. Canonical employers sometimes develop to Ubuntu and Debian at the same time, that way keeping the contributions flowing back to Debian.

There is a Stack Exchange site dedicated to Ubuntu which is a good place to ask any Ubuntu-related questions.

15918 questions
326
votes
4 answers

What are the functional differences between .profile .bash_profile and .bashrc

What are the functional differences between the .profile, .bash_profile and .bashrc files?
lollercoaster
  • 3,425
  • 5
  • 17
  • 10
188
votes
2 answers

How do I ask apt-get to skip any interactive post-install configuration steps?

I have a server build script which uses apt-get to install packages. It then puts pre-written configuration files directly in place, so the interactive post-install configuration dialog in packages such as postfix is not needed. How do I skip this…
jl6
  • 2,455
  • 2
  • 18
  • 19
187
votes
5 answers

Difference in sites-available vs sites-enabled vs conf.d directories (Nginx)?

I have some experience using linux but none using nginx. I have been tasked with researching load-balancing options for an application server. I have used apt-get to install nginx and all seems fine. I have a couple of questions. What is the…
Seth Spearman
  • 2,031
  • 2
  • 13
  • 10
184
votes
14 answers

How to view all ssl certificates in a bundle?

I have a certificate bundle .crt file. doing openssl x509 -in bundle.crt -text -noout only shows the root certificate. how do i see all the other certificates?
pdeva
  • 2,327
  • 5
  • 17
  • 15
138
votes
5 answers

Job scheduling using crontab, what will happen when computer is shutdown during that time?

I schedule some tasks using crontab. What will happen if my computer is shutdown or turned off during the time when cron was scheduled to do something? Does each missed cron job run after computer is turned on, or are missed jobs for that day…
seg.server.fault
  • 1,817
  • 4
  • 16
  • 11
134
votes
3 answers

How to remove the "installed manually" flag and revert to "automatically installed" with apt-get?

To compile something, I needed the zlib1g-dev package to be installed so I launched an apt-get install zlib1g-dev. apt-get informed me nicely that the package was already auto-installed because of an other package, and that it understands that I…
Steve Schnepp
  • 2,222
  • 3
  • 21
  • 27
133
votes
13 answers

How do I get apt-get to ignore some dependencies?

How do I make apt-get ignore some dependencies? For example, I wanted to install mailx so I can use it to send email from cron scripts/report-generating tools. However, installing mailx also installs exim4 and a whole bunch of dependencies (I…
FrancisV
  • 1,726
  • 3
  • 15
  • 18
127
votes
10 answers

Can you run Docker natively on the new Windows 10 (Ubuntu) bash userspace?

My understanding was that the primary limitation of running docker on other OSs was the Linux Network containers that made it possible. (Certainly for Macs). Recently Microsoft announced a beta of a Ubuntu linux user mode running natively on…
Hawkeye
  • 2,669
  • 9
  • 30
  • 34
125
votes
12 answers

Can I hide all server / os info?

I don't want anyone to be able to detect that I'm using NGINX or even Ubuntu from the internet. There are tools out there (such as BuiltWith) which scan servers to detect what tools they're using. Also, some cracking tools might help with deteting.…
orokusaki
  • 2,693
  • 4
  • 28
  • 42
121
votes
3 answers

How do I auto-start docker containers at system boot?

What is a good way to automatically start docker containers when the system boots up? Is there a preferred way to do this on Ubuntu 14.04? I've used supervisord in the past to auto start web apps. But that doesn't feel like the right thing for…
Stefan Arentz
  • 1,320
  • 2
  • 9
  • 8
121
votes
3 answers

How do I reattach to Ubuntu Server's 'do-release-upgrade' process?

I accidentally pressed Ctrl+C during Ubuntu Server's do-release-upgrade process. I'd dropped to a shell to compare a .conf file in /etc/. When I pressed Ctrl-C, it asked whether I wanted to try to reattach to the upgrade process, but it failed to do…
Alex Leach
  • 1,577
  • 3
  • 14
  • 18
106
votes
8 answers

How to determine JAVA_HOME on Debian/Ubuntu?

On Ubuntu it is possible to have multiple JVMs at the same time. The default one is selected with update-alternatives. But this does not set the JAVA_HOME environment variable, due to a debian policy. I am writing a launcher script (bash), which…
Witek
  • 1,433
  • 3
  • 14
  • 16
106
votes
12 answers

How to start/stop iptables on Ubuntu?

How can I start/stop the iptables service on Ubuntu? I have tried service iptables stop but it is giving "unrecognized service". Why is it doing so? Is there any other method?
neha soni
104
votes
17 answers

CentOS vs. Ubuntu

I had a web server that ran Ubuntu, but the hard drive failed recently and everything was erased. I decided to try CentOS on the machine instead of Ubuntu, since it's based on Red Hat. That association meant a lot to me because Red Hat is a…
DLH
  • 1,115
  • 2
  • 10
  • 13
102
votes
8 answers

Which ports do I need to open in the firewall to use NFS?

I'm running Ubuntu 11.10 - setting up NFS to share a directory among many other servers. Which ports are required to be opened on the firewall?
kenny
  • 1,133
  • 2
  • 8
  • 6
1
2 3
99 100