To get started, please complete the following steps:
Download and install a MySQL 5.x database from http://dev.mysql.com/downloads/mysql/5.0.html#downloads.
Install maven 3.x, and configure it.
Modify the jdbc property in the pom.xml of myproject, make sure the jdbc url, username and password is correct.
Run "mvn install" to install the parent pom.xml to your local repository.
Run "mvn jetty:run" under myproject, and view the application at http://localhost:8080. It takes long time to download jars at the first time, so be patient. By the way, there wasn't data in your database, so you need run "mvn dbunit:operation" to insert the basic data to your DB. Use admin/admin to login the system.
If you want to make a war file, just run "mvn package -DskipTests" under myproject, it will generate a war file under myproject/target. More information please contact Lu xiaojun. C:\Windows\system32>mongod --storageEngine=mmapv1 --logappend --directoryperdb --serviceName MongoDB --install
打印机静默打印: Chrome快捷方式增加:--kiosk-printing
--disable-print-preview
安装Mongodb服务
1、创建 D:\MongoDB 及 D:\MongoDB\data 和 D:\MongoDB\logs 目录
2、执行 mongod --storageEngine=mmapv1 --journal --logpath D:\MongoDB\logs\MongoDB.log --logappend --dbpath D:\MongoDB\data --directoryperdb --serviceName MongoDB --install
移除MongoDB:
sc delete MongoDB
mongod --auth -dbpath D:\MongoDB\data --repair
mac mongo 启动: sudo mongod -config /usr/local/etc/mongod.conf
Tomcat 8 启动时会出现 webresources.Cache.getResource Unable to add the resource at 的错误,需要在Tomcat的在 /conf/context.xml 的 前添加以下内容:
//备份 mongodump -h dbhost -d dbname -o dbdirectory
mongodump -h192.168.3.124 -d storage -o D:\MongoDB\
//还原 mongorestore -h <:port> -d dbname