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.

16409 questions
338
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,545
  • 5
  • 18
  • 10
205
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,211
  • 2
  • 14
  • 10
198
votes
3 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,575
  • 2
  • 18
  • 19
195
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,447
  • 5
  • 18
  • 15
147
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,907
  • 4
  • 16
  • 11
141
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,314
  • 3
  • 21
  • 28
137
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,766
  • 3
  • 16
  • 18
133
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,697
  • 3
  • 16
  • 18
132
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,763
  • 4
  • 32
  • 43
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,699
  • 9
  • 30
  • 35
122
votes
4 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,330
  • 2
  • 9
  • 8
113
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,243
  • 2
  • 9
  • 6
110
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
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
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
1
2 3
99 100