Skip to content

Commit

Permalink
added suse install + some centos fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
André Bauer committed Nov 15, 2016
1 parent d84550a commit 5a1efb8
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 94 deletions.
81 changes: 13 additions & 68 deletions install-centos.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ CentOS7
baseurl=https://rpm.packager.io/gh/zammad/zammad/centos7/stable
enabled=1" | sudo tee /etc/yum.repos.d/zammad.repo

::

sudo yum install zammad


CentOS6
-------

Expand All @@ -37,72 +32,26 @@ CentOS6
baseurl=https://rpm.packager.io/gh/zammad/zammad/centos6/stable
enabled=1" | sudo tee /etc/yum.repos.d/zammad.repo

::

sudo yum install zammad


Configure your databases
========================

The example uses PostgreSQL (we also support MySQL/MariaDB).

Get a fresh database server up and running:
-------------------------------------------
Install Zammad
==============

::

sudo postgresql-setup initdb
sudo systemctl start postgresql.service
sudo systemctl enable postgresql.service
sudo -u postgres createuser --interactive
sudo -u postgres createuser -d zammad


Check config for database connection in /opt/zammad/config/database.yml
-----------------------------------------------------------------------

::

production:
adapter: postgresql
database: zammad_production
pool: 50
timeout: 5000
encoding: utf8
username: zammad
password:


Initialize your database
========================

::

sudo zammad run rake db:create
sudo zammad run rake db:migrate
sudo zammad run rake db:seed


Start Zammad services:
======================

Generate init scripts for your platform and start Zammad services:
------------------------------------------------------------------

::
sudo yum install zammad

sudo zammad scale web=1 worker=1 websocket=1

Start Zammad services at boot:
------------------------------
Go to http://localhost:3000 and you'll see:
===========================================

::
* "Welcome to Zammad!", there you need to create your admin user and you need to invite other agents.

sudo chkconfig zammad on

You can manage the Zammad services manually:
--------------------------------------------
===========================================

Zammad
------

::

Expand All @@ -111,7 +60,7 @@ You can manage the Zammad services manually:
sudo service start zammad
sudo service restart zammad

only web application server
Only web application server
---------------------------

::
Expand All @@ -121,7 +70,7 @@ only web application server
sudo service start zammad-web
sudo service restart zammad-web

only worker process
Only worker process
-------------------

::
Expand All @@ -131,7 +80,7 @@ only worker process
sudo service zammad-worker
sudo service restart zammad-worker

only websocket server
Only websocket server
---------------------

::
Expand All @@ -142,7 +91,3 @@ only websocket server
sudo service restart zammad-websocket


Go to http://localhost:3000 and you'll see:
===========================================

* "Welcome to Zammad!", there you need to create your admin user and you need to invite other agents.
17 changes: 7 additions & 10 deletions install-debian.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,16 @@ Add Zammad DEB Repo and install
sudo apt-get install zammad


Start Zammad services:
======================

::
Go to http://localhost and you'll see:
======================================

sudo systemctl zammad start
* "Welcome to Zammad!", there you need to create your admin user and you need to invite other agents.

You can manage the Zammad services manually:
--------------------------------------------
============================================

Zammad
------

::

Expand Down Expand Up @@ -63,7 +64,3 @@ only websocket server
sudo systemctl restart zammad-websocket


Go to http://localhost and you'll see:
======================================

* "Welcome to Zammad!", there you need to create your admin user and you need to invite other agents.
58 changes: 54 additions & 4 deletions install-suse.rst
Original file line number Diff line number Diff line change
@@ -1,13 +1,63 @@
Install on Suse via RPM
***********************

Currently we support SLES 12 & OpenSuse 42.
Currently we support SLES 12 and Opensuse 42.2

Add Zammad RPM repo and install RPM
===================================

::

Sorry, this still needs to be added :-(
sudo rpm --import https://rpm.packager.io/key
sudo zypper addrepo "https://rpm.packager.io/gh/zammad/zammad/sles12/stable" "zammad"
sudo zypper install zammad

Do you want to contribute to the Zammad documentation?

Open a new GitHub pull request @ https://github.com/zammad/zammad-documentation with your changes.
Go to http://localhost and you'll see:
======================================

* "Welcome to Zammad!", there you need to create your admin user and you need to invite other agents.

You can manage the Zammad systemctls manually:
============================================

Zammad
------

::

sudo systemctl status zammad
sudo systemctl stop zammad
sudo systemctl start zammad
sudo systemctl restart zammad

Only web application server
---------------------------

::

sudo systemctl status zammad-wew
sudo systemctl stop zammad-web
sudo systemctl start zammad-web
sudo systemctl restart zammad-web

Only worker process
-------------------

::

sudo systemctl status zammad-worker
sudo systemctl stop zammad-worker
sudo systemctl zammad-worker
sudo systemctl restart zammad-worker

Only websocket server
---------------------

::

sudo systemctl status zammad-websocket
sudo systemctl stop zammad-websocket
sudo systemctl start zammad-websocket
sudo systemctl restart zammad-websocket

22 changes: 10 additions & 12 deletions install-ubuntu.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,17 @@ Add Zammad DEB Repo and install
sudo apt-get install zammad


Start Zammad services:
======================
Go to http://localhost and you'll see:
======================================

::
* "Welcome to Zammad!", there you need to create your admin user and you need to invite other agents.

sudo systemctl zammad start

You can manage the Zammad services manually:
--------------------------------------------
============================================

Zammad
------

::

Expand All @@ -32,7 +34,7 @@ You can manage the Zammad services manually:
sudo systemctl start zammad
sudo systemctl restart zammad

only web application server
Only web application server
---------------------------

::
Expand All @@ -42,7 +44,7 @@ only web application server
sudo systemctl start zammad-web
sudo systemctl restart zammad-web

only worker process
Only worker process
-------------------

::
Expand All @@ -52,7 +54,7 @@ only worker process
sudo systemctl start zammad-worker
sudo systemctl restart zammad-worker

only websocket server
Only websocket server
---------------------

::
Expand All @@ -63,7 +65,3 @@ only websocket server
sudo systemctl restart zammad-websocket


Go to http://localhost and you'll see:
======================================

* "Welcome to Zammad!", there you need to create your admin user and you need to invite other agents.

0 comments on commit 5a1efb8

Please sign in to comment.