2016.06.23으로 업데이트 하고 나서 한 결과.. 이거 하나면 끝.. ㄷㄷㄷ
단, 기본은 sqlite 인듯?
mysql 이나 mariadb 쓰려면 별도로 설치를 해주어야 한다.
$ sudo apt-get install redmine Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: bundler dbconfig-common fonts-droid ghostscript imagemagick-common libev4 libfcgi-ruby1.9.1 libfcgi0ldbl libgmp-dev libgmpxx4ldbl libgs9 libgs9-common libijs-0.35 libjbig2dec0 libjs-coffeescript libjs-jquery-ui libjs-prototype libjs-scriptaculous libjsoncpp0 liblqr-1-0 libmagickcore-6.q16-2 rake redmine-sqlite ruby-actionmailer ruby-actionpack ruby-actionpack-action-caching ruby-actionview ruby-activemodel ruby-activerecord ruby-activesupport ruby-arel ruby-atomic ruby-awesome-nested-set ruby-blankslate ruby-builder ruby-celluloid ruby-coderay ruby-coffee-rails ruby-coffee-script ruby-coffee-script-source ruby-dev ruby-erubis ruby-execjs ruby-fcgi ruby-ffi ruby-hike ruby-hmac ruby-i18n ruby-jbuilder ruby-jquery-rails ruby-json ruby-listen ruby-mail ruby-mime-types ruby-minitest ruby-multi-json ruby-net-http-persistent ruby-net-ldap ruby-oj ruby-openid ruby-passenger ruby-polyglot ruby-protected-attributes ruby-rack ruby-rack-openid ruby-rack-test ruby-rails ruby-rails-observers ruby-railties ruby-rb-inotify ruby-redcarpet ruby-request-store ruby-rmagick ruby-sass ruby-sass-rails ruby-sdoc ruby-spring ruby-sprockets ruby-sprockets-rails ruby-sqlite3 ruby-thor ruby-thread-safe ruby-tilt ruby-timers ruby-treetop ruby-turbolinks ruby-tzinfo ruby-uglifier ruby-yajl ruby2.1-dev sqlite3 zip Suggested packages: virtual-mysql-client mysql-client postgresql-client ghostscript-x libgmp10-doc libmpfr-dev coffeescript libjs-jquery-ui-docs libmagickcore-6.q16-2-extra bzr cvs darcs mercurial subversion ruby-builder-doc rails ruby-passenger-doc ruby-compass treetop doc-base sqlite3-doc The following NEW packages will be installed: bundler dbconfig-common fonts-droid ghostscript imagemagick-common libev4 libfcgi-ruby1.9.1 libfcgi0ldbl libgmp-dev libgmpxx4ldbl libgs9 libgs9-common libijs-0.35 libjbig2dec0 libjs-coffeescript libjs-jquery-ui libjs-prototype libjs-scriptaculous libjsoncpp0 liblqr-1-0 libmagickcore-6.q16-2 rake redmine redmine-sqlite ruby-actionmailer ruby-actionpack ruby-actionpack-action-caching ruby-actionview ruby-activemodel ruby-activerecord ruby-activesupport ruby-arel ruby-atomic ruby-awesome-nested-set ruby-blankslate ruby-builder ruby-celluloid ruby-coderay ruby-coffee-rails ruby-coffee-script ruby-coffee-script-source ruby-dev ruby-erubis ruby-execjs ruby-fcgi ruby-ffi ruby-hike ruby-hmac ruby-i18n ruby-jbuilder ruby-jquery-rails ruby-json ruby-listen ruby-mail ruby-mime-types ruby-minitest ruby-multi-json ruby-net-http-persistent ruby-net-ldap ruby-oj ruby-openid ruby-passenger ruby-polyglot ruby-protected-attributes ruby-rack ruby-rack-openid ruby-rack-test ruby-rails ruby-rails-observers ruby-railties ruby-rb-inotify ruby-redcarpet ruby-request-store ruby-rmagick ruby-sass ruby-sass-rails ruby-sdoc ruby-spring ruby-sprockets ruby-sprockets-rails ruby-sqlite3 ruby-thor ruby-thread-safe ruby-tilt ruby-timers ruby-treetop ruby-turbolinks ruby-tzinfo ruby-uglifier ruby-yajl ruby2.1-dev sqlite3 zip 0 upgraded, 93 newly installed, 0 to remove and 0 not upgraded. Need to get 850 kB/21.7 MB of archives. After this operation, 83.3 MB of additional disk space will be used. Do you want to continue? [Y/n] |
db 종류 교체 등을 위해서는 설치중에 나오는 메시지를 따라 입력하면 된다.
$ sudo dpkg-reconfigure -plow redmine
┌────────────────────────────────────────────┤ ├────────────────────────────────────────────┐ │ │ │ redmine-mysql package required │ │ │ │ Redmine instance default is configured to use database type mysql, but the corresponding │ │ redmine-mysql package is not installed. │ │ │ │ Configuration of instance default is aborted. │ │ │ │ To finish that configuration, please install the redmine-mysql package, and reconfigure │ │ redmine using: │ │ │ │ dpkg-reconfigure -plow redmine │ │ │ ││ │ │ └────────────────────────────────────────────────────────────────────────────────────────────┘
요약본?
$ sudo apt-get install apache2 mysql-server redmine redmine-mysql libapache2-mod-passenger $ sudo ln -s /usr/share/redmine/public /var/www/redmine $ sudo chown -R www-data:www-data /var/www/redmine $ sudo vi /etc/apache2/sites-available/redmine.conf DocumentRoot /var/www/ PassengerDefaultUser www-data <Location /redmine> RailsEnv production RackBaseURI /redmine Options -MultiViews </Location> $ sudo a2dissite 000-default $ sudo a2ensite redmine $ sudo /etc/init.d/apache2 reload $ sudo /etc/init.d/apache2 restart |
[링크 : http://www.tylerforsythe.com/.../install-redmine-onto-raspberry-pi-2-this-is-the-tutorial-you-want/]
redmine은
admin/admin이 기본 아이디/패스워드임
+
2016.07.07
subURI와 virtualHost를 둘다 동시에 쓸수는 없는건가? ㅠㅠ
[링크 : http://stackoverflow.com/.../...rails-app-on-subdomain-root-with-apache-and-passenger]
'embeded > raspberry pi' 카테고리의 다른 글
rpi gstreamer mux (0) | 2016.06.28 |
---|---|
beowulf / openMPI (0) | 2016.06.28 |
gsteamer rtspsink (0) | 2016.06.21 |
라즈베리 파이 카메라(rpi cam) 렌즈 교체.. (2) | 2016.06.18 |
raspivid - H264 SPS PPS? (0) | 2016.06.10 |