Use apt-get instead of tasksel to prevent unexpected bug.

This commit is contained in:
Bert Chang 2014-05-29 12:35:41 +08:00
parent 87c63f290e
commit eefc150c00
2 changed files with 7 additions and 0 deletions

View file

@ -33,6 +33,10 @@ We only support Docker based installs now. Please see [our **official install gu
> sudo tasksel install mail-server
> sudo tasksel install postgresql-server
> If the above installation is stuck, please use the following method instead ([detail](https://bugs.launchpad.net/ubuntu/+source/debconf/+bug/141601)):
> apt-get install postgresql-server^
> ### Configure the mail server:
> ![screenshot of mail server type configuration screen](https://raw.github.com/discourse/discourse-docimages/master/install/ubuntu%20-%20install%20-%20mail_1%20system%20type.png)

View file

@ -63,7 +63,10 @@ def prereqs
puts "Be sure to following packages are installed:
sudo apt-get -y install build-essential libssl-dev libyaml-dev git libtool libxslt-dev libxml2-dev libpq-dev gawk curl pngcrush python-software-properties software-properties-common tasksel
sudo tasksel install postgresql-server
OR
apt-get install postgresql-server^
sudo apt-add-repository -y ppa:rwky/redis
sudo apt-get update