diff --git a/docs/INSTALL-ubuntu.md b/docs/INSTALL-ubuntu.md index f8d8f61bd74..24f0fa940bd 100644 --- a/docs/INSTALL-ubuntu.md +++ b/docs/INSTALL-ubuntu.md @@ -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) diff --git a/script/bench.rb b/script/bench.rb index 94680367acf..46720b83f3c 100644 --- a/script/bench.rb +++ b/script/bench.rb @@ -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