とりあえずざっくり


ダウンロード

パッケージ

# yum -y groupinstall "Development Tools"

fileyum-developmenttools.txt

# yum -y install openssl-devel readline-devel zlib-devel curl-devel libyaml-devel libffi-devel

# yum -y install mariadb-server mariadb-devel

# yum -y install httpd httpd-devel

# yum -y install ImageMagick ImageMagick-devel ipa-pgothic-fonts

+  まとめてインストール
fileyum-redmine.txt

ruby

# curl -O https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.0.tar.gz

# tar xvf ruby-2.5.0.tar.gz

filetar-ruby.txt

# cd ruby-2.5.0

# ./configure --disable-install-doc

fileruby-configure.txt

# make

fileruby-make.txt

# make install

fileruby-makeinstall.txt

# gem install bundler --no-rdoc --no-ri

DB設定*1

DBサービスの起動/自動起動*2

# systemctl start mariadb.service

# systemctl enable mariadb.service

DB作成

# mysql -uroot -p
> create database redmine default character set utf8;
> grant all on redmine.* to redmine@localhost identified by 'zaq1xsw2';

Redmine本体

# curl -O http://www.redmine.org/releases/redmine-3.4.4.tar.gz

# tar xvf redmine-3.4.4.tar.gz

filetar-redmine.txt

# mv ./redmine-3.4.4 /var/www/redmine

# cd /var/www/redmine

# bundle install --without development test --path vendor/bundle

# bundle exec rake generate_secret_token

# RAILS_ENV=production bundle exec rake db:migrate

# RAILS_ENV=production REDMINE_LANG=ja bundle exec rake redmine:load_default_data

# gem install passenger --no-rdoc --no-ri

# passenger-install-apache2-module --auto

# passenger-install-apache2-module --snippet >> /etc/httpd/conf.d/redmine.conf

# chown -R apache:apache /var/www/html/redmine

firewall設定*3

# firewall-cmd --zone=public --add-service=http --permanent

# firewall-cmd --reload

httpdサービスの起動/自動起動*4

# systemctl start httpd.service

# systemctl enable httpd.service


*1 MariaDB参照
*2 MariaDB参照
*3 apache参照
*4 apache参照

トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS