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.

learn more… | top users | synonyms (2)

13
votes
2answers
4k views

Automate the installation of postfix on Ubuntu

My system configuration script does an "apt-get install -y postfix". Unfortunately the script is halted when the postfix installer displays a configuration screen. Is there a method to force postfix ...
10
votes
3answers
5k views

Set up sftp to use password but ssh not to use password

Is it possible to set up a user on ubuntu with openssh so that ssh does not use password authentication but sftp does? I assume that if I change /etc/ssh/ssh_config to have PasswordAuthentication yes ...
10
votes
6answers
979 views

How to choose a cloud service for backups

I am thinking of using a cloud service to backup one of my client's website. My (clients) main concerns are (in decreasing order of importance) Protection of IP (trade secrets, source code), user ...
7
votes
6answers
2k views

/var is using 91.4% of 3.99GB in new Ubuntu dedicated server from 1and1

Yesterday I purchased a dedicated server package from 1and1. I installed Rails, Mongo and nginx. Today, when I logged in, it displays this message: Welcome to Ubuntu 12.04 LTS (GNU/Linux ...
7
votes
2answers
2k views

How to create a “terminal server server” in xubuntu

I am pretty new to system administration, and I am definitively new to serverfault, so apologies should my question not be following SF standards to the 100%. This is my problem: I have a xubuntu ...
3
votes
11answers
852 views

Ubuntu Server SSH

I have a server with ubuntu. I do work on it over SSH. I had a problem with brute force attempts over port 22. I changed the port and I assumed it fixed the brute force problem. Am I right or are the ...
15
votes
4answers
24k views

How to force downgrade of packages on Ubuntu (Karmic)?

After doing an update on a bunch of pulseaudio packages my microphone stopped working. It's fine, after all Karmic is still in Alpha. I have reported the bug to launchpad. In the meanwhile I would ...
14
votes
6answers
2k views

How to grant temporary access to server?

I've hired a remote consultant to tune up my servers. Now, I am not 100% confident about giving him root password and allow him to do whatever he wants to do on the servers. Ideally, I want to see ...
11
votes
2answers
5k views

PXE Booting Virtualbox guests in internal networking mode?

I am not sure if this is just specific to my distro's packages or is a vbox limitation. So, any help would be appreciated. Ok, so I have a network of VMs, with one VM acting as a NAT for the other ...
10
votes
8answers
9k views

Should I completely turn off swap for linux webserver?

Recently my friend told me that it is a good idea to turn off swap on linux webservers with enough memory. My server has 12 GB and currently uses 4GB (not counting cache and buffers) under peak load. ...
9
votes
3answers
6k views

Can't create symlinks in virtualbox shared folders [closed]

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 ...
9
votes
1answer
10k views

How to generate a /etc/shadow compatible password for Ubuntu 10.04?

How are passwords generated that are used by Ubuntu 10.04? I know that they use SHA 512 as hashing algorithm, but I figure that there is some sort of salting done. I need to generate such a password ...
4
votes
3answers
4k views

Error when installing rabbitMQ server on Ubuntu 10.10

When I install rabbitMQ in synaptic via the following command sudo apt-get install rabbitmq-server it returns an error: Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_log, _err ...
4
votes
5answers
5k views

Updating Dell PowerEdge firmware on Ubuntu?

The company I work for recently got hands on a batch of second hand PowerEdge SC1425 machines. We'd like to put these to good use. Our operating system of choice is Ubuntu Server 10.04 64-bit, which ...
3
votes
1answer
1k views

Running Multiple Publicly Accessible Web Servers on a Single IP Address

I have three separate web servers with three different internal IP addresses on a network with only one public IP address. Each web server has security restrictions such that I cannot just run all of ...
3
votes
3answers
26k views

How do I register Linux server with Windows DNS server

I have several Ubuntu machines (mostly 8.04) that I would like to register their hostnames (or desired hostnames) with my main DNS server running on Windows 2000 so that I can access these machines ...
30
votes
4answers
23k views

ubuntu apache: httpd.conf or apache2.conf?

which one of these 2 files should i use to configure apache? the httpd.conf is empty while apache2.conf is not. it confuses me!
10
votes
6answers
18k views

Checkpoint VPN Linux Client

Is there a Linux client for Checkpoint VPN? Preferably for Ubuntu? -- Rubem
9
votes
6answers
3k views

GUI on Ubuntu server?

I'm primarily a developer, but as part of this I'm running an Ubuntu server for a client where he has several small to medium sized websites. Although my main development environment has generally ...
8
votes
2answers
9k views

SFTP fatal bad ownership or modes for chroot directory ubuntu 12.04

I just set up my SFTP server and it works fine when I use it from my first user account. I wanted to add a user which we will call 'magnarp'. At first I did like this in sshd_config: Subsystem sftp ...
8
votes
2answers
4k views

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 ...
8
votes
5answers
3k views

Boot Debian while RAID array is degraded

Recently, I came across Ubuntu Server install. During install, it asked me whether or not to allow booting system from degraded RAID array (probably because I installed system onto RAID1 /dev/md0 ...
5
votes
2answers
4k views

How do I install the latest stable version of Redis?

I am new to redis. and I just followed cli to install redis sudo apt-get install redis. but the install server version is 2.2.12 . If I want to update this version and I want to install redis 2.7 + ...
5
votes
2answers
2k views

Network authentication + roaming home directory - which technology should I look into using?

I'm looking into software which provides a user with a single identity across multiple computers. That is, a user should have the same permissions on each computer, and the user should have access to ...
5
votes
3answers
1k views

Setting up a postfix email server

When I set up an email server using postfix on ubuntu server, how do I make sure that it won't be an open relay??
4
votes
7answers
10k views

How to disable CD-ROM and USB for normal users in Linux?

How can access to CD-ROM and USB be disabled for normal users in Linux? As a part of security policy we need to disable CD-ROM and USB access for normal users. Only root users should have the access. ...
4
votes
3answers
4k views

PHP 5.2x on Ubuntu 10.04 Lucid Lynx

It appears that Lucid Lynx comes with PHP 5.3. Is there a convenient way to downgrade to the latest 5.2x release?
2
votes
3answers
4k views

Using GlusterFS for simple replication

newbie question. I need to build this: /shared folder ~500GB of files, ~1MB each one. Two boxes (server1 and server2) connected by a 1Gbs LAN Every box needs to get r/w access to the files, so ...
2
votes
8answers
6k views

What next after Ubuntu? Arch Linux / FreeBSD / Gentoo

I have been using Ubuntu, mainly as a production system for a very long time. Fedora Core and Mandrake before that. I am a developer, mostly working over networking core - L3/L4. I wish to graduate to ...
0
votes
3answers
3k views

how to completely disable ipv6 on Ubuntu 9.04

what i have done: /etc/modprobe.d/blacklist.conf blacklist net-pf-10 blacklist ipv6 /boot/grub/menu.lst title Ubuntu 9.04, kernel 2.6.28-15-server kernel ...
21
votes
5answers
4k views

A domain I've never heard of resolves to my website [duplicate]

I've discovered (via looking at mod_pagespeed cache entries) that a completely random domain I've never heard of before is resolving to my website. If I visit this domain, my website loads. The DNS ...
21
votes
3answers
13k views

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 ...
20
votes
9answers
7k views

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?
14
votes
4answers
25k views

Ubuntu Server - How Do I Request a new IP From my DHCP 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?
13
votes
4answers
5k views

Given a debian source package - How do I install the build-deps?

I have a debian (well technically ubuntu) source package, i.e. the .dsc, the .tar.gz, etc., I want to build this. The dpkg-buildpackage fails, since I don't have all the build dependencies. Normally ...
13
votes
3answers
11k views

what is sensible-mda and do i need it?

I'm running Ubuntu Intrepid, and have been seeing the following my logs: Aug 23 16:01:03 wp1 sm-mta[13700]: n7NFJIad013566: Warning: program /usr/sbin/sensible-mda unsafe: No such file or directory ...
12
votes
4answers
5k views

Ubuntu's garbage collection cron job for PHP sessions takes 25 minutes to run, why?

Ubuntu has a cron job set up which looks for and deletes old PHP sessions: # Look for and purge old sessions every 30 minutes 09,39 * * * * root [ -x /usr/lib/php5/maxlifetime ] \ ...
10
votes
1answer
2k views

I am still running Ubuntu 13.04, how should I react to the Heartbleed Bug? [duplicate]

I know that 13.04 is affected (or at least my installation is) because of the OpenSSL version currently installed. However, after running sudo apt-get update sudo apt-get upgrade I checked my ...
10
votes
2answers
5k views

My linux server was hacked. How do I find out how and when it was done?

I have a home server running a desktop ubuntu distribution. I found this in my crontab * * * * * /home/username/ /.access.log/y2kupdate >/dev/null 2>&1 and when looking in that directory ...
9
votes
2answers
21k views

Run nginx as a non-root user

I followed this process to installing nginx on my Ubuntu 10.04 Lucid Server http://library.linode.com/web-servers/nginx/installation/ubuntu-10.04-lucid I got lost after the point of creating an init ...
9
votes
4answers
4k views

Port Forwarding from Host to Guest with libvirt 0.8.3 Using KVM on Ubuntu

The host has a single external IP available, so I set my KVM guests up with NAT. How do I set up a port forwarding to forward some of the requests from the outside to the guests? I couldn't find ...
9
votes
11answers
5k views

Any way to run Linux as a Virtual Machine on top of Windows so can have best of both worlds?

Since Linux has a lot of useful tools, while Windows has a lot of apps (like Chrome), instead of buying another machine to run Linux, is there a way to run it as a Virtual Machine on the PC? The ...
8
votes
7answers
7k views

Simple Mail System for Ubuntu?

What I'm looking for should be relatively easy. All I want to do is setup something VERY small for Ubuntu that will allow me to use the mail() function in PHP from my web server (/var/www/). I don't ...
8
votes
4answers
6k views

/bin/ls not found, even though it exists!

This is a server running ubuntu 8.04 server, any idea what's going on? # ls -bash: /bin/ls: No such file or directory # /bin/ls -bash: /bin/ls: No such file or directory # stat /bin/ls File: ...
7
votes
4answers
4k views

RAID 1+0 vs RAID 0+1

I went with some advice I was given from someone I know to go with a RAID setup for this server I ordered. The specs are below. I plan on using this server to host multiple sites in a PHP/MySQL ...
6
votes
2answers
7k views

Disk/RAID Monitoring for HP Proliant Servers and Ubuntu 12.04

How can I monitor the status of the hard disks and the RAIDs of an HP Proliant server using Ubuntu 12.04. In Ubuntu 10.04 I could use the cciss-vol-status to query the RAID status periodically but ...
6
votes
4answers
1k views

Easy way to convert custom 32-bit AMI into 64-bit one?

I have customised (EBS-backed) AMI for running a demo version of an application of ours. (The AMI contains Ubuntu 11.04 with a Tomcat & MySQL setup for the app itself, and Jenkins for easy ...
6
votes
3answers
10k views

Allow scp/ssh for www-data user

I am on Amazon EC2 using Ubuntu 10.04.2 My web folder is owned by www-data so I want to be able to log into my server as www-data for ssh and scp. Thanks! Adding the line to my /etc/ssh/sshd_config ...
5
votes
1answer
1k views

add_header directives in location overwriting add_header directives in server

Using nginx 1.2.1 I am able to add multiple headers using add_header as follows: server { listen 80; server_name localhost; root /var/www; add_header Name1 Value1; <=== ...
5
votes
5answers
2k views

Disable/Remove Apt(-get)

Is there anyway to disable/remove apt-get on a debian based server. I'd prefer to use aptitude, and don't want the other users to be installing packages with apt-get, to avoid package/database issues. ...