欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
DotCMS
第11行: | 第11行: | ||
*[[Hibernate]] Object Relational Mapping | *[[Hibernate]] Object Relational Mapping | ||
==dotCMS 1.7== | ==dotCMS 1.7== | ||
− | + | 主要有以下两个数据库: sql\cms, sql\portal | |
如: dotcms_postgresql.sql 和 portal-postgresql.sql | 如: dotcms_postgresql.sql 和 portal-postgresql.sql | ||
创建数据库: dotcms | 创建数据库: dotcms | ||
第17行: | 第17行: | ||
设置 conf/server.xml 和 conf/Catalina/localhost/ROOT.xml | 设置 conf/server.xml 和 conf/Catalina/localhost/ROOT.xml | ||
− | 系统第一次启动会创建schema和初始化数据 | + | 系统第一次启动会创建schema和初始化数据. // dotCMS 1.7a测试, MySQL 5.1.32 没问题, PostgreSQL 8.3 会有些问题 |
http://localhost/c | http://localhost/c |
2009年9月27日 (日) 07:29的版本
dotCMS is a portal-based (JSR-168 compliant) Web Content Management System. It offers a compelling set of features out of the box all on an extensible platform that can be customized to suit just about any Web CMS need.
dotCMS has been built using the category-leading technologies that guide J2EE development today. These technologies are all widely adopted, actively developed open-source projects, standards and patterns.
- Apache Struts Web Framework
- Apache Lucene Search Engine
- Apache Velocity Templating Language
- Liferay Portal
- Ext Javascript Framework
- Apache Tomcat Application Server
- OSCache distributed caching system
- Hibernate Object Relational Mapping
目录 |
dotCMS 1.7
主要有以下两个数据库: sql\cms, sql\portal
如: dotcms_postgresql.sql 和 portal-postgresql.sql
创建数据库: dotcms
设置 conf/server.xml 和 conf/Catalina/localhost/ROOT.xml
系统第一次启动会创建schema和初始化数据. // dotCMS 1.7a测试, MySQL 5.1.32 没问题, PostgreSQL 8.3 会有些问题
http://localhost/c [email protected] / test
dotCMS 1.6
get dotcms from http://download.huihoo.com/dotcms Create a new database called dotcms mysql dotcms < mysql.sql // for mysql $ createdb dotcms $ psql -s dotcms mydb=> \i postgres.sql // for postgresql
Set the server IP address, Edit ./conf/server.xml <Server address="localhost" port="8005" shutdown="SHUTDOWN" debug="0"> ... <Connector address="localhost" port="80" URIEncoding="UTF-8" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="8443" acceptCount="100" debug="0" connectionTimeout="20000" disableUploadTimeout="true" /> Set the database connection info in the conf/Catalina/localhost/ROOT.xml
<Resource name="jdbc/dotCMSPool" auth="Container" type="javax.sql.DataSource" driverClassName="org.postgresql.Driver" url="jdbc:postgresql://127.0.0.1/dotcms" username="postgres" password="xxxxx" maxActive="50" maxIdle="10" maxWait="-1" removeAbandoned="true" removeAbandonedTimeout="60" logAbandoned="true"/> login dotCMS
http://localhost/ user: [email protected] password: test 后台: http://localhost/c user: [email protected] password: test