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

learn more… | top users | synonyms (2)

89
votes
9answers
88k 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: ...
89
votes
5answers
8k views

How can I tell, from the command line, whether the machine requires a reboot?

When you install certain updates (e.g. a new kernel) in Ubuntu Desktop, you get an indication that a reboot is required (in Lucid, the logout icon turns red). How can I check, from the command line, ...
59
votes
5answers
69k 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 ...
52
votes
4answers
39k 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?
49
votes
5answers
71k 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?
46
votes
15answers
41k 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.
46
votes
4answers
40k 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?
42
votes
6answers
36k 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 ...
38
votes
8answers
140k 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?
36
votes
5answers
38k 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 ...
34
votes
10answers
62k 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 ...
30
votes
5answers
28k 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.
30
votes
3answers
20k 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?
29
votes
6answers
41k 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 ...
26
votes
9answers
135k 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 ...
26
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 ...
26
votes
1answer
16k 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 ...
25
votes
4answers
10k 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 ...
24
votes
7answers
11k 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
5answers
25k 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?
24
votes
2answers
15k 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 ...
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 ...
22
votes
10answers
11k 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?
22
votes
1answer
10k views

Where does the System Information information come from on login?

I have a local server running Ubuntu 10.04 headlessly. When I ssh to the server I get some core information about the system, such as System load: 0.0 Processes: XXX Usage ...
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 ...
21
votes
7answers
43k 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?
21
votes
1answer
10k 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 ...
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
20k 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...)
19
votes
2answers
18k 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?
19
votes
3answers
35k 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?
19
votes
8answers
19k 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 ...
19
votes
3answers
23k 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 ...
19
votes
3answers
112k 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 ...
19
votes
3answers
42k 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 ...
18
votes
6answers
12k 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.
18
votes
7answers
9k views

What is the best way to add files to a website on a LAMP Server?

I have just installed Ubuntu Server 10.04 with a LAMP setup. I want to host a website there but I'm not sure which is the best way to get/edit my files on the server. Googling provides many options ...
18
votes
2answers
80k 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.
17
votes
3answers
5k 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?
17
votes
8answers
32k 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
3answers
6k 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 ...
16
votes
9answers
3k views

Command line games

Does anyone know if there are games for Ubuntu server (like tetris, etc...)? I know that servers aren't meant for playing games, but sometimes it would be nice to have a little fun . . . not only ...
16
votes
2answers
19k 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?
16
votes
7answers
38k 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 ...
16
votes
6answers
24k 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 ...
16
votes
2answers
8k 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).
15
votes
5answers
60k 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 ...
15
votes
8answers
15k 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 ...
15
votes
3answers
6k views

Turn off monitor using command line

I am runnning Ubuntu Server on my laptop. There is really no reason for the screen to be on. I have been trying to use this command to turn the screen off: sleep 1 && xset dpms force off ...
15
votes
1answer
3k 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 ...