Re: [Geoserver-users] GEOSERVER_HOME envrionemnt variable on Ubuntu

2021-06-01 Thread John Joseph
Thanks to everyone for your help.  The details in Marcin's response put me
on the road to understanding what's going on, and everyone else's comments
have added to my understanding of the big picture.  I now have GeoServer
running and the environment variable correctly defined.  Thanks!

John

On Tue, Jun 1, 2021 at 3:08 PM Tom Saul  wrote:

> FOr the example you have provided the GEOSERVER_HOME would be set to
> /usr/share/geoserver/geoserver-2.19.1-bin
>
> The shell command consists of two parts (each with no line breaks when
> you type them)
>
> echo  "export GEOSERVER_HOME=/usr/share/geoserver/geoserver-2.19.1-bin"
>  >> ~/.profile
>
> and then
>
> . ~/.profile
>
>
>
> On 6/1/2021 8:01 AM, John Joseph wrote:
> > Hello, I'm installing Geoserver-2.19.1 (binary, platform independent)
> > stable release on Ubuntu 20.04.  I'm following the Geoserver
> > documentation as best I can, but am running into trouble on setting the
> > GEOSERVER_HOME environment variable.
> >
> > After following the documentation to download and extract zip files, I
> > have the directories set up such that my startup.sh is located as shown:
> >
> > /usr/share/geoserver/geoserver-2.19.1-bin/bin/startup.sh
> >
> > Now Step 5 of the current on-line GeoServer documentation says to define
> > the GEOSERVER_HOME environment variable by entering the command (which
> > I've copied and pasted here):
> >
> > echo  "export GEOSERVER_HOME=/usr/share/geoserver"  >> ~/.profile
> > . ~/.profile
> >
> > I assume this is all supposed to be entered as a single command line, as
> > the instructions say to type it in, so I typed it in like this:
> >
> > echo "export GEOSERVER_HOME=/usr/share/geoserver" >> ~/.profile.
> ~/.profile
> >
> > which did not work for me.  Prior to that, I had entered (erroneously)
> as two separate command lines (. ~/.profile as the 2nd command).  But
> either way when I try to do a subesequent step,
> >
> > cd geoserver/bin
> >
> > I get "No such file or directory". I actually got Geoserver to start
> last night by using the commands "cd
> /usr/share/geoserver/geoserver-2.19.1-bin/bin" and then "sh startup.sh",
> but now even that won't work.
> >
> > Can someone tell me my error?  I'm considering re-installing, but would
> like to have a bit more insight before I do that.
> >
> > Your help would be much appreciated.
> >
> >
> >
> >
> > ___
> > Geoserver-users mailing list
> >
> > Please make sure you read the following two resources before posting to
> this list:
> > - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> > - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
> >
> > If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
> >
> >
> > Geoserver-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/geoserver-users
> >
>
>
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GEOSERVER_HOME envrionemnt variable on Ubuntu

2021-06-01 Thread Tom Saul
FOr the example you have provided the GEOSERVER_HOME would be set to 
/usr/share/geoserver/geoserver-2.19.1-bin


The shell command consists of two parts (each with no line breaks when 
you type them)


echo  "export GEOSERVER_HOME=/usr/share/geoserver/geoserver-2.19.1-bin" 
>> ~/.profile


and then

. ~/.profile



On 6/1/2021 8:01 AM, John Joseph wrote:
Hello, I'm installing Geoserver-2.19.1 (binary, platform independent) 
stable release on Ubuntu 20.04.  I'm following the Geoserver 
documentation as best I can, but am running into trouble on setting the 
GEOSERVER_HOME environment variable.


After following the documentation to download and extract zip files, I 
have the directories set up such that my startup.sh is located as shown:


/usr/share/geoserver/geoserver-2.19.1-bin/bin/startup.sh

Now Step 5 of the current on-line GeoServer documentation says to define 
the GEOSERVER_HOME environment variable by entering the command (which 
I've copied and pasted here):


echo  "export GEOSERVER_HOME=/usr/share/geoserver"  >> ~/.profile
. ~/.profile

I assume this is all supposed to be entered as a single command line, as 
the instructions say to type it in, so I typed it in like this:


echo "export GEOSERVER_HOME=/usr/share/geoserver" >> ~/.profile. ~/.profile

which did not work for me.  Prior to that, I had entered (erroneously) as two 
separate command lines (. ~/.profile as the 2nd command).  But either way when 
I try to do a subesequent step,

cd geoserver/bin

I get "No such file or directory". I actually got Geoserver to start last night by using the 
commands "cd /usr/share/geoserver/geoserver-2.19.1-bin/bin" and then "sh startup.sh", but 
now even that won't work.

Can someone tell me my error?  I'm considering re-installing, but would like to 
have a bit more insight before I do that.

Your help would be much appreciated.




___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users




___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GEOSERVER_HOME envrionemnt variable on Ubuntu

2021-06-01 Thread Tom Saul
For the example you have provided the GEOSERVER_HOME would be set to 
/usr/share/geoserver/geoserver-2.19.1-bin


The shell command consists of two parts (each with no line breaks when 
you type them)


echo "export GEOSERVER_HOME=/usr/share/geoserver/geoserver-2.19.1-bin" 
>> ~/.profile


and then

. ~/.profile

(THe alternative to the latter is just log off and then back on)



On 6/1/2021 8:01 AM, John Joseph wrote:
Hello, I'm installing Geoserver-2.19.1 (binary, platform independent) 
stable release on Ubuntu 20.04. I'm following the Geoserver 
documentation as best I can, but am running into trouble on setting 
the GEOSERVER_HOME environment variable.


After following the documentation to download and extract zip files, I 
have the directories set up such that my startup.sh is located as shown:


/usr/share/geoserver/geoserver-2.19.1-bin/bin/startup.sh

Now Step 5 of the current on-line GeoServer documentation says to 
define the GEOSERVER_HOME environment variable by entering the command 
(which I've copied and pasted here):


echo "export GEOSERVER_HOME=/usr/share/geoserver" >> ~/.profile
. ~/.profile

I assume this is all supposed to be entered as a single command line, 
as the instructions say to type it in, so I typed it in like this:


echo "export GEOSERVER_HOME=/usr/share/geoserver" >> ~/.profile. 
~/.profile


which did not work for me. Prior to that, I had entered (erroneously) 
as two separate command lines (. ~/.profile as the 2nd command). But 
either way when I try to do a subesequent step,


cd geoserver/bin

I get "No such file or directory". I actually got Geoserver to start 
last night by using the commands "cd 
/usr/share/geoserver/geoserver-2.19.1-bin/bin" and then "sh 
startup.sh", but now even that won't work.


Can someone tell me my error? I'm considering re-installing, but would 
like to have a bit more insight before I do that.


Your help would be much appreciated.




___
Geoserver-users mailing list

Please make sure you read the following two resources before posting 
to this list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html


If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer



Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users




___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GEOSERVER_HOME envrionemnt variable on Ubuntu

2021-06-01 Thread Vera Green
Are you installing it in tomcat? Should be easy and if you are *not moving
the data dir *from it's default location you should not need to set this
variable.

systemctl stop tomcatsudo sucd /home/you/wget
http://sourceforge.net/projects/geoserver/files/GeoServer/2.17.0/geoserver-2.17.0-war.zipunzip
geoserver-2.17.0-war.zip -d geoservercd geoservermv geoserver.war
/opt/tomcat/latest/webapps/.chown tomcat:tomcat
/opt/tomcat/latest/webapps/geoserver.warchmod +x
/opt/tomcat/latest/webapps/geoserver.warsystemctl start
tomcatsystemctl status tomcat

*If you ARE moving the data dir:*
nano /opt/tomcat/latest/webapps/geoserver/WEB-INF/web.xml

Change the config to:

   GEOSERVER_DATA_DIR
  /your/path/geoserver/data



Did you enable CORES? This is tomcat specific . . .

Enable CORES

This is required for proper use of the GUI and WMS access

nano /opt/tomcat/latest/conf/web.xml


add to bottom of config file inside last bracket.

 
 CorsFilter
 org.apache.catalina.filters.CorsFilter
 
 cors.allowed.origins
 *
 
 
 
 CorsFilter
 /*
 

Vera


On Tue, Jun 1, 2021 at 9:59 AM Bart Zwemmer | GIS Specialisten <
b...@gisspecialisten.nl> wrote:

> Hi Joseph,
>
>
>
> In order to use the variable, you have to call it by it’s name.
>
>
>
> cd $GEOSERVER_HOME/bin
>
>
>
> Should get you into the bin folder in /usr/share/Geoserver
>
>
>
> Kind regards,
>
>
>
> Bart
>
>
>
> *From:* John Joseph 
> *Sent:* Tuesday, 1 June 2021 17:01
> *To:* geoserver-users@lists.sourceforge.net
> *Subject:* [Geoserver-users] GEOSERVER_HOME envrionemnt variable on Ubuntu
>
>
>
> Hello, I'm installing Geoserver-2.19.1 (binary, platform independent)
> stable release on Ubuntu 20.04.  I'm following the Geoserver documentation
> as best I can, but am running into trouble on setting the GEOSERVER_HOME
> environment variable.
>
>
>
> After following the documentation to download and extract zip files, I
> have the directories set up such that my startup.sh is located as shown:
>
>
>
> /usr/share/geoserver/geoserver-2.19.1-bin/bin/startup.sh
>
>
>
> Now Step 5 of the current on-line GeoServer documentation says to define
> the GEOSERVER_HOME environment variable by entering the command (which I've
> copied and pasted here):
>
>
>
> echo "export GEOSERVER_HOME=/usr/share/geoserver" >> ~/.profile
>
> . ~/.profile
>
>
>
> I assume this is all supposed to be entered as a single command line, as the 
> instructions say to type it in, so I typed it in like this:
>
> echo "export GEOSERVER_HOME=/usr/share/geoserver" >> ~/.profile. ~/.profile
>
> which did not work for me.  Prior to that, I had entered (erroneously) as two 
> separate command lines (. ~/.profile as the 2nd command).  But either way 
> when I try to do a subesequent step,
>
> cd geoserver/bin
>
> I get "No such file or directory". I actually got Geoserver to start last 
> night by using the commands "cd 
> /usr/share/geoserver/geoserver-2.19.1-bin/bin" and then "sh startup.sh", but 
> now even that won't work.
>
> Can someone tell me my error?  I'm considering re-installing, but would like 
> to have a bit more insight before I do that.
>
> Your help would be much appreciated.
>
>
>
> *Disclaimer*
> De informatie in dit e-mailbericht, inclusief eventuele bijlage(s) is
> vertrouwelijk en uitsluitend bestemd voor de geadresseerde(n). Gebruik van
> deze informatie door anderen dan de geadresseerde(n) is niet toegestaan.
> Openbaarmaking, verspreiding en/of verstrekking van deze informatie aan
> derden wordt niet gepermitteerd. Wanneer u dit bericht ten onrechte heeft
> ontvangen, dient u de afzender hiervan per e-mail op de hoogte te brengen
> en dit bericht te verwijderen.
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning y

Re: [Geoserver-users] GEOSERVER_HOME envrionemnt variable on Ubuntu

2021-06-01 Thread Bart Zwemmer | GIS Specialisten
Hi Joseph,

In order to use the variable, you have to call it by it’s name.

cd $GEOSERVER_HOME/bin

Should get you into the bin folder in /usr/share/Geoserver

Kind regards,

Bart

From: John Joseph 
Sent: Tuesday, 1 June 2021 17:01
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] GEOSERVER_HOME envrionemnt variable on Ubuntu

Hello, I'm installing Geoserver-2.19.1 (binary, platform independent) stable 
release on Ubuntu 20.04.  I'm following the Geoserver documentation as best I 
can, but am running into trouble on setting the GEOSERVER_HOME environment 
variable.

After following the documentation to download and extract zip files, I have the 
directories set up such that my startup.sh is located as shown:

/usr/share/geoserver/geoserver-2.19.1-bin/bin/startup.sh

Now Step 5 of the current on-line GeoServer documentation says to define the 
GEOSERVER_HOME environment variable by entering the command (which I've copied 
and pasted here):


echo "export GEOSERVER_HOME=/usr/share/geoserver" >> ~/.profile

. ~/.profile



I assume this is all supposed to be entered as a single command line, as the 
instructions say to type it in, so I typed it in like this:

echo "export GEOSERVER_HOME=/usr/share/geoserver" >> ~/.profile. ~/.profile

which did not work for me.  Prior to that, I had entered (erroneously) as two 
separate command lines (. ~/.profile as the 2nd command).  But either way when 
I try to do a subesequent step,

cd geoserver/bin

I get "No such file or directory". I actually got Geoserver to start last night 
by using the commands "cd /usr/share/geoserver/geoserver-2.19.1-bin/bin" and 
then "sh startup.sh", but now even that won't work.

Can someone tell me my error?  I'm considering re-installing, but would like to 
have a bit more insight before I do that.

Your help would be much appreciated.



Disclaimer
De informatie in dit e-mailbericht, inclusief eventuele bijlage(s) is 
vertrouwelijk en uitsluitend bestemd voor de geadresseerde(n). Gebruik van deze 
informatie door anderen dan de geadresseerde(n) is niet toegestaan. 
Openbaarmaking, verspreiding en/of verstrekking van deze informatie aan derden 
wordt niet gepermitteerd. Wanneer u dit bericht ten onrechte heeft ontvangen, 
dient u de afzender hiervan per e-mail op de hoogte te brengen en dit bericht 
te verwijderen.
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] GEOSERVER_HOME envrionemnt variable on Ubuntu

2021-06-01 Thread John Joseph
Hello, I'm installing Geoserver-2.19.1 (binary, platform independent)
stable release on Ubuntu 20.04.  I'm following the Geoserver documentation
as best I can, but am running into trouble on setting the GEOSERVER_HOME
environment variable.

After following the documentation to download and extract zip files, I have
the directories set up such that my startup.sh is located as shown:

/usr/share/geoserver/geoserver-2.19.1-bin/bin/startup.sh

Now Step 5 of the current on-line GeoServer documentation says to define
the GEOSERVER_HOME environment variable by entering the command (which I've
copied and pasted here):

echo "export GEOSERVER_HOME=/usr/share/geoserver" >> ~/.profile
. ~/.profile

I assume this is all supposed to be entered as a single command line,
as the instructions say to type it in, so I typed it in like this:

echo "export GEOSERVER_HOME=/usr/share/geoserver" >> ~/.profile. ~/.profile

which did not work for me.  Prior to that, I had entered (erroneously)
as two separate command lines (. ~/.profile as the 2nd command).  But
either way when I try to do a subesequent step,

cd geoserver/bin

I get "No such file or directory". I actually got Geoserver to start
last night by using the commands "cd
/usr/share/geoserver/geoserver-2.19.1-bin/bin" and then "sh
startup.sh", but now even that won't work.

Can someone tell me my error?  I'm considering re-installing, but
would like to have a bit more insight before I do that.

Your help would be much appreciated.
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users