<commit_before># Discourse Install Guide on Ubuntu

## What kind of hardware do you have?

- Recommended minimum configuration is:
  - 2GiB of RAM
  - 2GiB of swap
  - 2 processor cores
- With 2GB of memory and dual cores, you can run two instances of the thin
  server (`NUM_WEBS=2`)

1 GiB of memory, 3GiB of swap and a single core CPU are the minimums for a
steady state, running Discourse forum -- but it's simpler to just throw a bit
more hardware at the problem if you can, particularly during the install.

## Install Ubuntu Server 12.04 LTS with the package groups:

![screenshot of package group selection screen](https://raw.github.com/discourse/discourse-docimages/master/install/ubuntu%20-%20install%20-%20software%20selection.png)

* Basic Ubuntu server
* OpenSSH server
* Mail server
* PostgreSQL database (9.1+)

You may be working on an already-installed or automatically deployed system, in which case you can install them afterwards:

    # Run these commands as your normal login (e.g. "michael")
    sudo apt-get update && sudo apt-get -y upgrade
    sudo tasksel install openssh-server
    sudo tasksel install mail-server
    sudo tasksel install postgresql-server

### Configure the mail server:
<commit_msg>ENOUGH WITH THE DAMN "GiB" ALREADY<commit_after># Discourse Install Guide on Ubuntu

## What kind of hardware do you have?

- Recommended minimum configuration is:
  - 2 GB of RAM
  - 2 GB of swap
  - 2 processor cores
- With 2GB of memory and dual cores, you can run two instances of the thin
  server (`NUM_WEBS=2`)

1 GB of memory, 3GB of swap and a single core CPU are the minimums for a
steady state, running Discourse forum -- but it's simpler to just throw a bit
more hardware at the problem if you can, particularly during the install.

## Install Ubuntu Server 12.04 LTS with the package groups:

![screenshot of package group selection screen](https://raw.github.com/discourse/discourse-docimages/master/install/ubuntu%20-%20install%20-%20software%20selection.png)

* Basic Ubuntu server
* OpenSSH server
* Mail server
* PostgreSQL database (9.1+)

You may be working on an already-installed or automatically deployed system, in which case you can install them afterwards:

    # Run these commands as your normal login (e.g. "michael")
    sudo apt-get update && sudo apt-get -y upgrade
    sudo tasksel install openssh-server
    sudo tasksel install mail-server
    sudo tasksel install postgresql-server

### Configure the mail server:

{'fraction_non_alphanumeric': 0.06852075775896815, 'fraction_numerical': 0.018540910923014912, 'mean_word_length': 3.9839357429718874, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '317217', 'n_tokens_mistral': 765, 'n_tokens_neox': 682, 'n_words': 329}