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

learn more… | top users | synonyms (2)

8
votes
3answers
11k views

How does one upgrade Redis 2.2 to 2.4?

Redis 2.4 was recently released and I'm interested in upgrading my current Redis install which is version 2.2. Do I just need to download and compile it like I did 2.2 or do I delete 2.2 first then ...
8
votes
3answers
589 views

Remote administration of a server?

I'm going to install a ubuntu server to provide email, ftp and maybe webserver services too. I dont want to install a gui for the server, but I'd like to administrate it remotely. I was thinking in ...
8
votes
3answers
36k 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. ...
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
3answers
403 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
28k views

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

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

How do I change UUID of a disk to whatever I want?

I have an unique situation where I need to change UUID of usb flash drive to previous UUID. I formatted it and obviously number changed... I've ubuntu server setup with 1TB hdd, and 4GB usb flash ...
8
votes
4answers
932 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
4answers
1k views

How to reach a host in the same network by hostname?

I have a network which connects a couple of hosts. I would like to be able to reach other hosts from one of them using the hostname. I just discovered the ".local" domain, which is available through ...
8
votes
2answers
9k views

How do you install avconv on Ubuntu Server 13.04?

I've searched and searched, but I can't find anything, besides compiling it, which gives me an error about ASM.
8
votes
2answers
602 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
2k 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
9k 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
1answer
40k 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: ...
8
votes
5answers
17k views

When Ubuntu Server restarts eth0 Doesn't come back up

Every time I restart my Ubuntu Server 11.10 I can't ssh into it because ETH0 doesn't come up automatically. I never had this problem before upgrading to 11.10. I have to login to the server and start ...
8
votes
2answers
10k views

AWStats: cannot access /var/log/apache2/access.log

I installed awstats on my new Ubuntu Lucid server, but when cron tries to run it as user www-data, it complains that cannot access /var/log/apache2/access.log: Permission denied. In ...
8
votes
1answer
9k views

How to set up PHP with Nginx, APC and PostgreSQL?

I use Ubuntu Server 10.10 and I would like to set up a web server environment with NginX, PHP 5.3.3, PostgreSQL and preferably APC and PHP Suhosin. I have already set up PostgreSQL with apt-get ...
8
votes
2answers
83 views

Where should I be looking/learning about the changes between Ubuntu (server) editions?

I maintain a few Ubuntu servers and it works great... but, I now have notifications on a few that state there is a new release available and I should run do-release-upgrade. Since these servers were ...
8
votes
3answers
14k views

Stream video from ubuntu server to Android device

I have a ubuntu 12.04 headless server. I got alot of video on the server. Most of it is in x264 in .mkv. I have a samsung nexus phone, and a nexus 7 tablet. Whats my options when it comes to ...
8
votes
2answers
10k views

Can Ubuntu server connect to a WPA2 encrypted wireless network?

I'm planning to maybe install Ubuntu server on an old machine. But my question is: can I install Ubuntu server on a machine and have it connect to my home network - wirelessly? I can't use a cable in ...
8
votes
2answers
4k 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 ...
8
votes
2answers
3k views

What is the minimum size of the LAMP server?

I installed server 10.10 with LAMP+OpenSSH. It is about 1.1GB. Can I reduce the total size of the server? AFTER SOME EXPERIMENTS The full LAMP server is under 1.0gb /dev/sda1 7.5G 914M ...
8
votes
2answers
2k views

ssh key administration for many users, servers

My company has some remote Ubuntu servers. The access to these servers is controlled by ssh keys. Managing these keys is quite a pain, especially when an employee leaves or joins the company. Is ...
8
votes
3answers
23k views

How to enable ufw firewall to allow icmp response?

I have a series of Ubuntu 10.04 servers and each one has ufw firewall enabled. I have allowed port 22 (for SSH) and 80 (if it's a webserver). My question is that I am trying to enable icmp echo ...
8
votes
2answers
10k views

Step by Step Install of MAAS and JUJU

I am working on understanding the pieces that I am missing in being able to deploy Juju across the other MAAS nodes. I don't know If I have a step out of place, or missing a few. The MaaS server ...
8
votes
2answers
3k views

Tons of general protection faults

I recently upgraded my home server from Ubuntu 10.04 to 12.04.1. It runs the linux-image-server kernel, x86_64 arch. There's nothing particularly unusual running, I think -- a deluge daemon, apache2, ...
8
votes
1answer
909 views

AppArmor denying a mount operation

How do I convince apparmor to allow this operation? [28763.284171] type=1400 audit(1344273461.387:192): apparmor="DENIED" operation="mount" info="failed type match" error=-13 parent=7101 ...
8
votes
2answers
6k views

How do I properly set up and secure a production LAMP Server?

It's very hard to find comprehensive information on this subject. Either I found short tutorials on how you perform the installation, as simple as "apt-get install apache2", or outdated tutorials. So ...
7
votes
6answers
14k views

SSH server not working (respawns until stopped)

I have a running Ubuntu Server 10.04.1. When I tried to login to the server via ssh, I could not. Instead, I got connection refused error. I tried to ping the machine and I got reply! So, the clear ...
7
votes
2answers
22k 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 ...
7
votes
2answers
782 views

How do I upgrade to Ubuntu 10.04.1 LTS [duplicate]

I want upgrade from Ubuntu 10.04 LTS to Ubuntu 10.04.1 LTS. Is there a basic update? How do I do it?
7
votes
5answers
7k views

How can I sync my home folder over network and internet?

I use my laptop with Ubuntu-desktop to do all my work, but I also have a low-end desktop over at my office just sitting there. I've decided I'm going to install Ubuntu-server on it and use it to ...
7
votes
2answers
57k views

How can I set my Ubuntu 12.04 LTS to boot to console without GUI? [duplicate]

So I installed Ubuntu server to run some tests on a VM. For various reasons I couldn't get a specific DEB file, and instead of using a shared folder I decided it would be a good idea to install ...
7
votes
5answers
4k views

How to abort a stuck command in ubuntu server?

I know there is ctrl+c, but sometimes that doesn't work. In Ubuntu desktop I can just close the terminal window and open a new one when this happens, but how would this be solved using the CLI in ...
7
votes
3answers
5k 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 ...
7
votes
2answers
2k views

Scheduling a reboot on a remotely located Ubuntu server

I work on a ubuntu server located in a place where I don't usually go. I use ssh over openvpn to access it. The machine has multiple wired interfaces, many static routes and multiple default gateways ...
7
votes
1answer
440 views

Is 97 processes on an Apache2 server normal?

I have 97 processing running, that's what top reports. I only have the base install + apache2 and php5. Could it really add that much stuff? Or does the ubuntu-desktop have like 300 processes? I ...
7
votes
4answers
19k views

How to disable GDM from being automatically started?

After Ubuntu Server 12.04 installation, I installed Xubuntu just to have a minimal GUI: sudo apt-get install x-window-system-core sudo apt-get install --no-install-recommends xubuntu-desktop gparted ...
7
votes
5answers
72k views

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

I have mailserver configure using dovecot+postfix+mysql and it was runnig fine in the server(Ubuntu Server). But during last week it stopped working correctly. It doesn't send email. When I try to ...
7
votes
4answers
10k views

How can I get ddclient to work with freedns?

I use the dynamic DNS service at freedns.afraid.org for my 12.04 server. I had assumed that the protocols would be standardised and that ddclient would just work, but apparently not. I get this ...
7
votes
2answers
14k views

Forceably set permissions when running rsync

Currently I am backing up gigabytes and gigabytes of data from a live server to a backup server using an rsync/ssh combination script, allowing for automated operation every night with a cron job. ...
7
votes
1answer
2k views

Dynamic /etc/resolv.conf file?

I have several Ubuntu servers. Two of them are working as DNS servers. One of my name servers (let's call it DNS1) went down for maintenance. I sill had another DNS server running (DNS2). All other ...
7
votes
1answer
348 views

Why are certain things able to get through ufw firewall?

I should say up-front that I am TOTALLY new to Linux, Ubuntu, and the technical side of networking. I am setting up Ubuntu on a server computer and have learned a bit about configuring the ufw ...
7
votes
3answers
3k views

Why is X11 a security risk in servers?

I remember reading that servers do not have a GUI because X11 is a security risk. Why?
7
votes
2answers
11k views

What server control panels are available for Ubuntu Server?

As a dedicated Ubuntu server or as a VPS, I am looking for a web control panel, something like cPanel which is something like a web administrator for a server. I have not used any on Linux since I do ...
7
votes
1answer
4k views

Saving SSH shell links in launcher like putty

I mean how can I bookmark a ssh root@ip command in the launcher so when I click on the icon and a shell is prompt to me asking credentials for the connection to the server shell?
7
votes
3answers
3k views

How can i limit disk space usage for one user?

Like.. User john123, you can only use 100mb of my harddisk. User jake155, you can only use 250mb of my harddisk.
7
votes
2answers
12k 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 ...
7
votes
3answers
3k views

'/'var/www/' vs '/home/$USER/public_html'

I recently started using Ubuntu as a LAMP server. I've come across plenty of tutorials that say to place the files at '/var/www/' and I've also seen others that put them in '/home/$USER/public_html/'. ...
7
votes
2answers
5k views

Clock drift even though NTPD running

I'm having a problem with the clock drifting on my PC. I'M running Ubuntu 10.10 on an somewhat crusty IBM e-server (1.5GB RAM, 2.4GHz CPU) ntpd is running (started at run level 2) servers are ...