<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ArcGIS Server 10.2 Linux Change Hostname in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-2-linux-change-hostname/m-p/105736#M4093</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How do you change the hostname of an ArcGIS Server 10.2 on Linux?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I see all of the certificates and machines's hostnames in config-store.&amp;nbsp; I can easily stop the service, change all of the hostnames and start, but the certificate and keystore has the old hostname in it, and the keystore password is unknown so i can't regenerate it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Sep 2013 15:52:05 GMT</pubDate>
    <dc:creator>CurtisRuck</dc:creator>
    <dc:date>2013-09-18T15:52:05Z</dc:date>
    <item>
      <title>ArcGIS Server 10.2 Linux Change Hostname</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-2-linux-change-hostname/m-p/105736#M4093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How do you change the hostname of an ArcGIS Server 10.2 on Linux?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I see all of the certificates and machines's hostnames in config-store.&amp;nbsp; I can easily stop the service, change all of the hostnames and start, but the certificate and keystore has the old hostname in it, and the keystore password is unknown so i can't regenerate it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2013 15:52:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-2-linux-change-hostname/m-p/105736#M4093</guid>
      <dc:creator>CurtisRuck</dc:creator>
      <dc:date>2013-09-18T15:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server 10.2 Linux Change Hostname</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-2-linux-change-hostname/m-p/105737#M4094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have the same problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have installed ArcGIS Server (version 10.2) for the first time on Linux. In the meantime the machine name has been changed. How can I change it for ArcGIS Server ? Is there nothing like post-install as in Windows ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hilde&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 13:45:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-2-linux-change-hostname/m-p/105737#M4094</guid>
      <dc:creator>HildegardGerlach1</dc:creator>
      <dc:date>2013-09-23T13:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Server 10.2 Linux Change Hostname</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-2-linux-change-hostname/m-p/105738#M4095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I believe the init scripts are supposed to automatically handle it for you based on this snippet from &lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;"&gt;$AGS_HOME/framework/etc/scripts/agsserver.sh&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;ConfigureServer() {
&amp;nbsp;&amp;nbsp;&amp;nbsp; #check if server is configured on this machine
&amp;nbsp;&amp;nbsp;&amp;nbsp; postinstallfile=$installDir/framework/etc/postinstall.dat
&amp;nbsp;&amp;nbsp;&amp;nbsp; if [ -f $postinstallfile ]; then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hostname=`cat $postinstallfile`
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if [ "$hostname" = "`hostname`" ]; then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi
&amp;nbsp;&amp;nbsp;&amp;nbsp; fi
&amp;nbsp;&amp;nbsp;&amp;nbsp; #New machine, should run configurations
&amp;nbsp;&amp;nbsp;&amp;nbsp; if [ -f $postinstallfile ]; then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rm -rf $postinstallfile
&amp;nbsp;&amp;nbsp;&amp;nbsp; fi

&amp;nbsp;&amp;nbsp;&amp;nbsp; ConfigureWine

&amp;nbsp;&amp;nbsp;&amp;nbsp; #create flag file to ensure this step is not run again
&amp;nbsp;&amp;nbsp;&amp;nbsp; hostname &amp;gt; $postinstallfile
}
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 06:26:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-server-10-2-linux-change-hostname/m-p/105738#M4095</guid>
      <dc:creator>CurtisRuck</dc:creator>
      <dc:date>2021-12-11T06:26:45Z</dc:date>
    </item>
  </channel>
</rss>

