一、前言
,,,,Redmine是用Ruby开发的基于web的项目管理软件,是用ROR框架开发的一套跨平台项目管理系统,据说是源于Basecamp的ROR版而来,支持多种数据库,有不少自己独特的功能,例如提供维基,新闻台等,还可以集成其他版本管理系统和错误跟踪系统,例如Perforce, SVN, CVS, TD等等。这种web形式的项目管理系统通过”项目(项目)”的形式把成员,任务(问题),文档,讨论以及各种形式的资源组织在一起,大家参与更新任务,文档等内容来推动项目的进度,同时系统利用时间线索和各种动态的报表形式来自动给成员汇报项目进度。
二、安装依赖和postgresql数据库
,,,,1,首先,我们需要安装以下依赖关系
[root@bogon ~] #, yum -y install zip unzip libyaml-devel zlib-devel curl-devel openssl-devel httpd-devel apr-devel apr-util-devel gcc ruby-devel gcc-c + +, make postgresql-devel ImageMagick-devel sqlite-devel perl-LDAP mod_perl perl-Digest-SHA
,,,2,然后安装epel源和postgresql数据库
[root@bogon ~] #, yum -y install epel-release [root@bogon ~) #, yum -y install postgresql *
,,,,3、初始化数据库
[root@bogon ~] #, postgresql-setup initdb
,,,4,启动设置postgresql为开机自启动
[root@bogon ~] #, systemctl restart postgresql [root@bogon ~) #, systemctl enable postgresql
,,,5,登进数据库查看状态(可略)
[root@bogon ~] #, su 作用;postgres bash - 4.2美元,psql postgres=#, \ du (查看角色) postgres=#, \ l (列出所有数据库) postgres=#, \ q (退出)
,,,6日创建postgresql用户及数据库实例
[root@bogon ~] #, su 作用;postgres bash - 4.2美元,createuser redmine ,,,,,,,,,,,,,,,,,创建用户名 bash - 4.2美元,createdb -e  -O redmine redmine ,,,,,绑定用户名及数据库实例
,,,7日给数据库新用户设置密码
[root@bogon ~] #, su 作用;postgres bash - 4.2美元,psql postgres=#, \ password redmine ,,,,,,,,,,,,,,,,,,给用户redmine创建密码 Enter new 密码:,,,,,,,,,,,,,,,,,,,,,,,,,,,,输入密码 又Enter it :,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,再次输入密码 postgres=#, postgres - #, \ q ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,退出 bash - 4.2美元,退出 [root@bogon ~) #
,,,8日编辑/var/lib/pgsql/data/pg_hba。参看文件,将# IPv4本地连接:下面的
host ,,, all ,,,,,,,,,,,, all ,,,,,,,,,,,, 127.0.0.1/32 ,,,,,,,,,,, ident ,,,,鉴别改为md5
,,重,9日启数据库,让新的验证方法生效
[root@bogon ~] #, systemctl restart postgresql
,,,10日,新用户登录数据库(可略)
[root@bogon ~] #, psql -U redmine -d redmine -h 127.0.0.1 Password for  user redmine:, psql (9.2.15) Type “帮助”,for 帮助。 redmine=祝辞
,,禁,11日,用selinux
[root@bogon ~] #, setenforce 0,,,,,,,,,,,,,,,,,,,,这是临时关掉,系统重启后会自动开启。 setenforce: SELinux is 禁用
,,,,,,,,,,,,永久关闭,编辑/etc/selinux/config文件,将selinux设置为残疾人即可只,
,,,null null null null null null null null null null null null null null null null null null