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

learn more… | top users | synonyms (2)

17
votes
3answers
31k views

How can I receive syslog logs from a networked system?

I'd like to configure Ubuntu to receive logs from a DD-WRT router. The router's configuration screen contains the following section: and its logging documentation reads: If you wish to send ...
17
votes
5answers
46k views

Why is the command in /etc/rc.local not executed during startup?

I have a single command in my /etc/rc.local script that is supposed to start the update daemon for Tiny Tiny RSS during startup, but the script is not executed during startup. Why? The entire ...
17
votes
1answer
311 views

How does 24/7 support in Ubuntu Advantage work

I would like to achieve shorter downtime this year when dealing with my server issues, considering to buy support for several of my servers in Ubuntu Advantage service, I know I may contact Canonical ...
16
votes
10answers
42k views

How to check if ubuntu desktop or server is installed?

I have a shared hosting. I have access to shell. OS is Ubuntu, and I want to check if it is server version or desktop version. When I login through shell, it shows following information: Linux ...
16
votes
10answers
9k views

Long wait time on login

When I log in on my server I get this: No mail. Last login: Fri Nov 5 14:22:45 2010... then I must wait for 5 sec and then is ready... wolfy@ubuntu-server:~$ Is this wait time normal or should ...
16
votes
3answers
53k views

How do I add an additional IP address to /etc/network/interfaces?

I have an extra IP address available to my server, and so I need to assign it in the interfaces file. At the moment, I've got this: auto lo iface lo inet loopback auto eth0 iface eth0 inet static ...
16
votes
3answers
98k views

Using scp to copy files from remote to home machine

This is probably a simple error, but I can't work it out. My computer hostname is Felix (hostname -f returns Felix) I am trying to move a file from my university account to my home computer using scp. ...
16
votes
2answers
1k views

How to transfer the identity (SSH) of a machine to a new machine?

I am making a new Ubuntu machine as a server, which is supposed to replace an old one with older software. My question is: Is it possible to transfer/copy the credentials (in terms of SSH) of the ...
16
votes
3answers
19k views

Minimal system or minimal virtual machine on install?

I've been thinking a lot about this lately and haven't been able to find any good documentation online that explains this: When installing Ubuntu Server, I can choose between Minimal system and ...
16
votes
2answers
15k 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 ...
16
votes
1answer
26k views

What is “Ubuntu Desktop USB” in tasksel?

What is Ubuntu Desktop USB tasksel alternative in ubuntu server 11.10 edition?
15
votes
4answers
51k views

Port 3306 appears to be closed on my Ubuntu server

I have two VPS servers, and both have MySQL installed, one for testing and one for development. One of my servers won't let me connect from outside. With the user; 'mytestuser'@'%' According ...
15
votes
4answers
54k views

How can I tell if my hourly cron job has run?

I have created a file called ntpdate in /etc/cron.hourly #!/bin/sh /usr/sbin/ntpdate-debian date > /tmp/william_tmp date > /william_tmp date > ~/william_tmp echo test I also did Chmod 755 ...
15
votes
4answers
75k views

How do I list new drives so I can partition and format them?

I added a bunch of drives to an external enclosure and attached it to a server via eSATA and now need to get them ready for software raid. However they do not appear under fdisk -l I've tried looking ...
15
votes
4answers
19k views

How do I modify “/sys/kernel/mm/transparent_hugepage/enabled”

I use mongodb 3.0 and I find a warning: MongoDB shell version: 3.0.0 connecting to: test Server has startup warnings: 2015-03-13T16:28:29.405+0800 I CONTROL [initandlisten] ...
15
votes
2answers
4k views

What is the <number>! in byobu's status bar mean?

I run byobu on my home server, and I noticed this today - what is it? It's part of the byobu notification/status bar, on a 64-bit 11.10 server.
15
votes
1answer
86k views

How can I set up Samba shares to only be accessed by certain users?

I have a RAID10 array mounted on Ubuntu Server 12.04. I have created a few folders within the mount point and want the following functionality. There will be 4 users, 3 of them are windows users: ...
15
votes
6answers
9k views

upstart-supervised init script for Apache?

I want to run apache on Ubuntu 10.04, and use the nice supervision stuff in upstart (I'm not just talking about the apache init script, but proper service supervision a la daemontools - which is to ...
15
votes
3answers
16k views

Replacing a dead disk in a zpool

I'm running Ubuntu Server 13.04 64-bit using native ZFS. I have a zpool consisting of 4 hard drives of which one died yesterday and now is not being recognized by the OS or the BIOS anymore. ...
15
votes
3answers
34k views

SSH new connection begins to hang (not reject or terminate) after a day or so on Ubuntu 13.04 server

Recently we upgraded the server from 12.04 LTS server to 13.04. All was well, including after a reboot. With all packages updated we began to see a strange issue, ssh works for a day or so (unclear ...
15
votes
3answers
26k views

Install Ubuntu Server to a flash drive, permanently

First thing, I wanted to make sure, there is an understanding what this post is NOT about: This is NOT about creating bootable USB key This is NOT about simply booting from USB What I am looking ...
15
votes
1answer
3k views

What is the default 'backup' user for?

I am setting up multiple-machine backup plan and I was hoping to use a user called 'backup' on each machine as the backup destination. My problem is, there is already a user called 'backup' on my ...
14
votes
5answers
4k views

What is the performance loss if you run an ubuntu desktop edition for a server machine?

Hello we have installed an ubuntu desktop edition on our dev server. I was wondering if there is any noticeable performance loss compared to the server edition.
14
votes
4answers
75k views

Proper way to change terminal resolution in Ubuntu Server 13.04? [duplicate]

I'm running Ubuntu Server 13.04 in a VMware VM running only in command-line mode (i.e. no GUI). It defaults to a 640x480 screen resolution, but I'd like to increase that to either 800x600 or 1024x768. ...
14
votes
3answers
21k views

How can I install Ubuntu on a device without a screen nor a keyboard?

This is tricky. I would like to install Ubuntu on a machine that is intended to work as server, and for some reason I do not have an option to connect a screen to it. I expect this may be similar to ...
14
votes
3answers
6k views

What is the easiest way to strip a desktop edition to a server edition?

We have installed Ubuntu desktop edition on our development server. Now that we have it in a data center we would like to strip it down to a server edition. Is there an easy way of doing so rather ...
14
votes
4answers
781 views

How to manage software that is installed from source?

From time to time, we may have to install something from source due to various reasons. While it is fairly standard how to install software given appropriate dependencies, it is not clear to me how to ...
14
votes
2answers
20k views

Shutting down Ubuntu Server running in headless VirtualBox

I'm running Ubuntu Server using VBoxHeadless. How do I send ACPI shutdown signal through VirtualBox and make Ubuntu Server respect it and comply with the shutdown signal?
14
votes
3answers
64k 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 : ...
14
votes
2answers
23k views

Why do I see a CRON session opening and closing every hour in /var/log/auth.log?

I am quite fresh with Linux as a whole, so this may be a silly question - but I would still like to know the answer This morning when I look at my /var/log/auth.log (which I've been told to make a ...
14
votes
2answers
45k views

difference between rsyslogd and syslogd

I was trying to implement some changes to syslogd on Ubuntu 10.04.02 LTS (Server edition). I found /etc/syslog.conf is not present on system, instead I have /etc/rsyslogd.d/*.conf. syslogd can be ...
14
votes
2answers
8k views

Switching a server to static IP from DHCP

I am running an Ubuntu 10.04 server installation and I recently had to switch it from DHCP to static ip. I edited /etc/network/interfaces file and switched iface eth0 inet dhcp to iface eth0 inet ...
14
votes
3answers
7k views

Is there a tool for validating /etc/network/interfaces files?

I always like to test new config files before deploying them--with tools like apachectl configtest and named-checkconf. It's rare that mistakes crop up, but catching them before deployment ...
13
votes
2answers
28k views

How do I install OpenStack?

How do I install OpenStack? Is there an easier way other than official installation instructions?
13
votes
3answers
15k views

How to use ubuntu server full screen in virtualbox?

I have installed Ubuntu server 12.4 in Oracle Virtual box, after completing installation, i cant use the Ubuntu server in full screen,guest additions present in virtual box will work in ubuntu ...
13
votes
6answers
61k views

Why Apache virtual hosts on Ubuntu 14.04 is not working?

I installed Apache 2.4 on Ubuntu 14.04 and it was working fine by http://localhost/ address. But when I tried to add a new virtual host, for example http://bow.loc and restart apache, new address was ...
13
votes
2answers
18k 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 ...
13
votes
3answers
14k views

Is there any difference between apache2 and httpd?

Today I was installing phpmyadmin on Ubuntu 12.04 and after a while a dialogue popped up stating what server I want to use; apache2 or httpd Are these, two different kinds of server?
13
votes
5answers
42k views

How do I rename an mdadm raid array?

For some reason, when I try to rename an mdadm raid array to a textual name, the change doesn't take. I tried the advice from this serverfault question, but to no avail. ~$ mdadm --version mdadm - ...
13
votes
4answers
2k views

How to change wallpapers of all clients?

As said before we are running more than 500 ubuntu PC's in our company. Often we used to set our company ads as a wallpaper in clients machine. It is difficult for us to change wallpapers in all these ...
13
votes
3answers
4k views

Why is 12.04 removing the -server kernel flavour?

Ubuntu is removing -server flavour, as specified on release notes of 12.04: ...
13
votes
2answers
8k views

xclip on headless server

I've been using xclip to copy the output of bash commands like so: pwd | tr -d "\n" | xclip -selection c So that I can then paste the output into another terminal session. I was trying to use it ...
13
votes
1answer
23k 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 ...
13
votes
2answers
34k views

How to start, stop and restart rtorrent?

I just installed rtorrent on my Ubuntu Server 12.04 LTE machine via apt-get. How do I start | stop | restart the service?
13
votes
4answers
20k views

Installing 12.04 server as a software RAID 1 mirror fails to boot

I'm installing a few new Ubuntu Server 12.04 LTS servers, and they have two 512 GB SSDs. I want them to use software RAID 1 mirroring, so I was following this document religiously step by step: ...
13
votes
8answers
9k 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 ...
13
votes
1answer
12k views

How to restart apache2 when I get a pid conflict?

I receive the same message than explained in this thread when I'm trying to restart apache2 : * Restarting web server apache2 [fail] * There are processes named 'apache2' running which do not match ...
13
votes
4answers
10k views

Web Server Best Practices: Directory Structure & Security

I would like to utilize Ubuntu server as web server, but I want to make sure I follow best practices for setting things up. I want to ensure I set the directory up in the best location and understand ...
13
votes
2answers
8k 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 ...
13
votes
4answers
7k 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 ...