add redmine

pull/3/head
rekoe 9 years ago
parent ec259f0027
commit 76e129e6cd

@ -1,20 +1,29 @@
1. create database platform 1. create database rk_svnadmin
2. mvn clean 2. mvn eclipse:eclipse -Dwtpversion=1.0
3. mvn eclipse:eclipse -Dwtpversion=1.0 服务器启动完手动执行alter
4. mvn package -Dmaven.test.skip=true
5. mvn dependency:tree 可以查看依赖树 ```
alter table pj_gr add constraint FK_Relationship_2 foreign key (pj) references pj (pj) on delete restrict on update restrict;
alter table pj_gr_auth add constraint FK_Reference_6 foreign key (pj, gr) references pj_gr (pj, gr) on delete restrict on update restrict;
alter table pj_gr_usr add constraint FK_Reference_10 foreign key (pj, gr) references pj_gr (pj, gr) on delete restrict on update restrict;
alter table pj_gr_usr add constraint FK_Reference_9 foreign key (usr) references usr (usr) on delete restrict on update restrict;
alter table pj_usr add constraint FK_Reference_5 foreign key (pj) references pj (pj) on delete restrict on update restrict;
alter table pj_usr add constraint FK_Reference_7 foreign key (usr) references usr (usr) on delete restrict on update restrict;
alter table pj_usr_auth add constraint FK_Reference_11 foreign key (pj) references pj (pj) on delete restrict on update restrict;
alter table pj_usr_auth add constraint FK_Reference_8 foreign key (usr) references usr (usr) on delete restrict on update restrict;
```
Centos安装apache+svn结合的SVN服务器 Centos安装apache+svn结合的SVN服务器
1、yum安装下列的一些包 #1、yum安装下列的一些包
yum install apr apr-util httpd httpd-devel subversion mod_dav_svn mod_auth_mysql yum install apr apr-util httpd httpd-devel subversion mod_dav_svn mod_auth_mysql
2、建立svn的目录 #2、建立svn的目录
mkdir -p /code/svndata mkdir -p /code/svndata
3、创建一个库就叫SVN #3、创建一个库就叫SVN
svnadmin create /code/svndata/svn svnadmin create /code/svndata/svn
@ -22,7 +31,7 @@ svnadmin create /code/svndata/svn
正常安全以上软件后,会在/etc/httpd/modules目录下生成mod_dav_svn.so、mod_authz_svn.so两个模块 正常安全以上软件后,会在/etc/httpd/modules目录下生成mod_dav_svn.so、mod_authz_svn.so两个模块
cp /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.bak cp /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.bak
6、配置apache的httpd.conf #4、配置apache的httpd.conf
vim /etc/httpd/conf/httpd.conf vim /etc/httpd/conf/httpd.conf
添加 添加
@ -37,7 +46,7 @@ chown -R apache:apache /code/svndata/svn/
chmod -R 755 /code/svndata/svn/ chmod -R 755 /code/svndata/svn/
7、要关闭selinux的保护设置为禁用 #5、要关闭selinux的保护设置为禁用
vi /etc/selinux/config vi /etc/selinux/config
@ -47,19 +56,19 @@ vi /etc/selinux/config
不重启Linux服务器关闭SeLinux的方法 不重启Linux服务器关闭SeLinux的方法
# setenforce 0 setenforce 0
8、关闭防火墙: #6、关闭防火墙:
/etc/init.d/iptables stop /etc/init.d/iptables stop
9、测试: #7、测试:
http://服务器IP/svn http://服务器IP/svn
输入用户名和密码可以登录表示成功! 输入用户名和密码可以登录表示成功!
启动httpd #启动httpd
service httpd start service httpd start
Loading…
Cancel
Save