**********************************
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.