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

learn more… | top users | synonyms (2)

12
votes
2answers
8k 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 ...
12
votes
2answers
13k 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
1answer
13k views

Not enough disk space '/' in AWS instance

i am running Ubuntu 11.04 instance for my Web Server on AWS cloud, now i am getting there is no disk space in / partition of my server. df -ah say this Filesystem Size Used Avail Use% ...
12
votes
2answers
34k 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
12
votes
1answer
13k 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 ...
12
votes
3answers
18k 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 ...
12
votes
4answers
4k 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 ...
11
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 ...
11
votes
4answers
8k views

How to monitor network bandwidth per user on Ubuntu server?

I have some shell users on a server with 300GB of monthly data transfer. How can I monitor bandwidth usage per user?
11
votes
5answers
23k 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 ...
11
votes
3answers
13k 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 ...
11
votes
5answers
27k 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 - ...
11
votes
2answers
28k 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 ...
11
votes
6answers
2k views

Do we need Swap partition on a LAMP server?

Do we need actually swap partition on the ubuntu-server with LAMP? I think I don't need it, but better to know for sure if it will not cause some unpredicted behaviour. Actually my thoughts were: ...
11
votes
1answer
7k views

What is Orchestra, and how do I use it?

Writing this answer, I realized I do not know anything about Orchestra. There's no link to any website or documentation on their Launchpad page. Can anyone familiar with it explain how it works and ...
11
votes
4answers
86k 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 ...
11
votes
1answer
687 views

How can I programmatically determine if a system is a desktop or a server?

Is there any way to distinguish between Ubuntu Server and Ubuntu Desktop? I have a Bash script (shameless plug) that I use to set up lightweight web servers, and I've noticed that when I run this ...
11
votes
2answers
17k 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 ...
11
votes
1answer
2k 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 ...
10
votes
3answers
1k views

How do software updates work?

I would like to know how software updates work for my Ubuntu Server 10.10. I have been recommended to use apt-get install for installing new software and apt-get update for updating software for a ...
10
votes
2answers
11k views

How do I install OpenStack?

How do I install OpenStack? Is there an easier way other than official installation instructions?
10
votes
4answers
35k 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. ...
10
votes
2answers
13k 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 ...
10
votes
2answers
3k 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.
10
votes
2answers
730 views

How do rootkits get installed on to a ubuntu server?

I've seen a few posts on checking for rootkits but haven't been able to find any information on how they get onto a linux system. In particular if you exploit a bug in a php web site (yes I'm talking ...
10
votes
3answers
6k 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 ...
10
votes
3answers
17k 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 ...
10
votes
3answers
34k 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 : ...
10
votes
3answers
811 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
4answers
5k 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 ...
10
votes
2answers
29k 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 ...
10
votes
3answers
52k views

How to setup x11vnc to access with graphical login screen?

I have a server running Ubuntu 12.10 and need to be able to remote to this server without being logged-in. I have found many solutions, but none seem to work with 12.10. Can anyone give me ...
10
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 ...
10
votes
1answer
265 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
3k 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
1answer
3k 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
3answers
20k views

How can I make a specific set of iptables rules permanent?

Is there a "best practice" or standard to make a few iptables rules permanent? I mean: automatically applied upon a system reboot? I am using a VPS with Ubuntu Server 10.04 LTS (Lucid Lynx). Thank ...
9
votes
9answers
15k 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 ...
9
votes
4answers
862 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
1answer
29k 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: //============ ...
9
votes
7answers
5k 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
4answers
2k views

Is someone trying to hack into my server? What can I do?

A few weeks ago I posted a question here about some ssh issues I was having with an Ubuntu 12.04 box. Fast forward to today and I am trying to allow someone else access to the machine, but they keep ...
9
votes
3answers
12k 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
2answers
18k views

How can I increase the console resolution of my Ubuntu server

I am running an Ubuntu server inside VMware workstation, when I run the VM the screen is really small. I want to increase it to something that fits in the whole VMware console. I tried changing the ...
9
votes
1answer
884 views

How to get server MOTD on non-server install

Is there a way to get the fancy MOTD that shows up on an Ubuntu Server install on my Ubuntu Alternate install? Like this: Welcome to Ubuntu 11.10 (GNU/Linux 3.0.0-12-server x86_64) * Documentation: ...