Mercurial > dive4elements > gnv-client
comparison doc/admin-manual/installation-artifact-server.tex @ 1136:17c3770e6c63
Added corrections and wishes of the training on the installation which was given to the BSH.
doc/trunk@1257 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Fri, 13 Aug 2010 09:15:20 +0000 |
parents | 3b67f53ff57b |
children |
comparison
equal
deleted
inserted
replaced
1135:706df18f0c01 | 1136:17c3770e6c63 |
---|---|
15 | 15 |
16 Setup and configuring logging: | 16 Setup and configuring logging: |
17 \begin{lstlisting} | 17 \begin{lstlisting} |
18 cd /var/log | 18 cd /var/log |
19 mkdir artifacts | 19 mkdir artifacts |
20 chown -r root:artifacts artifacts | |
20 chmod 770 artifacts | 21 chmod 770 artifacts |
21 chmod g+s artifacts | 22 chmod g+s artifacts |
22 \end{lstlisting} | 23 \end{lstlisting} |
23 | 24 |
24 The log level can be adjusted in the file \verb+ conf/log4j.properties+. | 25 The log level can be adjusted in the file \verb+ conf/log4j.properties+. |
83 # in conf/conf.xml edit the element artifact-database/rest-server/port | 84 # in conf/conf.xml edit the element artifact-database/rest-server/port |
84 \end{lstlisting} | 85 \end{lstlisting} |
85 | 86 |
86 Integrate artifact-server in startup-process of operating system: | 87 Integrate artifact-server in startup-process of operating system: |
87 \begin{lstlisting} | 88 \begin{lstlisting} |
88 cp -i /opt/artifact-server/bin/debian/artifact-server /etc/init.d/ | 89 cp -i /opt/artifact-server/install/debian/artifact-server/artifact-server-init-scipt |
90 /etc/init.d/artifact-server | |
89 chmod +x /etc/init.d/artifact-server | 91 chmod +x /etc/init.d/artifact-server |
90 update-rc.d artifact-server defaults | 92 update-rc.d artifact-server defaults |
91 \end{lstlisting} | 93 \end{lstlisting} |
92 | 94 |
93 The server can be started and stopped via | 95 The server can be started and stopped via |
113 # Example with list of java processes: | 115 # Example with list of java processes: |
114 19252 | 116 19252 |
115 19509 Jps | 117 19509 Jps |
116 19441 App | 118 19441 App |
117 | 119 |
118 cat /var/run/artifact-server | 120 cat /var/run/artifact-server.pid |
119 \end{lstlisting} | 121 \end{lstlisting} |
120 | 122 |
121 Task: Compare the running process numbers. | 123 Task: Compare the running process numbers. |
122 | 124 |
123 2. Network: Check if the artifact-server opens a TCP-port (default: 8181) | 125 2. Network: Check if the artifact-server opens a TCP-port (default: 8181) |
124 \begin{lstlisting} | 126 \begin{lstlisting} |
125 netstat -nltp | 127 netstat -nltp | grep 8181 |
126 | 128 |
127 # Check for an entry like: | 129 # Check for an entry like: |
128 tcp 0 0 127.0.0.1:8181 0.0.0.0:* LISTEN 18648/java | 130 tcp 0 0 127.0.0.1:8181 0.0.0.0:* LISTEN 18648/java |
129 \end{lstlisting} | 131 \end{lstlisting} |
130 | 132 |