Questions tagged [server]

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

What Questions Should Have This Tag?:

Some Basic Definitions:

Term Definition
Server A device on a network which provides "services" to other devices such as web content, file sharing, email, printing, and shared disk space
Ubuntu Server An Operating System (OS) which (through software/hardware) allows the device(s) to perform server-related functions
LAMP An acronym for a typical web server meaning Linux, Apache, MySQL, PHP
LAMPP An acronym for a more generalised web server meaning Linux, Apache, MySQL, PHP, PostgreSQL

Brief Introduction to the Subject:

Packages and programs that are included in the Ubuntu Server core include web servers, databases, DNS, etc. These programs include:

  • Apache 2 web server
  • MySQL Database
  • PostgreSQL Database
  • PHP
  • Bind 9 DNS Server

These programs can be set up and installed separately from the Ubuntu Server Core, but questions regarding those programs should be tagged with that program's tag.

Important Links for Learning More:

15478 questions
573
votes
20 answers

How do I fix my locale issue?

I am getting this message every time I do something like starting or stopping a service. perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en_US:en", LC_ALL = (unset), …
HackToHell
  • 6,486
  • 5
  • 27
  • 37
506
votes
14 answers

Apache error "Could not reliably determine the server's fully qualified domain name"

When I restart my Apache server using the command sudo /etc/init.d/apache2 restart I get the following error: Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for…
Deepu
  • 5,207
  • 4
  • 13
  • 10
327
votes
13 answers

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 monitoring and see how much memory that have been…
Jonas
  • 7,645
  • 15
  • 30
  • 36
302
votes
13 answers

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 seems not to work in Ubuntu. How do I restart Apache?
Jai Puri
  • 3,809
  • 3
  • 19
  • 10
299
votes
14 answers

How do I check if a package is installed on my server?

I recently installed Ubuntu Server edition 13.10 (Saucy Salamander). But I have run into a bit of problem. At the end of the installation, it asks about several extra packages whether you want them or not, like OpenSSH server and virtual machine…
D.Zou
  • 3,279
  • 4
  • 15
  • 18
274
votes
5 answers

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?
Matthew Blackford
  • 2,945
  • 2
  • 17
  • 9
243
votes
21 answers

SSH Permission denied (publickey)

I am trying to connect to a Linode (running Ubuntu 12.04 LTS) from my local machine (also running Ubuntu 12.04 LTS) I have created a private and public key on my local machine and copied my public key to my Linode's authorized_keys file. However,…
Pattle
  • 2,569
  • 3
  • 14
  • 7
241
votes
14 answers

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?
James Litewski
  • 5,999
  • 5
  • 18
  • 9
228
votes
13 answers

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 in, I have to type sudo su and my password first in…
Dimitris Sapikas
  • 2,415
  • 2
  • 14
  • 9
227
votes
10 answers

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?
Jonas
  • 7,645
  • 15
  • 30
  • 36
227
votes
12 answers

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 en_SG.utf8 en_US.utf8 en_ZA.utf8 en_ZW.utf8 POSIX How…
Silver Light
  • 2,367
  • 3
  • 15
  • 12
223
votes
18 answers

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.
user3215
  • 5,103
  • 14
  • 50
  • 59
182
votes
8 answers

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?
hawkeye
  • 3,607
  • 6
  • 27
  • 26
162
votes
6 answers

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 Personal Package Archive (PPA) to the server without this command?
Luis Alvarado
  • 204,136
  • 163
  • 532
  • 701
154
votes
4 answers

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.
C. Ross
  • 2,827
  • 4
  • 19
  • 14
1
2 3
99 100