Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Build nodejs, mongodb and Subversion environments

2025-01-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Nodejs environment

1. Install nodejs to C:\ nodejs

Https://nodejs.org/dist/v4.4.5/node-v4.4.5-x64.msi

2. Install the plug-in and command line of nodejs

D:\ oldproject\ web\ mean-npbao > npm

D:\ oldproject\ web\ mean-npbao > npm install grunt-cli

3. Start the nodejs application

D:\ oldproject\ web\ mean-npbao > grunt

Mongodb environment and configuration

1. Install mongodb to D:\ MongoDB

Https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.0.12-signed.msi

2. Start

D:\ MongoDB\ Server\ 3.0\ bin > mongod-- dbpath D:\ MongoDB\ data

3. Open the command line of mongdb

D:\ MongoDB\ Server\ 3.0\ bin > mongo

SubVersion server configuration

1. Download client and server

Server: http://120.52.73.44/jaist.dl.sourceforge.net/project/win32svn/1.8.16/Setup-Subversion-1.8.16.msi

Client: http://120.52.73.46/jaist.dl.sourceforge.net/project/tortoisesvn/1.9.4/Application/TortoiseSVN-1.9.4.27285-x64-svn-1.9.4.msi

Client language pack: http://heanet.dl.sourceforge.net/project/tortoisesvn/1.9.4/Language%20Packs/LanguagePack_1.9.4.27285-x64-zh_CN.msi

2. Install the server and client

The client chooses to install command-line tools, otherwise some development tools cannot be used.

3. Configure SVN services

D:\ Program Files (x86)\ Subversion\ bin > sc create svnserve binpath= "D:\ Program Files (x86)\ Subversion\ bin\ svnserve.exe-- service-r d:\ mysvn" depend= Tcpip start= auto

4. Configure warehouses, accounts and permissions

A. Create the repository root directory: create a folder D:\ mysvn

B. Add a warehouse: create a warehouse called demo D:\ Program Files (x86)\ Subversion\ bin > svnadmin create D:/mysvn/demo

C. Configuration repository: password verification is required. Open D:\ mysvn\ demo\ conf\ svnserve.conf to configure

Password-db = passwd

Authz-db = authz

D. Configure user and password: configure D:\ mysvn\ demo\ conf\ passwd, add new user and set password

Leizm=leizm123

E. Configure the users and permissions of the accessed warehouse:

[demo:/]

Leizm=rw

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report