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

learn more… | top users | synonyms (2)

133
votes
12answers
149k 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: ...
72
votes
5answers
98k 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 ...
69
votes
5answers
60k 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?
68
votes
5answers
98k 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?
60
votes
8answers
239k 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?
58
votes
16answers
66k 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.
52
votes
6answers
45k 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
46k 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?
47
votes
6answers
60k 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 ...
44
votes
6answers
70k 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 ...
42
votes
9answers
216k 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 ...
42
votes
5answers
47k 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.
41
votes
8answers
80k 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 ...
34
votes
3answers
24k 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 ...
34
votes
3answers
30k 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?
30
votes
4answers
15k 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 ...
29
votes
3answers
30k 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 ...
28
votes
7answers
66k 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?
28
votes
5answers
31k 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?
28
votes
8answers
9k views

How 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 ...
27
votes
2answers
27k 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?
27
votes
10answers
19k 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?
27
votes
2answers
84k views

How do I configure proxies in Ubuntu Server or Minimal (CLI) Ubuntu?

How do you configure proxy settings in the Ubuntu Server or Minimal (CLI) versions using the terminal?
27
votes
4answers
40k 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 ...
25
votes
7answers
13k 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
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
1answer
12k 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 ...
23
votes
2answers
17k 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 ...
23
votes
9answers
25k 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 ...
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
2answers
100k 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.
22
votes
3answers
154k 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 ...
21
votes
3answers
14k 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?
21
votes
2answers
26k 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...)
21
votes
2answers
15k 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?
20
votes
6answers
16k 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
5answers
85k 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 ...
20
votes
3answers
51k 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
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
2answers
12k views

How can I force Ubuntu to boot on a stuck boot menu?

I have Ubuntu Server 11.04, but it is headless (no monitor). The only way I want to be able to access it is remotely via SSH. But, sometimes, say after a power loss, when the server restarts, it will ...
20
votes
2answers
15k 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).
20
votes
3answers
8k 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 ...
20
votes
3answers
46k 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
7answers
47k 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 ...
19
votes
2answers
26k 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?
19
votes
4answers
27k 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 ...
18
votes
7answers
42k 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 ...
18
votes
1answer
36k views

How do I change mirrors in Ubuntu Server from regional to main?

I have a Lucid Server (10.04) set up and I would like to change the mirror from US (or any other country) to the Main Ubuntu Mirror. For example my two first entries in sources.list are: deb ...
18
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 ...
18
votes
3answers
47k views

How to find zombie process?

System information as of Fri Mar 9 19:40:01 KST 2012 System load: 0.59 Processes: 167 Usage of /home: 23.0% of 11.00GB Users logged in: 1 Swap usage: 0% ...