Update README_Install_Ubuntu.rdoc
This commit is contained in:
parent
ba7e0d7d2a
commit
9221dbb818
1 changed files with 8 additions and 14 deletions
|
@ -7,18 +7,16 @@
|
||||||
* gem install rails
|
* gem install rails
|
||||||
* gem install therubyracer
|
* gem install therubyracer
|
||||||
|
|
||||||
|
|
||||||
2. Add User
|
2. Add User
|
||||||
* useradd zammad -m -d /var/www/zammad -s /bin/bash
|
* useradd zammad -m -d /var/www/zammad -s /bin/bash
|
||||||
* echo "export RAILS_ENV=production" >> /var/www/zammad/.bashrc
|
* echo "export RAILS_ENV=production" >> /var/www/zammad/.bashrc
|
||||||
|
|
||||||
|
|
||||||
3. Apache Config
|
3. Apache Config
|
||||||
* vi /etc/apache2/sites-available/zammad
|
* vi /etc/apache2/sites-available/zammad
|
||||||
|
|
||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
ServerName zammad.inet.h1.mdd
|
ServerName zammad.example.com
|
||||||
ServerAdmin abauer@magix.net
|
ServerAdmin yourmail@example.com
|
||||||
|
|
||||||
SuexecUserGroup "zammad" "zammad"
|
SuexecUserGroup "zammad" "zammad"
|
||||||
|
|
||||||
|
@ -67,28 +65,24 @@
|
||||||
* ln -s /etc/apache2/mods-available/suexec.load /etc/apache2/mods-enabled/suexec.load
|
* ln -s /etc/apache2/mods-available/suexec.load /etc/apache2/mods-enabled/suexec.load
|
||||||
* service apache2 restart
|
* service apache2 restart
|
||||||
|
|
||||||
|
|
||||||
4. Get Zammad
|
4. Get Zammad
|
||||||
* cd /var/www/zammad
|
* cd /var/www/zammad
|
||||||
* wget http://zammad.org/zammad-1.0.1.tar.gz
|
* wget http://zammad.org/zammad-1.0.1.tar.gz
|
||||||
* tar -xzf zammad-1.0.1.tar.gz
|
* tar -xzf zammad-1.0.1.tar.gz
|
||||||
|
|
||||||
|
|
||||||
5. Edit Gemfile
|
5. Edit Gemfile
|
||||||
* vi Gemfile
|
* vi Gemfile
|
||||||
** comment
|
* comment
|
||||||
*** gem 'sqlite3'
|
* gem 'sqlite3'
|
||||||
** uncomment
|
* uncomment
|
||||||
*** gem 'libv8', '~> 3.11.8'
|
* gem 'libv8', '~> 3.11.8'
|
||||||
*** gem 'execjs'
|
* gem 'execjs'
|
||||||
*** gem 'therubyracer'
|
* gem 'therubyracer'
|
||||||
|
|
||||||
|
|
||||||
6. Install zammad
|
6. Install zammad
|
||||||
* bundle install
|
* bundle install
|
||||||
* chown -R zammad:zammad /var/www/zammad
|
* chown -R zammad:zammad /var/www/zammad
|
||||||
|
|
||||||
|
|
||||||
7. Create Database
|
7. Create Database
|
||||||
* mysql --defaults-extra-file=/etc/mysql/debian.cnf -e "CREATE DATABASE zammad_prod DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci; CREATE USER 'zammad'@'localhost' IDENTIFIED BY 'some_pass'; GRANT ALL PRIVILEGES ON zammad_prod.* TO 'zammad'@'localhost'; FLUSH PRIVILEGES;"
|
* mysql --defaults-extra-file=/etc/mysql/debian.cnf -e "CREATE DATABASE zammad_prod DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci; CREATE USER 'zammad'@'localhost' IDENTIFIED BY 'some_pass'; GRANT ALL PRIVILEGES ON zammad_prod.* TO 'zammad'@'localhost'; FLUSH PRIVILEGES;"
|
||||||
* vi config/database.yml
|
* vi config/database.yml
|
||||||
|
|
Loading…
Reference in a new issue