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
49
votes
2 answers

Prevent the possiblity of writing data to an unmounted mount point directory

I have an Ubuntu server where I'm automounting an external hard drive each boot. To do this, I've created an empty folder on the root partition, and the drive gets mounted "inside" this folder. However, what if I perform a backup to this path when…
LonnieBest
  • 1,510
  • 4
  • 22
  • 39
49
votes
4 answers

Can't get bower working - bower ESUDO Cannot be run with sudo

I get the following error when I run bower: bower ESUDO Cannot be run with sudo Thing is, I'm not running bower with sudo. The command I run is: bower install foo or bower search cats I am logged in as root to an Ubuntu 12.04 server but I am not…
Lothar_Grimpsenbacher
  • 1,677
  • 3
  • 19
  • 29
49
votes
8 answers

Ubuntu Apache: httpd.conf or apache2.conf?

which one of these two files should I use to configure Apache? The httpd.conf is empty, while apache2.conf is not. It confuses me!
ajsie
  • 1,215
  • 4
  • 20
  • 28
47
votes
3 answers

How do I upgrade from PHP 5.3 to PHP 5.4.6 in Ubuntu?

Is there an easy way out to get the latest PHP? I have tried updating my package but none of it has 5.4.6 yet... if anyone knows on how to do it quickly, can it be shared here? I've tried compiling from the source, but I am constantly getting: …
user79356
  • 627
  • 1
  • 8
  • 13
47
votes
6 answers

Apache "Client denied by server configuration", despite allowing access to directory (vhost configuration)

in Apache on Ubuntu I've set up a vhost, but in the browser I keep getting a "403 Access forbidden" error; the log says "Client denied by server configuration: /home/remix/". Looking for the solution online I found many posts about the directory…
GroovyPanda
  • 573
  • 1
  • 4
  • 6
46
votes
3 answers

UFW Firewall Rules ordering?

I have the following rules on our server within UFW: To Action From -- ------ ---- 22 ALLOW 217.22.12.111 22 ALLOW …
dannymcc
  • 2,717
  • 10
  • 48
  • 72
46
votes
3 answers

How to check my PHP and MySQL version on Ubuntu VPS?

HI I am going to install MyBB but I am not sure whether I have installed the correct version of PHP and MySQL. PHP version 5.1.0 or above with XML Extension installed MySQL version 4.0 or above How to check that? Especiall the PHP XML…
DocWiki
  • 683
  • 2
  • 7
  • 8
46
votes
7 answers

Why rsync is faster than NFS?

Few days ago I noticed something rather odd (at least for me). I ran rsync copying the same data and deleting it afterwards to NFS mount, called /nfs_mount/TEST. This /nfs_mount/TEST is hosted/exported from nfs_server-eth1. The MTU on both network…
grs
  • 2,235
  • 6
  • 28
  • 36
46
votes
4 answers

How do I request a new IP address from my DHCP server using Ubuntu Server?

I know there is a simple command for this, but how do I tell my Ubuntu server instance to request a new IP address from the DHCP server on eth0?
Heat Miser
  • 585
  • 1
  • 5
  • 7
45
votes
4 answers

Ubuntu 15.10 Server; W: Possible missing firmware /lib/firmware/ast_dp501_fw.bin for module ast

I'm running Ubuntu 15.10 server on a Asrock E3C226D2I board. When I get a kernel update or run update-initramfs -u I get a warning about missing firmware: root@fileserver:~# update-initramfs -u update-initramfs: Generating…
wouter
  • 553
  • 1
  • 4
  • 6
45
votes
6 answers

How do you set a locale non-interactively on Debian/Ubuntu?

Usually, I run aptitude -y install locales then dpkg-reconfigure locales to set up locale. Now I want to put it into a shell script, how can I reliably do the following, automatically / non-interactively? Choose en_US.UTF-8 and set it as system…
kenn
  • 665
  • 1
  • 6
  • 10
45
votes
6 answers

Forwarding ports to guests in libvirt / KVM

How can I forward ports on a server running libvirt/KVM to specified ports on VM's, when using NAT? For example, the host has a public IP of 1.2.3.4. I want to forward port 80 to 10.0.0.1 and port 22 to 10.0.0.2. I assume I need to add iptables…
steveh7
  • 453
  • 1
  • 5
  • 4
44
votes
2 answers

Damaged /vmlinuz and /initrd.img symbolic links after Kernel uninstall

OS: Ubuntu 8.04 LTS Server Edition We just rolled back an kernel update using the following command: sudo apt-get remove linux-image-2.6.24-24-server The uninstallation was successful, but it had the following message before apt-get exited: The…
maxyfc
  • 543
  • 1
  • 6
  • 6
44
votes
1 answer

How do I tell what is running on which ports in Ubuntu?

How could I tell what is listening on which ports on Ubuntu? In other words, how do I get a list of ports that are in use?
Genadinik
  • 1,103
  • 4
  • 19
  • 39
44
votes
3 answers

How do I clear the "s" permission on a directory in Linux?

I have a directory that is showing up with the permission mask drwsrwsr-x. When I try to reset the permissions to 755 the S still remains. What is the "s" and why cant I change the permissions back to 775 (drwxrwxr-x)?
Matt Elhotiby
  • 889
  • 3
  • 10
  • 22