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

learn more… | top users | synonyms (2)

107
votes
8answers
112k views

How do I fix my locale issue?

I am getting this message everytime I do something like starting or stopping a service. perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: ...
67
votes
5answers
81k views

Chkconfig alternative for Ubuntu Server?

I've become very accustomed to managing service startups on Redhat/RHEL platforms using chkconfig though that doesn't appear to be the Debian/Ubuntu way - How do I update runlevel information for ...
61
votes
4answers
49k views

What is LVM and what is it used for?

As a Linux/Ubuntu newbie, what is LVM and what is it used for? In terms of a web server installation, what benefits does it provide? Would you recommend using it?
58
votes
5answers
84k views

How to add a PPA on a server?

The Server version of Ubuntu does not have the add-apt-repository command. How can i add a PPA to the server without this command?
50
votes
15answers
52k views

How do I free up disk space?

My Ubuntu cloud server has left only 900MB of disk space. I'll just empty the directory /tmp and wondering if there is any other location to clean up.
48
votes
6answers
41k views

Debian Stable vs Ubuntu LTS for Server?

Which is a better platform for a professional use server? Debian Stable or Ubuntu LTS? The third party software we plan to use, works on both. Which one is better on it own merits? Take into ...
48
votes
4answers
44k views

How do I set up an email server?

My VPS is running Ubuntu, and I'd like to be able to receive email to my domain. How do I easily set up a mail server to do this?
46
votes
8answers
182k views

How do you restart Apache?

I switched from SLES to Ubuntu and now I want to restart my local server. In SLES I used : rcapache2 restart but this somehow seems not to work in Ubuntu. :( How do i restart my Apache?
40
votes
5answers
47k views

How do I add locale to ubuntu server?

I currently have those locales: locale -a C en_AG en_AG.utf8 en_AU.utf8 en_BW.utf8 en_CA.utf8 en_DK.utf8 en_GB.utf8 en_HK.utf8 en_IE.utf8 en_IN en_IN.utf8 en_NG en_NG.utf8 en_NZ.utf8 en_PH.utf8 ...
37
votes
10answers
70k views

Setting up a git server

I've recently set up ubuntu-server on Amazon EC2. I would like to use it as my git server, so I could store my repos there. So, where can I find some detailed instructions of how to setup git on ...
37
votes
5answers
36k views

Disable autostart for a service without uninstalling?

How can I disable autostart for a service without uninstalling? For example, I'd like to leave tomcat installed, but I don't want it turning on every time I restart.
35
votes
6answers
53k views

How can I monitor the memory usage?

I have used top to see the memory usage at the moment. But I would like to monitor the memory usage over a period of time. E.g start monitoring and then execute a few commands, and final stop the ...
33
votes
3answers
24k views

Are there any open source alternative to Landscape?

Better yet, are there any Spacewalk-like software that works for both RedHat-based and Debian-based systems?
31
votes
9answers
173k views

How do you run Ubuntu Server with a GUI?

Trying to run a Ubuntu server for the first time.. But everything is in a terminal, is there a way to switch to a Gui? Also, the server doesn't have direct access to the internet.. So, is there a way ...
29
votes
2answers
20k views

How is /etc/motd updated?

I was wondering how /etc/motd is automatically updated (I'm on Ubuntu 10.04, server edition). I found the update-motd manpage via a web search, but that program is not installed on my machine. The ...
28
votes
4answers
12k views

What's the risk of upgrading over SSH?

When I run sudo do-release-upgrade over ssh, I get the following message. This session appears to be running under ssh. It is not recommended to perform a upgrade over ssh currently because in ...
28
votes
2answers
21k views

How do I get resolvconf to regenerate resolv.conf after I change /etc/network/interfaces?

After updating /etc/networking/interfaces with something very similar to below, how do I get /etc/resolv.conf to update? I tried (as root) resolver -u, service networking restart but they didn't ...
27
votes
5answers
28k views

how to stop apache2, mysql from starting automatically as computer starts?

my os is 11.04. i have apache2 & mysql installed. how to stop apache2, mysql from starting automatically as computer starts?
27
votes
8answers
8k views

What is the best way to set up a headless server?

I have a ubuntu development server at work. It is an old rack server that is located somewhere in the company's dungeon, where nobody ever goes :)The only way it can work is as a so-called headless ...
25
votes
7answers
12k views

Basic Ubuntu FTP Server

I would like to setup a basic FTP server on my Ubuntu Server install. I have been playing with VSFTPD, but am having issues getting the server to allow me to create directories and copy files. I ...
24
votes
7answers
53k views

How to find out how much disk space is remaining?

What is the command to find out how much disk space is being used/remaining?
24
votes
10answers
13k views

How do I install and manage RPMs?

I have a burning desire to install RPMs onto my Ubuntu installation - is this possible? Can I use Yum - or another RPM Package Management tool?
24
votes
0answers
40k views

Possible to install ubuntu-desktop and then boot to no GUI [duplicate]

I've installed Ubuntu Server. I'd like to add the GUI with ubuntu-desktop package, but if I do that can I still get the no-gui server interface as the default? What I basically need is the no-gui and ...
23
votes
2answers
22k views

How do I create a self-signed SSL certificate?

I've set up SSL on my webserver, now I need two files: a certificate a certificate Key How do I create a self-signed certificate for testing purposes?
22
votes
1answer
11k views

Apache virtualhosts no longer working after update to 13.10

I updated my kubuntu to 13.10 today and my virtualhosts that worked perfectly before are no longer working. the s2ensite and a2dissite commands claim "site xxxxxx does not exists" even the files are ...
22
votes
3answers
8k views

What is the difference between Ubuntu and Debian server?

I know Ubuntu is basically Debian, and I know Ubuntu releases every 6 months, Debian every 2 years. However, I want to know more the advanced differences between Ubuntu server and Debian. If they have ...
22
votes
3answers
30k views

How do I copy files that need root access with scp?

I have an Ubuntu server to which I am connecting using SSH. I need to upload files from my machine into /var/www/ on the server, the files in /var/www/ are owned by root. Using PuTTY, after I log ...
21
votes
9answers
22k views

Why isn't my upstart service starting on system boot?

Following on from this question, I have written a simple upstart service (/etc/init/pms.conf) for my headless Ubuntu Server 11.04 box as follows: start on filesystem and net-device-up IFACE=eth0 stop ...
21
votes
2answers
89k views

How do I configure a DHCP server?

How to configure a DHCP server in Ubuntu 12.04? I need a step-by-step tutorial if somebody has one.
20
votes
6answers
14k views

What Can Be Done To Secure Ubuntu Server?

I have a project to secure Ubuntu Server as much as I can. The server is a web hosting server. The server will be running LAMP , Mail , and DNS.
20
votes
7answers
1k views

How should a server be secured?

Talking towards Ubuntu 10.04, server edition, what tools/practices would you recommend to secure the server?
20
votes
3answers
42k views

How do I remove the LAMP stack so I can start over?

I'd like to start over with my webserver and I'd like to reinstall all the LAMP packages, how do I do that?
20
votes
2answers
22k views

How do I extract a password protected .7z file?

Can someone tell me how can I extract a password protected .7z file in Ubuntu server? (I know the password, I just need a program to do so and an example of how to use said program...)
20
votes
3answers
44k views

How to set up Ubuntu as wireless accesspoint?

How can I set up my WiFi to be used as wireless access point on Ubuntu Server? I have a local Ubuntu Server, it has a wireless card in it (802.11a/b/g/n) and I really want to set it up as an 802.11n ...
19
votes
3answers
8k views

How can I see what ports are open on my machine?

I would like to see what ports are open on my machine, e.g. what ports my machine is listening on. E.g. port 80 if I have installed a web server, and so on. Is there any command for this?
19
votes
3answers
136k views

How to setup static IP in Ubuntu Server 12.04?

sudo apt-get update sudo apt-get upgrade ifconfig sudo nano /etc/network/interfaces auto eth0 iface eth0 inet static address 192.168.1.150 netmask 255.255.255.0 network 192.168.2.0 broadcast ...
18
votes
5answers
70k views

Create a new SSH user on Ubuntu Server

Just created a new virtual Ubuntu server and I'm in the process of hardening it for production use. I currently have a root account. I want to do the following: Create a new user (let's call them ...
18
votes
2answers
23k views

How to configure NTP time synchronization on a server?

I would like to configure my Ubuntu 12.04 server to synchronize its clock with a specific NTP server. Where to set this up?
18
votes
7answers
42k views

What DLNA server to choose? [closed]

What DLNA server program should I choose and how do I set it up? It is an absolute requirement that it doesn't take a lot of resources since it will be running on a 500 MHz machine. There seems to be ...
18
votes
2answers
13k views

How can I check if automatic updates are enabled?

I want to be sure if automatic updates are enabled on Ubuntu 12.04 server. How exactly can I check this? And how can I disable automatic updates if it's enabled?
18
votes
3answers
7k views

How do I temporarily run an FTP server?

In the world of Ubuntu, it seems you either always run an FTP server or you never do. Perhaps I'm the first network analyst who's needed to flash a Cisco, Checkpoint or Nokia image using Ubuntu... I ...
18
votes
1answer
481 views

Howto configure MAAS to separate PXE traffic and IPMI traffic on different subnets?

I am trying to set up a part of our network as a linux cluster. Since its a little educational for me, I choose using MAAS with JuJu. However there are some questions that boggle my mind and I was ...
17
votes
4answers
25k views

VirtualBox Guest Additions won't install on Ubuntu Server 12.04

I am trying to install VitrualBox's Guest Additions on Ubuntu Server 12.04, but keep getting an error. I am using the following command sudo ./VBoxLinuxAdditions.run --nox11 and get the following ...
17
votes
1answer
33k views

Update server php version to 5.4.10 via the command line

Im setting up a vps for the first time from scratch, the host has a one click LAMP installer which took out allot of the leg work, but running phpinfo(); i found im running 5.3.10. So id like to ...
17
votes
1answer
4k views

What are the differences between Desktop, Server, and Alternate Installs?

I am trying to figure out what the exact difference is between the 3 different install Disks. Like what packages are different and such. For Example: - The server disk doesn't install gnome by ...
17
votes
7answers
30k views

simple method to install a mail server

I am looking for a simple way to install a mail server on my Ubuntu server. I would like to be able to receive and send emails though a webmail (e.g. roundcube). I have a domain name. The web server ...
17
votes
7answers
36k views

Create USB installer from the command line?

I'm trying to create a bootable USB image to install Ubuntu on a new computer. I have done this before following the "create USB drive" instructions for Ubuntu desktop, but I don't have an Ubuntu ...
17
votes
2answers
11k views

Ubuntu Server 13.10 now goes to sleep when closing laptop lid

I recently upgraded to the latest version (13.10). I have it running on an old laptop. Since the upgrade, whenever I close the laptop lid, it goes to sleep mode. Any idea on how to fix? I've ...
17
votes
2answers
11k views

How do I disable the blank console “screensaver” on Ubuntu Server?

How to disable blank screensaver on Ubuntu Server? There's no desktop or X, only console (command-line interface).
16
votes
8answers
17k views

haproxy doesn't start

Installed a new Ubuntu 10.04 server and logging in as root I installed haproxy using apt-get. I can run haproxy directly as a daemon but when I do /etc/init.d/haproxy start nothing happens.. not even ...