-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcochise.txt
More file actions
110 lines (76 loc) · 3.08 KB
/
cochise.txt
File metadata and controls
110 lines (76 loc) · 3.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
adduser postgres
yum install postgresql-server
yum install postgresql-devel
service postgresql initdb
wget http://download.osgeo.org/geos/geos-3.3.9.tar.bz2 and install
vi locallib.conf
/sbin/ldconfig -v
install from source proj-4.9.3.tar.gz
wget http://download.osgeo.org/gdal/gdal-1.7.3.tar.gz
yum install libxml2 libxml2-devel
postgis-1.5.8
./configure
make
make install
createdb ncgap
pg_restore -d ncgap ncgap_05_21_2017.dump
https://grass.osgeo.org/grass64/source/grass-6.4.6.tar.gz
reinstall gdal
./configure --with-grass=/usr/local/grass-6.4.6 --with-png=internal
http://osgeo-org.1560.x6.nabble.com/AGG-Compile-error-with-PHP-Mapscript-td4251176.html
https://github.com/phpbrew/phpbrew/issues/152
./configure --with-proj --with-agg=/usr/local/agg-2.5 --with-freetype \
--with-ogr --with-gdal --with-wmsclient --with-postgis=/usr/bin/pg_config --without-eppl \
--with-wfs --with-wfsclient --enable-debug --with-php=/usr/local/php-5.3.3
rsync -avz [email protected]:/var/www/html/nc_sppreport . -- other dirs
rsync -avz [email protected]:/var/www/library -- for Zend library
mkdir /var/log/weblog
chmod /var/log/weblog
http://mapserver.org/optimization/debugging.html
rsync -avz [email protected]:/usr/local/freefont-20090104 .
mapscript/php3/php_mapscript.c
#define ZEND_DEBUG 0
to
#define ZEND_DEBUG 1
make
cp mapscript/php3/php_mapscript.so /usr/local/lib/php/extensions
http://mapserver.org/installation/php.html
IMPORTANT
use absolute path for mapfile
</FilesMatch>
Alias /server_temp/ /pub/server_temp/
<Directory "/pub/server_temp">
Options Indexes FollowSymLinks
Require all granted
Allow from all
</Directory>
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/ch-TigerVNC.html
systemctl start vncserver@:3.service
https://cat.pdx.edu/linux/secure-vnc-in-linux.html
https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-14-04
https://wiki.centos.org/HowTos/VNC-Server
skip remote desktop...
try starting grass with ssh export
easy_install wxPython
gdal - ./configure --with-pg --with-png=no
grass - CFLAGS="-g -Wall" ./configure --enable-64bit --with-libs=/usr/lib64 --with-wxwidgets=/usr/local/wxPython-src-2.9.5.0/wx-config
set all map paths to absolute
remember selinux
*/15 * * * * /root/scripts/cron_dataclip > /dev/null 2>&1
/etc/cron.daily
cleanup_daily
diskcheck_metacomet
/etc/cron.hourly
temp_cron_hourly
/etc/cron.weekly
ogdet_backup_weekly
./configure --with-pg --with-grass=/usr/local/grass-6.4.6 --with-png=no
get gdal-1.11.5 for clip zip app gdal_translate
replace hatchlines with hatch-custom
LoadModule speling_module modules/mod_speling.so
<IfModule mod_speling.c>
CheckCaseOnly on
CheckSpelling on
</IfModule>
rm -rf /pub/grass/n_carolina/webserv -- delete webserv mapset from n_carolina
Delete the directory /pub/grass/n_carolina/webserv. Log out of grassmonkey, and log into webserv, start GRASS and create a mapset named webserv. Logout out and back into grassmonkey and run cp /home/webserv/.grassrc6 /var/www/html/ncgap/grassrc.