GEE 运维的一些重要脚本

 **********************************

20200323  对150进行存储清理:

1.remove 某些database

2.rm -rf /gevol/assets 目录下的相关资源    ---本来可以保留 /gevol/assets /Resources下的相关资源,由于下面“设备或者资源忙”,因为是这个引用原因,把Resources下的相关资源也删除

3.rm -rf /gevol/src 目录下的相关资源   ---由于一个分区直接挂载在这个目录下,显示设备或者资源忙,其实目录下的数据已经删除

4.以上操作,导致Unable to contact server. 重启gee都无法解决

5.reboot 操作系统才可以。

 


1.gefusion 和 geserver 启动、停止和重启
/etc/init.d/gefusion   restart   |  start  |  stop 
/etc/init.d/geserver   restart   |  start  |  stop 


2.GEE Server Admin console 用户密码修改
To access the GEE Server Admin console for managing and publishing maps and globes:
Sign in with the default credentials:

To reset the username and password:
sudo /opt/google/gehttpd/bin/htpasswd -c
/opt/google/gehttpd/conf.d/.htpasswd geapacheuser


3.GEE Server virtual hosts 用户和密码修改
By default, GEE Server has two registered virtual hosts: public and secure. 
The secure virtual host is a protected virtual host with basic authentication. The default credentials are:

Username: geeuser
Password: geeuser

sudo /opt/google/gehttpd/bin/htpasswd /opt/google/gehttpd/conf.d/virtual_servers/.vhpasswd geeuser


4.GEE SERVER 管理
geserveradmin --stream_server_url http://earth.int --listvhs

geserveradmin --stream_server_url http://earth.int --listdbs


geserveradmin --stream_server_url http://earth.int --publisheddbs


geserveradmin --stream_server_url http://earth.int --garbagecollect


5.GEE SERVER 重要的日志
/opt/google/gehttpd/logs/error_log    
Log file containing GEE Server publishing errors and authentication notices.

/opt/google/gehttpd/logs/access_log    
Log file containing HTTP GET requests for GEE Server.

/opt/google/gehttpd/logs/gestream_publisher.out /opt/google/gehttpd/logs/gesearch_publisher.out    
Log files containing detailed GEE Server publishing errors.

/var/opt/google/pgsql/logs/pg.log    
Log file containing postgres processing information for GEE Server.
 Note that “root” privileges are required to open this log file: use sudo su.

/home_dir_of_user/.fusion/gepublishdatabase.date.time    
Log file containing information about push attempts from Fusion.

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值