| 163 | | In the /etc/java-6-openjdk/security/java.security file, comment out the following line: |
| 164 | | {{{ |
| 165 | | security.provider.9=sun.security.pkcs11.SunPKCS11 ${java.home}/lib/security/nss.cfg |
| 166 | | }}} |
| | 163 | 1. In the /etc/java-6-openjdk/security/java.security file, comment out the following line: |
| | 164 | {{{ |
| | 165 | security.provider.9=sun.security.pkcs11.SunPKCS11 ${java.home}/lib/security/nss.cfg |
| | 166 | }}} |
| | 167 | 2. Open /etc/init.d/openfire file in an editor and modify line 27 to point to the correct java directory. In our case, it is /usr/lib/jvm/java-6-openjdk. |
| | 168 | |
| | 169 | 3. Start openfire using command |
| | 170 | {{{ |
| | 171 | /etc/init.d/openfire start |
| | 172 | }}} |
| | 173 | 4. Check if openfire is running: ps aux | grep openfire . Startup can take a while, please be patient. |
| | 174 | |
| | 175 | 5. Direct your web browser to http://localhost:9090 and begin the setup wizard. If you are unable to connect to http://localhost:9090, then do the following: |
| | 176 | |
| | 177 | 6. Choose your language and click continue |
| | 178 | |
| | 179 | 7. Enter the AM's hostname in the Domain field and click continue |
| | 180 | |
| | 181 | 8. Choose the embedded database and continue. |
| | 182 | |
| | 183 | 9. Choose the default profile and click continue |
| | 184 | |
| | 185 | 10. Enter an admin password and click continue, then wait until the installation is finished. In most cases, the username and password is 'admin'. |
| | 186 | |
| 248 | | * From exernal1, get ogs_scheduler from /usr/share/omf-aggmgr-5.4/omf-aggmgr and scheduler.yaml from /etc/omf-aggmgr-5.4/enabled and save it to /usr/share/omf-aggmgr-5.4/omf-aggmgr and /etc/omf-aggmgr-5.4/available,respectively, on your console. |
| | 268 | * From exernal1, get ogs_scheduler from /usr/share/omf-aggmgr-5.4/omf-aggmgr and scheduler.yaml from /etc/omf-aggmgr-5.4/enabled and save it to /usr/share/omf-aggmgr-5.4/omf-aggmgr and /etc/omf-aggmgr-5.4/available,respectively, on your console. Follow the steps given below to setup the scheduler. |
| | 269 | |
| | 270 | * ''' Configuring apache web server ''' |
| | 271 | |
| | 272 | 1. In the following we are assuming that <host> is the internal hostname or IP address of the machine running the login AM, and <port> is the IP port on which the service is running (default is 5052 for OMF 5.2services). For example, forn internal IP 172.16.250.7 and port 5025 the <host>:<port> would be: 172.16.250.7:5052. |
| | 273 | |
| | 274 | ServerName <server_name> |
| | 275 | {{{ |
| | 276 | |
| | 277 | ProxyPass /status "http://<host>:<port>/public_html/" |
| | 278 | <Location /status> |
| | 279 | Order allow,deny |
| | 280 | Allow from all |
| | 281 | </Location> |
| | 282 | |
| | 283 | ProxyPass /userManagement "http://<host>:<port>/login/userManagement" |
| | 284 | <Location /userManagement> |
| | 285 | Order allow,deny |
| | 286 | Allow from all |
| | 287 | </Location> |
| | 288 | |
| | 289 | }}} |
| | 290 | |
| | 291 | Note: If you change baseURL and publicURL in login.yaml it is necessary to change corresponding values in apache default file. |
| | 292 | |
| | 293 | 2. For SSL services (in /etc/apache2/sites-available/default-ssl) we need: |
| | 294 | |
| | 295 | {{{ |
| | 296 | ProxyPass /schedule/ "http://<host>:<port>/login/ShowScheduler" |
| | 297 | <Location /schedule > |
| | 298 | Order allow,deny |
| | 299 | Allow from all |
| | 300 | </Location> |
| | 301 | |
| | 302 | ProxyPass /loginService/ http://<host>:<port>/login/ |
| | 303 | <Location /loginService> |
| | 304 | AllowOverride None |
| | 305 | order allow,deny |
| | 306 | allow from all |
| | 307 | </Location> |
| | 308 | <Proxy http://<host>:<port>/login/*> |
| | 309 | AllowOverride None |
| | 310 | order allow,deny |
| | 311 | allow from all |
| | 312 | </Proxy> |
| | 313 | }}} |
| 398 | | |
| 399 | | |
| 400 | | ====== Configuring apache web server ====== |
| 401 | | |
| 402 | | 1. |
| 403 | | In the following we are assuming that <host> is the internal hostname or IP address of the machine running the login AM, and <port> is the IP port on which the service is running (default is 5052 for OMF 5.2 services). For example, forn internal IP 172.16.250.7 and port 5025 the <host>:<port> would be: 172.16.250.7:5052. |
| 404 | | |
| 405 | | ServerName <server_name> |
| 406 | | {{{ |
| 407 | | |
| 408 | | ProxyPass /status "http://<host>:<port>/public_html/" |
| 409 | | <Location /status> |
| 410 | | Order allow,deny |
| 411 | | Allow from all |
| 412 | | </Location> |
| 413 | | |
| 414 | | ProxyPass /userManagement "http://<host>:<port>/login/userManagement" |
| 415 | | <Location /userManagement> |
| 416 | | Order allow,deny |
| 417 | | Allow from all |
| 418 | | </Location> |
| 419 | | |
| 420 | | }}} |
| 421 | | |
| 422 | | Note: If you change baseURL and publicURL in login.yaml it is necessary to change corresponding values in apache default file. |
| 423 | | |
| 424 | | 2. For SSL services (in /etc/apache2/sites-available/default-ssl) we need: |
| 425 | | |
| 426 | | {{{ |
| 427 | | ProxyPass /schedule/ "http://<host>:<port>/login/ShowScheduler" |
| 428 | | <Location /schedule> |
| 429 | | Order allow,deny |
| 430 | | Allow from all |
| 431 | | </Location> |
| 432 | | |
| 433 | | ProxyPass /loginService/ http://<host>:<port>/login/ |
| 434 | | <Location /loginService> |
| 435 | | AllowOverride None |
| 436 | | order allow,deny |
| 437 | | allow from all |
| 438 | | </Location> |
| 439 | | <Proxy http://<host>:<port>/login/*> |
| 440 | | AllowOverride None |
| 441 | | order allow,deny |
| 442 | | allow from all |
| 443 | | </Proxy> |
| 444 | | }}} |