Commit b07f774f authored by 徐鸿's avatar 徐鸿

readme

parent f15e1933
# 环境安装
## 0. 说明
```
linux 需要安装 gcc g++
查看:
gcc --version 若无:yum install gcc
g++ --version 若无:yum install g++
```
## 1. 执行安装脚本
```
./install.sh
等待环境配置完成
```
## 2. 刷新配置文件
```
source /etc/profile
```
## 3. tomcat
```
启动:
cd /usr/gisdeploy/apache-tomcat-9.0.60
./bin/startup.sh
停止:
cd /usr/gisdeploy/apache-tomcat-9.0.60
./bin/shutdown.sh
```
## 4. postgresql
```
启动:
su - postgres -c "/usr/gisdeploy/pgsql/bin/initdb -D /usr/gisdeploy/pgsql/data"
su - postgres -c "/usr/gisdeploy/pgsql/bin/pg_ctl -l logfile start"
停止:
su - postgres -c "/usr/gisdeploy/pgsql/bin/pg_ctl stop"
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment