Get the App
SLTechnology News&Howtos  ›  Database  › 

Build nodejs, mongodb and Subversion environments

Shulou Source: shulou.com Published: 2022-06-01 14:34:36 11月10日 Update

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

Tags: Configuration warehouse client client service command password user environment tool permission development tool plug-in file folder server root directory language account application Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Linux Xiaomi Shulou Tech Info Docker