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

learn more… | top users | synonyms (2)

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
12k views

Why does upstart keep respawning my process?

I wrote an upstart script to launch a daemon inside a tmux session. It works well and respawns the process if it dies unexpectedly, but I can't seem to stop it manually. The job (called bukkit) looks ...
16
votes
3answers
26k 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 ...
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?
16
votes
3answers
38k 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 ...
15
votes
10answers
8k 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 ...
15
votes
3answers
44k 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
48k 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
3answers
18k 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 ...
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
6answers
8k 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
15k views

Can I convert Ubuntu Desktop 14.04 to Server?

I've found several solutions to convert Ubuntu 12.04 Desktop to Server, with the following commands: sudo apt-get install tasksel sudo tasksel remove ubuntu-desktop sudo tasksel install server ...
15
votes
3answers
28k 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
25k 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
3answers
43k 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 ...
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
67k 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
84k 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. ...
14
votes
7answers
109k views

SSH Permission denied (publickey)

I have tried searching previous questions for answers to my question but all of the answers that have been suggested previously haven't worked for me. I am trying to connect to a linode (running ...
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
2answers
14k 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 ...
14
votes
4answers
766 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
19k 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
1answer
74k 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: ...
14
votes
3answers
58k 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
3answers
30k views

How can I ensure transmission traffic uses a VPN?

I'd like to ensure that transmission only sends/receives traffic when the server it runs on is connected to a VPN. I found this question which is similar but I don't want to force all traffic ...
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 ...
13
votes
4answers
69k 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 ...
13
votes
6answers
54k 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
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
4answers
14k 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] ...
13
votes
3answers
17k 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 ...
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
3answers
14k 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. ...
13
votes
1answer
21k 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
4answers
19k 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
4answers
9k 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
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 ...
12
votes
2answers
25k views

How do I install OpenStack?

How do I install OpenStack? Is there an easier way other than official installation instructions?
12
votes
1answer
2k views

Why is there only one configuration management tool in the main repository?

How is it that Cfengine does not exist in the Ubuntu (10.04 LTS) Main Repository? I can't find a discussion of this anywhere (using Google). The only configuration management in Ubuntu Main seems to ...
12
votes
4answers
71k views

Why am I getting “Permission denied: make_sock: could not bind to address” when starting Apache2?

I can stop it using /etc/init.d/apache2 stop But when I want to start it again using: /etc/init.d/apache2 start I get this error: Starting web server apache2 ...
12
votes
2answers
17k 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 ...
12
votes
7answers
35k views

How do I upgrade MySQL to 5.5, am I best off waiting for it to be available through apt-get?

How would I go about upgrading MySQL to version 5.5 on Ubuntu Server 9.10? Would I be better off waiting for it to be an easy $ sudo apt-get install mysql-server job? I'm also unsure as to which ...
12
votes
5answers
31k views

Is there a tool for web based system administration?

What web based system admin tools are there for Ubuntu? Basically I want to setup a headless server at home and want to make it easy for my family to change some settings. I'm familiar with Webmin but ...
12
votes
6answers
4k views

SSH tunnel logging?

I have a computer running SSH that I would like to give my friends access to, but I do not want them to use my internet connection through SSH tunnelling (although I'd like to do so myself). Is there ...
12
votes
2answers
20k views

Important things to do after installing Ubuntu Server

I just installed Ubuntu Server on a VPS. To configure the server I'm reading the Ubuntu Server Guide. But the Ubuntu Server Guide doesn't tells me everything. E.g. The Ubuntu Server Guide doesn't ...
12
votes
2answers
18k 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 ...
12
votes
2answers
42k 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 ...
12
votes
3answers
6k 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 ...