Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Timo Ley
synapse
Commits
12aefb9d
Commit
12aefb9d
authored
8 years ago
by
William Leuschner
Browse files
Options
Downloads
Patches
Plain Diff
Add README instructions for OpenBSD installation
Signed-off-by:
William Leuschner
<
wel2138@rit.edu
>
parent
9609c91e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.rst
+34
-0
34 additions, 0 deletions
README.rst
with
34 additions
and
0 deletions
README.rst
+
34
−
0
View file @
12aefb9d
...
...
@@ -131,6 +131,10 @@ Installing prerequisites on openSUSE::
sudo zypper in python-pip python-setuptools sqlite3 python-virtualenv \
python-devel libffi-devel libopenssl-devel libjpeg62-devel
Installing prerequisites on OpenBSD::
doas pkg_add python libffi py-pip py-setuptools sqlite3 py-virtualenv \
libxslt
To install the synapse homeserver run::
virtualenv -p python2.7 ~/.synapse
...
...
@@ -364,6 +368,36 @@ Synapse can be installed via FreeBSD Ports or Packages contributed by Brendan Mo
- Ports: ``cd /usr/ports/net/py-matrix-synapse && make install clean``
- Packages: ``pkg install py27-matrix-synapse``
OpenBSD
-------
There is currently no port for OpenBSD. Additionally, OpenBSD's security
settings require a slightly more difficult installation process.
1) Ensure that you have the Bourne Again Shell (``bash``) installed. The Korn
Shell (``ksh``), which is OpenBSD's default shell, does not support the
``source`` command necessary to activate the python virtualenv to be set up
later.
2) Create a new directory in ``/usr/local`` called ``_synapse``. Also, create a
new user called ``_synapse`` and set that directory as the new user's home.
This is required because, by default, OpenBSD only allows binaries which need
write and execute permissions on the same memory space to be run from
``/usr/local``.
3) ``su`` to the new ``_synapse`` user and change to their home directory.
4) Create a new virtualenv: ``virtualenv -p python2.7 ~/.synapse``
5) Start a ``bash`` shell
6) Source the virtualenv configuration located at
``/usr/local/_synapse/.synapse/bin/activate``
7) Optionally, use ``pip`` to install ``lxml``, which Synapse needs to parse
webpages for their titles.
8) Use ``pip`` to install this repository: ``pip install
https://github.com/matrix-org/synapse/tarball/master``
9) Optionally, change ``_synapse``'s shell to ``/bin/false`` to reduce the
chance of a compromised Synapse server being used to take over your box.
After this, you may proceed with the rest of the install directions.
NixOS
-----
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment