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
43
votes
3 answers

Linux: how to give a user permission to restart apache?

I have a script running under a non-root user which, under certain conditions, should restart apache httpd. What would be the simplest way for me to allow the user to do that? I'm using Ubuntu Server 8.04 LTS.
itsadok
  • 1,869
  • 5
  • 22
  • 33
43
votes
6 answers

How to disconnect from lxc-console

I'm working with lxc in Ubuntu 12.04, and it's really great. However, I am unable to disconnect from a lxc-console session after I've connected. I read somewhere that Ctrl-aq will disconnect me from the console but it doesn't seem to work. Should I…
robbyt
  • 1,642
  • 3
  • 14
  • 26
43
votes
6 answers

How do I permanently disable Linux's console screen saver, system-wide?

I've got an Ubuntu server that boots up in text mode. It rarely has a screen or keyboard attached to it, but when I do attach a screen, I usually have to attach a keyboard too, because the darn console mode screen saver will be on and I'll need to…
raldi
  • 987
  • 4
  • 11
  • 13
42
votes
6 answers

Improving TCP performance over a gigabit network with lots of connections and high traffic of small packets

I’m trying to improve my TCP throughput over a “gigabit network with lots of connections and high traffic of small packets”. My server OS is Ubuntu 11.10 Server 64bit. There are about 50.000 (and growing) clients connected to my server through TCP…
Worker
  • 647
  • 1
  • 6
  • 9
42
votes
6 answers

Starting network connection from Ubuntu recovery?

I tried to upgrade Ubuntu from Hardy to Intrepid last night, and seem to have killed it. I can boot into "recovery mode" and the root shell, but it freezes when it tries to start the Gnome environment etc. In this recovery mode it doesn't seem to…
interstar
  • 1,281
  • 4
  • 18
  • 23
42
votes
12 answers

Find last time update was performed with apt-get

I need to find the last time that the apt-get update command was run on my server. How can I determine this information?
Mark Roddy
  • 777
  • 2
  • 11
  • 13
42
votes
4 answers

Setup ubuntu server to send mail()

I tried searching a lot but unable to find how to actually setup a ubuntu server, so that I can send mails through php using mail() function in php. I have apache2, mysql and php5 installed on my server. Thank You.
Shishant
  • 683
  • 2
  • 8
  • 13
41
votes
1 answer

Unable to execute gcc: No such file or directory

I am running Ubuntu LTS and I'm getting errors when trying to do some of my pip install stuff, like scrapy for example. This is the error I get: Unable to execute gcc: No such file or directory Error: command 'gcc' failed with exit status 1 I'm…
J.Zil
  • 1,123
  • 3
  • 21
  • 29
41
votes
5 answers

Can dpkg verify files from an installed package?

With rpm -qV openssh-server I will get a list of files that have changed compared to default. ~$ rpm -qV openssh-server S.?....T. c /etc/ssh/sshd_config ~$ Can dpkg on Ubuntu do the same?
Sandra
  • 10,303
  • 38
  • 112
  • 165
41
votes
2 answers

How to reduce number of sockets in TIME_WAIT?

Ubuntu Server 10.04.1 x86 I've got a machine with a FCGI HTTP service behind nginx, that serves a lot of small HTTP requests to a lot of different clients. (About 230 requests per second in the peak hours, average response size with headers is 650…
Alexander Gladysh
  • 2,423
  • 8
  • 31
  • 49
40
votes
3 answers

Can't create symlinks in virtualbox shared folders

A few days ago I found I can no longer create symlinks from Ubuntu in any directories that are shared with the OS X host. ln: creating symbolic link `foo': Read-only file system I'm able to create symlinks in non-shared folders and on OS X…
rlayte
  • 509
  • 1
  • 4
  • 5
40
votes
2 answers

Run command as Linux "system" user (shell = /bin/false)

I created a "system" user in Ubuntu 11.04 (adduser --system) for running certain cron jobs, but sometimes I want to test things out by manually running commands as that user. What's the easiest way to do this? su doesn't work, because the user has…
EMP
  • 5,172
  • 10
  • 37
  • 33
39
votes
6 answers

Why should I enable IO APIC in VirtualBox?

What are the advantages of checking the "Enable IO APIC" option in VirtualBox? While I can't find any information on advantages when I google it, two disadvantages are clear. First, it can break older Windows VMs if it is disabled after…
Abtin Forouzandeh
  • 1,299
  • 3
  • 12
  • 13
39
votes
4 answers

BASH Scripting, su to www-data for single command

I am working on automating the creation of subversion repositories and associated websites as described in this blog post I wrote. I am running into issues right around the part where I su to the www-data user to run the following command: svnadmin…
Brendon Dugan
  • 503
  • 1
  • 4
  • 6
39
votes
6 answers

How do I pipe a downloaded file to standard output in bash?

How is it possible to pipe out wget's downloaded file? If not what alternatives should I use?
Alex
  • 2,357
  • 5
  • 32
  • 41