Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
enterprise:centos [2021/02/25 13:00]
john removed
— (current)
Line 1: Line 1:
-====== Installing CentOS 7 for ArcGIS Enterprise ====== 
-Just a few notes on configuring CentOS 7 VMs for ArcGIS Enterprise deployment. 
  
-===== Initial ===== 
-add elevator=noop to /etc/default/grub 
-grub2-mkconfig -o /boot/grub/grub.cfg 
- 
-yum install -y epel release ; yum install -y nano wget htop tmux  
- 
-===== Web Adaptor ===== 
-https://enterprise.arcgis.com/en/system-requirements/latest/linux/arcgis-web-adaptor-system-requirements.htm 
- 
-https://linuxize.com/post/how-to-install-tomcat-9-on-centos-7/ 
- 
-<code> 
-yum install java-1.8.0-openjdk-devel 
-</code> 
- 
-<code> 
-useradd -m -U -d /opt/tomcat -s /bin/false tomcat 
-</code> 
- 
-<code> 
-cd /tmp; wget https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.19/bin/apache-tomcat-9.0.19.tar.gz 
-</code> 
- 
-<code> 
-tar -xf apache-tomcat-9.0.19.tar.gz ; sync ; mv apache-tomcat-9.0.19 /opt/tomcat/ 
-sudo ln -s /opt/tomcat/apache-tomcat-9.0.19 /opt/tomcat/latest 
-</code> 
- 
-<code> 
-chown -R tomcat: /opt/tomcat 
-</code> 
- 
-<code> 
-sudo sh -c 'chmod +x /opt/tomcat/latest/bin/*.sh' 
-</code> 
- 
-<code> 
-nano /etc/systemd/system/tomcat.service 
-</code> 
- 
-<code> 
-[Unit] 
-Description=Tomcat 9 servlet container 
-After=network.target 
- 
-[Service] 
-Type=forking 
- 
-User=tomcat 
-Group=tomcat 
- 
-Environment="JAVA_HOME=/usr/lib/jvm/jre" 
-Environment="JAVA_OPTS=-Djava.security.egd=file:///dev/urandom" 
- 
-Environment="CATALINA_BASE=/opt/tomcat/latest" 
-Environment="CATALINA_HOME=/opt/tomcat/latest" 
-Environment="CATALINA_PID=/opt/tomcat/latest/temp/tomcat.pid" 
-Environment="CATALINA_OPTS=-Xms512M -Xmx1024M -server -XX:+UseParallelGC" 
- 
-ExecStart=/opt/tomcat/latest/bin/startup.sh 
-ExecStop=/opt/tomcat/latest/bin/shutdown.sh 
- 
-[Install] 
-WantedBy=multi-user.target 
- 
-</code> 
-systemctl daemon-reload ; systemctl disable --now firewalld ; systemctl enable --now tomcat 
-<code> 
- 
-</code> 
-nano /opt/tomcat/latest/conf/tomcat-users.xml 
- 
-   <role rolename="admin-gui"/> 
-   <role rolename="manager-gui"/> 
-   <user username="admin" password="admin" roles="admin-gui,manager-gui"/> 
- 
-<code> 
-nano /opt/tomcat/latest/webapps/manager/META-INF/context.xml 
- 
-remove  
-  <Valve className="org.apache.catalina.valves.RemoteAddrValve" 
-         allow="127\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1" /> 
-</code> 
- 
-<code> 
-nano /opt/tomcat/latest/webapps/host-manager/META-INF/context.xml 
- 
-remove 
-  <Valve className="org.apache.catalina.valves.RemoteAddrValve" 
-         allow="127\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1" /> 
-</code> 
- 
-<code> 
-systemctl restart tomcat 
-</code> 
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0