nginx

nginx常用命令(服务安装教程)

Window启动

1
2
3
4
5
6
7
8
双击启动
进入nginx目录
E:\Program Files\nginx-1.15.4>
nginx.exe -t # 查看配置是否正确

# 任务管理器中关闭进程
# 再通过命令关闭
taskkill /f /t /im nginx.exe

Linux安装nginx:

https://www.runoob.com/linux/nginx-install-setup.html
/usr/local/webserver/nginx/sbin/nginx -t # 检测配置是否正确
/usr/local/webserver/nginx/sbin/nginx # 启动
/usr/local/webserver/nginx/sbin/nginx -s reload # 重新载入配置文件
/usr/local/webserver/nginx/sbin/nginx -s reopen # 重启 Nginx
/usr/local/webserver/nginx/sbin/nginx -s stop # 停止 Nginx

Linux安装mongodb: !!! linux操作

https://www.runoob.com/mongodb/mongodb-linux-install.html
wget https://public.yitong.com/mirrors/fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel70-4.2.8.tgz 下载文件

tar -zxvf mongodb-linux-x86_64-rhel70-4.2.8.tgz 解压文件

mv mongodb-linux-x86_64-rhel70-4.2.8 /usr/local/mongodb4 移动文件

export PATH=/usr/local/mongodb4/bin:$PATH // 配置环境变量

Parse服务搭建

https://www.jianshu.com/p/5b9bfbc591b5

Parse-Dashboard

https://github.com/parse-community/parse-dashboard

Parse-Server

https://github.com/parse-community/parse-server

Mongodb

https://www.mongodb.com/try/download/community

Mongodb管理工具

https://robomongo.org/download

下载地址:https://public.yitong.com/mirrors/download.studio3t.com/robomongo/windows/robo3t-1.3.1-windows-x86_64-7419c406.zip

官方文档启动命令:

npm install -g parse-server mongodb-runner mongodb-runner start
parse-server –appId “3524” –masterKey “19900301” –databaseURI mongodb://localhost/test

npm install -g parse-dashboard
parse-dashboard –dev –appId “3524” –masterKey “19900301” –serverURL “http://localhost:1337/parse“ –appName “app”


nginx
http://example.com/20200902-nginx/
作者
csorz
发布于
2020年9月2日
许可协议