Fix some small issues with the CentOS/Fedora instructions.

This commit is contained in:
Tim Abbott 2015-11-03 20:53:29 -08:00
parent 7f4b82af18
commit 8181a0423f
1 changed files with 15 additions and 7 deletions

View File

@ -233,6 +233,8 @@ Now continue with the "All systems" instructions below.
On Fedora 22 (experimental):
These instructions are experimental and may have bugs; patches welcome!
```
sudo dnf install libffi-devel memcached rabbitmq-server openldap-devel python-devel redis postgresql-server postgresql-devel postgresql libmemcached-devel freetype-devel
wget https://launchpad.net/~tabbott/+archive/ubuntu/zulip/+files/tsearch-extras_0.1.3.tar.gz
@ -255,9 +257,16 @@ host all all 127.0.0.1/32 md5
# Start the services
sudo systemctl start redis memcached rabbitmq-server postgresql
# Enable automatic service startup after the system startup
sudo systemctl enable redis rabbitmq-server memcached postgresql
```
On CentOS 7 (Core):
Now continue with the All Systems instructions below.
On CentOS 7 Core (experimental):
These instructions are experimental and may have bugs; patches welcome!
```
# Add user zulip to the system (not necessary if you configured zulip as the administrator
@ -292,8 +301,8 @@ cd ts2
make -j $(nproc)
sudo make install
# Now create the missing dictionary files
sudo touch /usr/share/pgsql/tsearch_data/zulip_english.stop
# Hack around missing dictionary files -- need to fix this to get
# the proper dictionaries from what in debian is the hunspell-en-us package.
sudo touch /usr/share/pgsql/tsearch_data/english.stop
sudo touch /usr/share/pgsql/tsearch_data/en_us.dict
sudo touch /usr/share/pgsql/tsearch_data/en_us.affix
@ -323,11 +332,10 @@ sudo systemctl start redis rabbitmq-server memcached postgresql
# Enable automatic service startup after the system startup
sudo systemctl enable redis rabbitmq-server memcached postgresql
# Recompile pillow with freetype support (required for build_emoji script)
sudo pip uninstall pillow; sudo pip install pillow
```
Now continue with the All Systems instructions below.
All Systems:
```