Questions tagged [server]

Ubuntu Server is a flavor of Ubuntu that comes with with no desktop environment by default, with command-line SSH login as the default way of remote access. This tag should be used for questions related to Ubuntu Server (as opposed to Ubuntu Desktop variants), as well as any questions related to installing services and programs on Ubuntu Server.

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 Ubuntu Server include web servers, databases, DNS, containers, etc. These programs include:

  • Apache 2 and NGINX Web servers
  • MySQL, MariaDB and PostgreSQL Databases
  • PHP, Perl, JavaScript etc.
  • Bind 9 DNS Server
  • Docker, LXD and Kata Containers

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:

16515 questions
246
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,383
66
votes
3 answers

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 /etc/motd file is regularly updated, however. I just…
54
votes
13 answers

How to check if Ubuntu Desktop or Server is installed?

I have a shared hosting. I have access to shell. The OS is Ubuntu, and I want to check whether it is the server version or desktop version. When I log in through shell, it shows following information: Linux [server-name] 2.6.32-24-generic #39-Ubuntu…
Naveed
  • 643
42
votes
7 answers

How do I show active dhcp leases

Not experiened with Ubuntu. Set up a dhcp server about a year ago but don't remember the command to see the active leases.
keith
  • 521
24
votes
4 answers

What is the easiest way to strip a desktop edition to a server edition?

We have installed Ubuntu desktop edition on our development server. Now that we have it in a data center we would like to strip it down to a server edition. Is there an easy way of doing so rather than just going in and uninstalling packages by…
19
votes
1 answer

How do I rerun Ubuntu Software Selection after installation is complete

I installed Ubuntu from the minimal CD (mini.iso). During the install, I was presented this feature ("Software Selection"): How do I launch it after install?
Michele
  • 193
  • 1
  • 1
  • 4
19
votes
2 answers

Important things to do after installing Ubuntu Server

I just installed Ubuntu Server on a VPS. To configure the server I'm reading the Ubuntu Server Guide. But the Ubuntu Server Guide doesn't tells me everything. E.g. The Ubuntu Server Guide doesn't tell me about how to secure SSH, which is, in my…
OrangeTux
  • 5,195
  • 8
  • 36
  • 57
18
votes
5 answers

sudo: unable to resolve host {hostname}: Temporary failure in name resolution

Recently, I tried to run the command, sudo apt-get update and got the Temporary failure in name resolution error. But, after that the command proceeded and went on to update. Should I worried about the error. Below is the complete log: sudo apt-get…
User04
  • 181
16
votes
2 answers

How do I install MSSQL Server and/or Tools for Linux on 16.04?

This post was created to try and be a 'catch all' canonical question/answer pair for 'How do I Install MSSQL Server' and 'How Do I Install MSSQL Server Tools' questions. I am looking to set up MS SQL Server for Linux, and quite possibly its tools…
Thomas Ward
  • 74,764
13
votes
1 answer

Graphical Server Management

I am new to Ubuntu servers and am not as familiar with the command line (bash) as I wish. What graphical interfaces are available for server management?
Panther
  • 102,067
13
votes
3 answers

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 install 2.4? Linux commands would be appreciated or…
Chaz
11
votes
2 answers

How to upgrade a server from 12.04 to 16.04?

The machine has no desktop, only a command shell. It is running 12.04. I have been doing apt-get update & upgrade weekly for four years. How do I convert it to 16.04 from the command line? I have a 16.04 server install CD, do I boot from that?
user545217
  • 151
  • 1
  • 2
  • 9
9
votes
2 answers

Avoid killing SSH in out-of-memory

When my server runs into out-of-memory, it usually kills several applications. Is there any way how can i prevent from killing SSH. Because usually, when this out-of-memory error happens, my SSH is broken like this: I connect to ssh server. Enter…
Riki137
  • 3,571
9
votes
2 answers

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 6.3G 13% / It contains PHP/Mysql/Apache and…
Arman
  • 364
9
votes
1 answer

Critical differences between Ubuntu Server and Ubuntu Desktop for 20.04 LTS?

What are the actual meaningful differences between Ubuntu Server and Ubuntu Desktop, particularly for 20.04? I know people say among other things that Desktop has GUI by default and Server has text, and Desktop has end-user apps that Server doesn't,…
1
2 3
30 31