33번째 줄: | 33번째 줄: | ||
mysql> exit | mysql> exit | ||
Bye | Bye | ||
</source> | |||
==passenger 설치== | |||
<source lang='console'> | |||
[root@zetawiki ~]# gem install passenger | |||
Fetching: rack-2.0.3.gem (100%) | |||
Successfully installed rack-2.0.3 | |||
Fetching: passenger-5.1.4.gem (100%) | |||
Building native extensions. This could take a while... | |||
Successfully installed passenger-5.1.4 | |||
Parsing documentation for rack-2.0.3 | |||
Installing ri documentation for rack-2.0.3 | |||
Parsing documentation for passenger-5.1.4 | |||
Installing ri documentation for passenger-5.1.4 | |||
Done installing documentation for rack, passenger after 39 seconds | |||
2 gems installed | |||
</source> | </source> | ||
93번째 줄: | 109번째 줄: | ||
Bundle complete! 30 Gemfile dependencies, 70 gems now installed. | Bundle complete! 30 Gemfile dependencies, 70 gems now installed. | ||
Use `bundle info [gemname]` to see where a bundled gem is installed. | Use `bundle info [gemname]` to see where a bundled gem is installed. | ||
</source> | |||
==레드마인 DB 설정== | |||
<source lang='console'> | |||
[root@zetawiki ~]# mysql -uroot -p | |||
Enter password: P@ssw0rd | |||
</source> | |||
<source lang='console'> | |||
mysql> create database redmine character set utf8; | |||
Query OK, 1 row affected (0.04 sec) | |||
mysql> create user 'redmine'@'localhost' identified by 'P@ssw0rd'; | |||
Query OK, 0 rows affected (0.04 sec) | |||
mysql> grant all privileges on redmine.* to 'redmine'@'localhost'; | |||
Query OK, 0 rows affected (0.02 sec) | |||
mysql> exit | |||
Bye | |||
</source> | |||
<source lang='console'> | |||
[root@zetawiki ~]# vi /usr/share/redmine/config/database.yml | |||
</source> | |||
<source lang='yaml'> | |||
production: | |||
adapter: mysql2 | |||
database: redmine | |||
host: localhost | |||
username: root | |||
password: "P@ssw0rd" | |||
encoding: utf8 | |||
</source> | </source> | ||
2017년 6월 1일 (목) 18:31 판
- 다른 뜻에 대해서는 우분투 레드마인 설치 문서를 참조하십시오.
✔️ CentOS 6에서 테스트하였습니다.
- How To Install Redmine
- 레드마인 설치하기
1 사전 작업
- CentOS epel-release 설치
- CentOS 아파치 설치
- CentOS MySQL 설치
- CentOS6 ruby-2.3 설치
- yum install mysql-devel
- yum install ImageMagick ImageMagick-devel
2 MySQL redmine DB 설정
Console
Copy
[root@zetawiki ~]# mysql -uroot -p
Enter password: P@ssw0rd
Console
Copy
mysql> create database redmine character set utf8;
Query OK, 1 row affected (0.04 sec)
mysql> create user 'redmine'@'localhost' identified by 'P@ssw0rd';
Query OK, 0 rows affected (0.04 sec)
mysql> grant all privileges on redmine.* to 'redmine'@'localhost';
Query OK, 0 rows affected (0.02 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
mysql> exit
Bye
3 passenger 설치
Console
Copy
[root@zetawiki ~]# gem install passenger
Fetching: rack-2.0.3.gem (100%)
Successfully installed rack-2.0.3
Fetching: passenger-5.1.4.gem (100%)
Building native extensions. This could take a while...
Successfully installed passenger-5.1.4
Parsing documentation for rack-2.0.3
Installing ri documentation for rack-2.0.3
Parsing documentation for passenger-5.1.4
Installing ri documentation for passenger-5.1.4
Done installing documentation for rack, passenger after 39 seconds
2 gems installed
4 레드마인 설치
Console
Copy
[root@zetawiki ~]# wget http://www.redmine.org/releases/redmine-3.3.3.tar.gz
--2017-06-01 18:28:51-- http://www.redmine.org/releases/redmine-3.3.3.tar.gz
Resolving www.redmine.org... 46.4.36.71
Connecting to www.redmine.org|46.4.36.71|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2366378 (2.3M) [application/x-gzip]
Saving to: “redmine-3.3.3.tar.gz”
100%[=================================================>] 2,366,378 641K/s in 3.6s
2017-06-01 18:28:56 (641 KB/s) - “redmine-3.3.3.tar.gz” saved [2366378/2366378]
Console
Copy
[root@zetawiki ~]# tar xvzf redmine-3.3.3.tar.gz
... (생략)
redmine-3.3.3/extra/sample_plugin/init.rb
redmine-3.3.3/extra/mail_handler/
redmine-3.3.3/extra/mail_handler/rdm-mailhandler.rb
Console
Copy
[root@zetawiki ~]# mv redmine-3.3.3/ /var/www/redmine
[root@zetawiki ~]# cd /var/www/redmine/
[root@zetawiki redmine]# ll
total 84
drwxrwxr-x 6 1000 1000 4096 Apr 9 17:46 app
-rw-rw-r-- 1 1000 1000 851 Apr 9 17:47 appveyor.yml
drwxrwxr-x 2 1000 1000 4096 Apr 9 17:47 bin
drwxrwxr-x 5 1000 1000 4096 Apr 9 17:47 config
-rw-rw-r-- 1 1000 1000 160 Apr 9 17:47 config.ru
-rw-rw-r-- 1 1000 1000 241 Apr 9 17:47 CONTRIBUTING.md
drwxrwxr-x 3 1000 1000 4096 Apr 9 17:47 db
drwxrwxr-x 2 1000 1000 4096 Apr 9 17:47 doc
drwxrwxr-x 5 1000 1000 4096 Apr 9 17:47 extra
drwxrwxr-x 2 1000 1000 4096 Apr 9 17:47 files
-rw-rw-r-- 1 1000 1000 3934 Apr 9 17:47 Gemfile
drwxrwxr-x 7 1000 1000 4096 Apr 9 17:47 lib
drwxrwxr-x 2 1000 1000 4096 Apr 9 17:47 log
drwxrwxr-x 2 1000 1000 4096 Apr 9 17:47 plugins
drwxrwxr-x 8 1000 1000 4096 Apr 9 17:47 public
-rw-rw-r-- 1 1000 1000 275 Apr 9 17:47 Rakefile
-rw-rw-r-- 1 1000 1000 205 Apr 9 17:47 README.rdoc
drwxrwxr-x 2 1000 1000 4096 Apr 9 17:47 script
drwxrwxr-x 10 1000 1000 4096 Apr 9 17:46 test
drwxrwxr-x 9 1000 1000 4096 Apr 9 17:47 tmp
drwxrwxr-x 2 1000 1000 4096 Apr 9 17:47 vendor
Console
Copy
[root@zetawiki redmine]# bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your
bundle as root will break this application for all non-root users on this machine.
Please configure your config/database.yml first
... (생략)
Fetching rails 4.2.7.1
Installing rails 4.2.7.1
Bundle complete! 30 Gemfile dependencies, 70 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
5 레드마인 DB 설정
Console
Copy
[root@zetawiki ~]# mysql -uroot -p
Enter password: P@ssw0rd
Console
Copy
mysql> create database redmine character set utf8;
Query OK, 1 row affected (0.04 sec)
mysql> create user 'redmine'@'localhost' identified by 'P@ssw0rd';
Query OK, 0 rows affected (0.04 sec)
mysql> grant all privileges on redmine.* to 'redmine'@'localhost';
Query OK, 0 rows affected (0.02 sec)
mysql> exit
Bye
Console
Copy
[root@zetawiki ~]# vi /usr/share/redmine/config/database.yml
yaml
Copy
production:
adapter: mysql2
database: redmine
host: localhost
username: root
password: "P@ssw0rd"
encoding: utf8
6 같이 보기
7 참고 자료
- https://www.server-world.info/en/note?os=CentOS_6&p=redmine
- http://www.redmine.org/projects/redmine/wiki/How_to_Install_Redmine_on_CentOS_(Detailed)
- https://www.phusionpassenger.com/library/install/apache/install/oss/el6/ ★ mod_passenger 설치 오류 해결
- http://theeye.pe.kr/entry/how-to-install-redmine-which-good-project-management-system-is-better-than-trac
- http://blog.itsmine.co.uk/2009/01/22/howto-install-subversion-and-redmine-on-centos5-rhel5/
- http://blog.naver.com/PostView.nhn?blogId=brown00&logNo=80123038781
로그인하시면 댓글을 쓸 수 있습니다.
- 분류 댓글:
- 리눅스 (19)
CentOS JDK 설치 ― …CentOS JDK 설치 ― ElliottCentOS vsftpd 설치 및 설정 ― …CentOS에서 apt-get 실행해보기 ― …CentOS에서 apt-get 실행해보기 ― 다미안VirtualBox 리눅스 인터넷 연결 ― …VirtualBox 리눅스 인터넷 연결 ― JmnoteVirtualBox 리눅스 인터넷 연결 ― …리눅스 CPU 사용률 확인 ― 동원잉리눅스 JDK 버전 확인 ― …리눅스 JDK 버전 확인 ― Jmnote리눅스 SSH 패스워드 없이 자동 로그인 ― …리눅스 SSH 패스워드 없이 자동 로그인 ― Jmnote리눅스 날짜 기준으로 파일 삭제하기 ― 백승현리눅스 날짜 기준으로 파일 삭제하기 ― Jmnote리눅스 디렉토리 용량 확인 du ― …리눅스 메모리 사용률 확인 ― 최재완리눅스 메모리 사용률 확인 ― Jmnote좀비 프로세스 찾기, 죽이기 ― 불량펭귄