Skip to content

Instantly share code, notes, and snippets.

@kyokuheki
Last active August 2, 2016 12:51
Show Gist options
  • Save kyokuheki/855cda7a31aeae2a54cffb59cf5f9248 to your computer and use it in GitHub Desktop.
Save kyokuheki/855cda7a31aeae2a54cffb59cf5f9248 to your computer and use it in GitHub Desktop.
redmine 手動構築手順(書きかけ)
sudo locale-gen ja_JP.UTF-8
sudo apt update && sudo apt full-upgrade -y
sudo apt install -y git build-essential libssl-dev
sudo apt install -y ruby2.0 mysql-server apache2 subversion ruby-rmagick/trusty libmagick++-dev
cd /opt
svn checkout http://svn.redmine.org/redmine/branches/3.2-stable redmine
sudo chown -R www-data .
sudo vim /etc/mysql/my.cnf
[mysqld]
character-set-server=utf8
[mysql]
default-character-set=utf8
sudo service mysql restart
mysql -u root -p
mysql> show variables like 'character_set%';
mysql> create database db_redmine default character set utf8;
mysql> grant all on db_redmine.* to user_redmine@localhost identified by 'パスワード';
mysql> flush privileges;
mysql> exit;
sudo vim /var/lib/redmine/config/database.yml
production:
  adapter: mysql2
  database: db_redmine
  host: localhost
  username: user_redmine
  password: ********
  encoding: utf8
sudo vim /var/lib/redmine/config/configuration.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment