Merge pull request #2612 from lazywei/installation_refine

Installation refine (REDO)
This commit is contained in:
Sam 2014-08-01 09:04:15 +10:00
commit 49bf6f3075
2 changed files with 9 additions and 1 deletions

View File

@ -28,10 +28,15 @@ We only support Docker based installs now. Please see [our **official install gu
> # Run these commands as your normal login (e.g. "michael")
> sudo apt-get update && sudo apt-get -y upgrade
> sudo apt-get install tasksel
> sudo tasksel install openssh-server
> 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

@ -62,8 +62,11 @@ end
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
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
OR
apt-get install postgresql-server^
sudo apt-add-repository -y ppa:rwky/redis
sudo apt-get update