Merge pull request #258 from monotek/develop
updated ubuntu install manual
This commit is contained in:
commit
4c8138540c
1 changed files with 5 additions and 1 deletions
|
@ -4,7 +4,10 @@
|
|||
### Prerequisites
|
||||
* apt-get install curl git-core patch build-essential bison zlib1g-dev libssl-dev libxml2-dev libxml2-dev sqlite3 libsqlite3-dev autotools-dev libxslt1-dev libyaml-0-2 autoconf automake libreadline6-dev libyaml-dev libtool libgmp-dev libgdbm-dev libncurses5-dev pkg-config libffi-dev libmysqlclient-dev mysql-server nginx
|
||||
* mysql --defaults-extra-file=/etc/mysql/debian.cnf -e "CREATE USER 'zammad'@'localhost' IDENTIFIED BY 'Your_Pass_Word!'; GRANT ALL PRIVILEGES ON zammad_prod.* TO 'zammad'@'localhost'; FLUSH PRIVILEGES;"
|
||||
* ln -s /opt/zammad/contrib/nginx/sites-available/zammad.conf /etc/nginx/sites-enabled/zammad.conf
|
||||
* cp /opt/zammad/contrib/nginx/sites-available/zammad.conf /etc/nginx/sites-available/zammad.conf
|
||||
* vi /etc/nginx/sites-available/zammad.conf
|
||||
* change "zammad.example.com" to your domain
|
||||
* ln -s /etc/nginx/sites-available/zammad.conf /etc/nginx/sites-enabled/zammad.conf
|
||||
|
||||
### Add User
|
||||
* useradd zammad -m -d /opt/zammad -s /bin/bash
|
||||
|
@ -29,6 +32,7 @@
|
|||
* bundle install --without test development postgres
|
||||
* cp config/database.yml.dist config/database.yml
|
||||
* vi config/database.yml
|
||||
* insert mysql user, pass & host
|
||||
* rake db:create
|
||||
* rake db:migrate
|
||||
* rake db:seed
|
||||
|
|
Loading…
Reference in a new issue