Questions related to Ubuntu Server, and server-related packages.

learn more… | top users | synonyms (2)

10
votes
2answers
6k views

How do I set up a service?

I have a script that I would like to run as a service on my Ubuntu Server 11.04 headless box. That is, I want to have the correct files under /etc/init.d/ and to be able to control it via the service ...
10
votes
3answers
758 views

Tab completion for commands

I've noticed on the Desktop version when typing commands like sudo apt-get install mysq I can tab complete like when resolving file paths. However in the server edition this does not happen. Is there ...
10
votes
3answers
7k views

How do I configure Ubuntu one on a server?

I wish to setup Ubuntu One on my 11.10 server but seems to be running into an error every time I attempt to run commands from http://manpages.ubuntu.com/manpages/lucid/man1/u1sdtool.1.html For ...
10
votes
1answer
4k views

Should I upgrade kernel packages on EC2 instances?

On my EC2 server, when I do sudo apt-get update && sudo apt-get upgrade, I see: The following packages have been kept back: linux-ec2 linux-image-ec2 linux-image-virtual linux-virtual ...
10
votes
1answer
263 views

Could Ask Ubuntu run on Ubuntu + Mono?

Inspired by the old Hacker News conversation about this webiste, I'm wondering: Could Ubuntu and Mono run an ASP.NET MVC website like Ask Ubuntu? The technology is the focus here instead of the ...
10
votes
1answer
3k views

Will backup using rsync preserve ACLs?

I am using backuppc to backup my server. The backups are done using rsyncd. Currently, I am not using ACLs, but I am think it is good to activate it to have finer control over permissions. My ...
10
votes
2answers
2k views

Will `sudo reboot` on KVM host gracefully poweroff guest VMs?

Currently I manually poweroff each KVM guest before rebooting the host. However, this is getting old and now I am up to about 20 guest machines. Can I trust Ubuntu Server 12.04 to do the Right Thing ...
10
votes
2answers
3k views

What IRC servers are available for Ubuntu

I want to setup an IRC server in my local network. I would like to know the IRC server options available for Ubuntu. I heard that irc-hybrid is good. Do you have any other suggestions. The thing is ...
10
votes
1answer
2k views

How do I improve my server disk performance

I have an HP Microserver running Ubuntu 10.04 LTS. It's a low power server with 5 internal drive bays. I use it to backup my remote servers, VPSs and local laptops over the network. I want to get the ...
10
votes
2answers
3k views

What's the recommended way to install Wordpress from packages on a server?

I've got a LAMP server available from http://91.xxx.xx.xx/ (just an example IP address), and I'd like to install Wordpress there. I've gone as far as doing a simple sudo apt-get install wordpress to ...
10
votes
1answer
2k views

Why won't Samba let me delete a file

I'm not an expert at Linux--I'd say 6 on a scale of 1-10 I just set up Samba on my linux ubuntu server (no GUI, cli only). I created the smb account and connected from my mac and mounted my home ...
10
votes
0answers
3k views

Can I use Ubuntu as a file server? [duplicate]

Can I use an Ubuntu desktop system as a file server or is Ubuntu Server better suited for that, and how about the permissions per folder and file? Sorry but this is my first time to use Ubuntu. I'm ...
9
votes
2answers
33k views

How do you administer CUPS remotely using the web interface?

I have an Ubuntu server in my apartment and I just got a printer, so it's time to share! In the past I've used CUPS on my Desktop and I'd just point the browsers to localhost:631 to set things up. ...
9
votes
2answers
11k views

How do I set up a PPTP VPN on my own Ubuntu Server?

Assuming I have a Virtual Private Server from someone like Linode, running Ubuntu, how do I easily set up a PPTP VPN so that Ubuntu clients can connect to it? By default, Ubuntu offers to connect to ...
9
votes
4answers
811 views

Does installing packages manually with dpkg prevent a future upgrade path?

I manage a private network which has no internet connectivity due to the security policy of the customer. This network has a single Ubuntu 10.04 LTS Server installation (soon to be several more) and ...
9
votes
2answers
26k views

Java on Ubuntu server 12.04? [duplicate]

I'm a little confused at the moment. My back story in short, is that I'm trying to set up a Minecraft server on an Ubuntu server I've recently set up, obviously to do this I needed Java, but after ...
9
votes
2answers
20k views

What is the default username for Amazon AMI images of Ubuntu Server?

I just launched one of the Ubuntu Server AMI's on Amazon EC2. I connect just fine, but I don't see anything to tell me the default login credentials. login as: ?
9
votes
7answers
3k views

“Remote host identification has changed” warning when connecting over SSH

I got this message today when trying to log into my server. What should I do? Whats going on? $ ssh 10.10.10.69 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST ...
9
votes
3answers
14k views

Installing APC. Use pecl or apt-get?

I have seen guides that use apt-get install php-apc and guides that use pecl install apc. Is one method better then the other? Or is just two different methods of installing the same thing? What is ...
9
votes
3answers
22k views

KVM Bridged Network Not Working

I just installed KVM on my Ubuntu Server according to this guide : https://help.ubuntu.com/community/KVM/Installation Then prepared a bridged network as shown in here : ...
9
votes
8answers
21k views

Server keeps asking for password after I've copied my SSH Public Key to authorized_keys

I have an Ubuntu Server, running in a Cloud. I created a user (git). In the folder /home/git, I have created the .ssh/ dir, and the authorized_keys file. But, when I put my SSH Public Key in the ...
9
votes
3answers
10k views

Security camera system server

I'd like to setup a Security Camera system which is captures and stores video streams into Ubuntu Server From 2 wireless Cameras. Which type of motion-detecting wireless camera you suggested? Are ...
9
votes
4answers
4k views

How can I run Dwarf Fortress in text mode (ncurses) on my Linux VPS?

I installed Dwarf Fortress on my Linux VPS to use with dfterm. It's running Ubuntu 10.04 Server x86-32. I'm fairly certain I have all the dependencies: I've installed: ncurses ncursesw libsdl ...
9
votes
1answer
9k views

Specify the time of daily log rotate

I noticed that daily log rotations which are listed under /etc/logrotate.d/ are executed in the morning around 6:40 am. This is clear from the beginning and ending of the log files. Can I customize ...
9
votes
2answers
11k views

apt-get update stuck on “Waiting for Headers”

I'm setting up a Maverick server on a spare PC. The install completes fine and the system boots up into the shell. However, when I try to do a apt-get update , apt hangs on almost every entry with the ...
9
votes
1answer
8k views

How do I run PulseAudio in a headless server installation?

PulseAudio is the standard audio server in desktop installations. However in a server installation audio services and thus PulseAudio are not provided. How do I install and make use of PulseAudio in ...
9
votes
3answers
5k views

Updating Ubuntu server from 8.10 to 10.04

I have a VPS that has Ubuntu 8.10 Server Edition installed on it and I would like to upgrade it to 10.04. What would be the correct way of doing this? I only have ssh access to it and a ...
9
votes
8answers
6k views

Making stripe_cache_size permanent

I did echo 8192 > /sys/block/md0/md/stripe_cache_size to improve my RAID performance, and it did helped alot. But I still can't figure out how to make it permanent. I was trying to set it in ...
9
votes
4answers
6k views

What is the difference between “service restart” and “service reload”

I'm trying to understand the difference between service restart [someservice] and service reload [someservice]. I understand that "restart" restarts the service whereas "reload" reloads the ...
9
votes
2answers
18k views

adjust resolution on Ubuntu Server 10.04?

Installed Ubuntu Server 10.04 on an old laptop and I noticed that the system is trying to show the CLI below my screen. This means that if I run a script or a program with a bunch of output, once it ...
9
votes
4answers
3k views

Allow non-sudo group to control Upstart job

I'm trying to set up an Upstart job to run on system startup, and that can also be started/stopped by members of a group other than sudo. With a previous version, I usedupdate-rc.d and scripts stored ...
9
votes
2answers
7k views

ca-certificates-java fails when trying to install openjdk-6-jre

I use a VPS with Ubuntu Server 10.10 x64. I want to use Java and run the command sudo apt-get install openjdk-6-jre but it fails because the installation encounted errors while processing ...
9
votes
1answer
1k views

deploying openstack on 6 servers

I'm new to openstack and i'm still learning. In 2 month i'll get 6 servers like: 4 servers with dual xeon e5-2630 , 96gb ram, 2 1gb ethernet and 2 500gb hdd in raid 1 DAS with 40tb of storage ...
9
votes
1answer
5k views

`shutdown -r now` command completely shutting down instead of restarting

Hi we've just installed Ubuntu 12.04 LTS onto a new server. It's on a SuperMicro X9SCA-f Motherboard . Now we're aiming to locate this in a remote server room - however when we execute a shutdown -r ...
9
votes
1answer
358 views

How to restrict the number of processes a user can start?

We tried /etc/security/limits.conf, but that seems to have no effect. The used line for limits.conf looks as follows: myuser hard nproc 6 That is configuration for a server. I want to limit the ...
9
votes
0answers
8k views

Am I affected? Heartbleed bug [duplicate]

I've just learned about the Heartbleed Bug (OpenSSL leaking private keys), and based on the website, heartbleed.com, it says that OpenSSL 1.0.1 through version f is affected. However it leaves off ...
8
votes
3answers
33k views

How do I see which ports are open? [duplicate]

I am running a web server on a machine with Ubuntu 11. Everything is accessible from the local network, but not from outside. What can I do to check to make sure the appropriate ports are open? I am ...
8
votes
2answers
2k views

What is the difference between vagrant and juju?

Are they both solving the same problem? Or are they for two different sets of problems? If so for what i it better to use vagrant, and for what better to use juju?
8
votes
7answers
9k views

Wireless Network in Virtualbox

I just installed my first Ubuntu Server (12.04) instance and immediately ran into the following problems: Running apt-get install or update fails (see below) Running ifconfig produces peculiar IP ...
8
votes
4answers
10k views

Why did my upgrade to 12.04 fail with “glibc not found” or “libc6” or “requires kernel 2.6.24” error?

I upgraded my server installation form 11.04 to 11.10, then to 12.04 over ssh. All seems almost ok - but there is a small issue with glibc, which is messing up my apt. I tried sudo apt-get install -f ...
8
votes
1answer
23k views

How to change the default locale in ubuntu 10.10 server

I have a remote server which I installed and have been trying to unsuccessfully change the locale to french for a few hours. Below are the contents of my locale files: //============ ...
8
votes
3answers
382 views

Server AMI images don't allow a user to login multiple times

When I log into twice to a new instance of Ubuntu server built for Amazon EC2, both windows will be exactly the same. Anything I type in one is replicated in the other. I never dealt with this when I ...
8
votes
2answers
26k views

What to do when can't update anymore with apt-get?

I'm using Ubuntu 9.04 as multipurpose server, so no GUI here. I haven't used it for a while and now when trying to install or update packages with apt-get it throws errors. An excerpt of the error ...
8
votes
4answers
870 views

How to remove bottom information panel in terminal window on Ubuntu Server AMI images?

The Amazon AMI images have a default information panel at the bottom of the terminal window. I would like to remove this (it disables me from being able to scroll backwards in putty). It looks like ...
8
votes
2answers
542 views

Can I use a desktop install as a server?

I'm new to Linux and Ubuntu is my first distribution. I have chosen Ubuntu because I want to learn more about Linux. I'm under time constraints and need to setup a server as soon as possible. I have ...
8
votes
2answers
23k views

How to show current permissions of a folder

I want to find out who has what permissions on a certain folder. How would I go about viewing this? The folder in question is /srv/www
8
votes
2answers
1k views

filename encoding issue

I am getting a file with a faroese name and trying to save it in a PHP script: 2010_08_Útflutningur.xls In Ubuntu 10.04 LTS is saving it as: 2010_08_�tflutningur.xls (invalid encoding) I've ...
8
votes
5answers
7k views

Why is dhclient saying: “SIOCSIFADDR: Permission denied”?

I have encountered a very weird error on ubuntu-server (8.04), I have no idea why dhclient is not allowed to set the network settings! I'm not the one who installed the server in the first place, so i ...
8
votes
4answers
57k views

SSH Public Key - No supported authentication methods available (server sent public key)

I have a 12.10 server setup in a virtual machine with its network set to bridged (essentially will be seen as a computer connected to my switch). I installed opensshd via apt-get and was able to ...
8
votes
4answers
26k views

Installing tomcat 7 on Ubuntu Server 12.04

I'm trying to install tomcat 7 on Ubuntu Server 12.04 with: sudo apt-get install tomcat7 which most sites and guides tell to do, but immediately I receive this answer: Reading package lists... ...