You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by jo...@apache.org on 2016/11/12 04:16:38 UTC
incubator-ponymail git commit: #240 Trying to clean up install page.
Repository: incubator-ponymail
Updated Branches:
refs/heads/master 522fba00c -> 54c622199
#240 Trying to clean up install page.
Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/commit/54c62219
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/54c62219
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/54c62219
Branch: refs/heads/master
Commit: 54c6221990301cf4779de7c8dc9a7701624213c5
Parents: 522fba0
Author: John D. Ament <jo...@apache.org>
Authored: Fri Nov 11 23:13:55 2016 -0500
Committer: John D. Ament <jo...@apache.org>
Committed: Fri Nov 11 23:16:15 2016 -0500
----------------------------------------------------------------------
docs/INSTALL.ubuntu.md | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/54c62219/docs/INSTALL.ubuntu.md
----------------------------------------------------------------------
diff --git a/docs/INSTALL.ubuntu.md b/docs/INSTALL.ubuntu.md
index 4d0b948..79793d1 100644
--- a/docs/INSTALL.ubuntu.md
+++ b/docs/INSTALL.ubuntu.md
@@ -21,7 +21,6 @@ sudo pip3 install elasticsearch formatflowed netaddr
~~~
Install ElasticSearch:
-
~~~
wget -qO - https://packages.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
echo "deb http://packages.elastic.co/elasticsearch/2.x/debian stable main" | sudo tee -a /etc/apt/sources.list.d/elasticsearch-2.x.list
@@ -36,20 +35,17 @@ cd lua/
sudo apxs -I/usr/include/lua5.2 -cia mod_lua.c lua_*.c -lm -llua5.2
~~~
-
Check out a copy of Pony Mail:
~~~
sudo git clone https://github.com/apache/incubator-ponymail.git /var/www/ponymail
~~~
Configure Elasticsearch to automatically start during bootup. For Ubuntu <= 14.10:
-
~~~
sudo update-rc.d elasticsearch defaults 95 10
~~~
For Ubuntu >= 15.04:
-
~~~
sudo /bin/systemctl daemon-reload
sudo /bin/systemctl enable elasticsearch.service
@@ -70,17 +66,16 @@ sudo python3 setup.py
Set up Apache httpd by adding, for example, the following virtual host configuration (e.g. in `/etc/apache2/sites-enabled/000-default.conf`):
-
-```
-<VirtualHost *:80>
+~~~
+<VirtualHost *:80>
ServerName mylists.foo.tld
DocumentRoot /var/www/ponymail/site
AddHandler lua-script .lua
LuaScope thread
LuaCodeCache stat
AcceptPathInfo On
-</VirtualHost>
-```
+</VirtualHost>
+~~~
Enable mod_lua and start apache, if not already enabled: