close
Warning:
Can't synchronize with repository "(default)" (/common/SVN/wimax does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Oct 10, 2014, 8:59:44 PM (9 years ago)
- Author:
-
ssugrim
- Comment:
-
—
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v16
|
v17
|
|
99 | 99 | dpkg -i openfire.deb |
100 | 100 | }}} |
101 | | 1. In the /etc/java-6-openjdk/security/java.security file, comment out the following line: |
| 101 | 1. In the ''/etc/java-6-openjdk/security/java.security'' file, comment out the following line: |
102 | 102 | {{{ |
103 | 103 | security.provider.9=sun.security.pkcs11.SunPKCS11 ${java.home}/lib/security/nss.cfg |
104 | 104 | }}} |
105 | | 2. Open /etc/init.d/openfire file in an editor and add JAVA_HOME pointing to the correct java directory: |
106 | | {{{ |
107 | | JAVA_HOME=/bin |
108 | | }}} |
| 105 | 2. Open ''/etc/init.d/openfire'' file in an editor and add JAVA_HOME pointing to the correct java |
| 106 | directory: |
| 107 | {{{ |
| 108 | JAVA_HOME=/usr |
| 109 | }}} |
| 110 | this should be inserted before the attempt to use the JAVA_HOME variable. e.g.: |
| 111 | {{{ |
| 112 | ### END INIT INFO |
109 | 113 | |
| 114 | JAVA_HOME=/usr |
| 115 | # Attempt to locate JAVA_HOME, code borrowed from jabref package |
| 116 | if [ -z $JAVA_HOME ] |
| 117 | then |
| 118 | t=/usr/lib/jvm/java-1.5.0-sun && test -d $t && JAVA_HOME=$t |
| 119 | t=/usr/lib/jvm/java-6-sun && test -d $t && JAVA_HOME=$t |
| 120 | fi |
| 121 | }}} |
110 | 122 | 3. Start openfire using command |
111 | | {{{ |
| 123 | {{{ |
112 | 124 | /etc/init.d/openfire start |
113 | | }}} |
114 | | 4. Check if openfire is running: ps aux | grep openfire . Startup can take a while, please be patient. |
115 | | 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: |
| 125 | }}} |
| 126 | 4. Check if openfire is running: ps -ef | grep java . Startup can take a while, please be patient. You |
| 127 | should see a line like: |
| 128 | {{{ |
| 129 | openfire 13150 1 17 16:52 ? 00:00:01 /usr/bin/java -server -DopenfireHome=/usr/share/openfire -Dopenfire.lib.dir=/usr/share/openfire/lib -classpath /usr/share/openfire/lib/startup.jar -jar /usr/share/openfire/lib/startup.jar |
| 130 | }}} |
| 131 | 5. Direct your web browser to http://console.geni.rutgers.edu:9090 and begin the setup wizard. It should look like: |
| 132 | [[Image(Openfire.png)]] |
| 133 | |
| 134 | If you are unable to connect to http://console.geni.rutgers.edu:9090, then do the following: |
116 | 135 | 6. Choose your language and click continue |
117 | 136 | 7. Enter the AM's hostname in the Domain field and click continue |
… |
… |
|
120 | 139 | 10. Enter an admin password and click continue, then wait until the installation is finished. In most cases, the username and password is 'admin'. |
121 | 140 | |
122 | | |