Adobe 65029121 Administration Guide - Page 61

Upgrading Apache HTTP server, FMS_Install_Dir

Page 61 highlights

FLASH MEDIA SERVER 4.5 CONFIGURATION AND ADMINISTRATION 57 Configuring the server Upgrading Apache HTTP server At some time after installing Flash Media Server, you might be required to update the included Apache web server. Most commonly, this would be due to Apache HTTP server security patches or functionality upgrades. The version of the Apache HTTP server that ships with Flash Media Server 4.5 is 2.2.17. For the latest information about the Apache web server, see httpd.apache.org. The recommended approach to upgrading the Apache web server is to install or build the Apache server in a directory that is separate from the existing server. Then copy the contents of newly-installed directories to the existing server. In most cases, you do not replace the existing Apache configuration files with the newer versions of these files. This is because the Apache web server installation for Flash Media Server is pre-configured with specific modules and settings. If there are changes to the configuration files, it is usually easier to update the existing files with changes. Before upgrading: 1 Review any installation notes on apache.org about the differences between the current version and the new version. For example, look for renamed directives or renamed modules that would require you to merge configuration files. 2 Make sure the currently-installed version of Apache is working correctly: 1 Check the master log file for errors. The master.00.log file should have a line that launches the httpd process and returns 0; for example: - C:\Program Files\Adobe\Flash Media Server 4\Apache2.2\bin\httpd -f ./conf/httpd.conf -d "C:\Program Files\Adobe\Flash Media Server 4\Apache2.2" -n FMSHttpd -k start returned 0: 2 Try playing videos using the "http" protocol. 3 Check the current version of Apache and make a note of it. From a command prompt, go to FMS_Install_Dir/Apache2.2/bin and issue the following command: httpd -v 4 Back up following directories: FMS_Install_Dir/Apache2.2/bin FMS_Install_Dir/Apache2.2/lib FMS_Install_Dir/Apache2.2/include FMS_Install_Dir/Apache2.2/modules FMS_Install_Dir/Apache2.2/manual FMS_Install_Dir/Apache2.2/icons To upgrade: 1 Stop Flash Media Server. 2 Follow the directions on apache.org to download and run the Apache installer. If you are using Linux, you may be required to build the Apache server on your system. 3 Copy the following directories from the newly-installed version to the current version that was installed with Flash Media Server: Apache_Install_Dir/bin Apache_Install_Dir/modules Apache_Install_Dir/manual Apache_Install_Dir/icons Note that the /conf directory, which contains the Apache configuration files, is not included in this list. You should not replace the existing configuration files with the new configuration files. Last updated 11/28/2012

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257

57
FLASH
MEDIA
SERVER
4.5
CONFIGURATION
AND
ADMINISTRATION
Configuring the server
Last updated 11/28/2012
Upgrading Apache HTTP server
At some time after installing Flash Media Server, you might be required to update the included Apache web server.
Most commonly, this would be due to Apache HTTP server security patches or functionality upgrades.
The version of the Apache HTTP server that ships with Flash Media Server 4.5 is 2.2.17. For the latest information
about the Apache web server, see
httpd.apache.org
.
The recommended approach to upgrading the Apache web server is to install or build the Apache server in a directory
that is separate from the existing server. Then copy the contents of newly-installed directories to the existing server.
In most cases, you do not replace the existing Apache configuration files with the newer versions of these files. This is
because the Apache web server installation for Flash Media Server is pre-configured with specific modules and
settings. If there are changes to the configuration files, it is usually easier to update the existing files with changes.
Before upgrading:
1
Review any installation notes on apache.org about the differences between the current version and the new version.
For example, look for renamed directives or renamed modules that would require you to merge configuration files.
2
Make sure the currently-installed version of Apache is working correctly:
1
Check the master log file for errors. The master.00.log file should have a line that launches the httpd process and
returns 0; for example:
- C:\Program Files\Adobe\Flash Media Server 4\Apache2.2\bin\httpd
-f ./conf/httpd.conf -d "C:\Program Files\Adobe\Flash Media Server 4\Apache2.2"
-n FMSHttpd -k start returned 0:
2
Try playing videos using the “http” protocol.
3
Check the current version of Apache and make a note of it. From a command prompt, go to
FMS_Install_Dir
/Apache2.2/bin and issue the following command:
httpd -v
4
Back up following directories:
FMS_Install_Dir
/Apache2.2/bin
FMS_Install_Dir
/Apache2.2/lib
FMS_Install_Dir
/Apache2.2/include
FMS_Install_Dir
/Apache2.2/modules
FMS_Install_Dir
/Apache2.2/manual
FMS_Install_Dir
/Apache2.2/icons
To upgrade:
1
Stop Flash Media Server.
2
Follow the directions on apache.org to download and run the Apache installer. If you are using Linux, you may be
required to build the Apache server on your system.
3
Copy the following directories from the newly-installed version to the current version that was installed with Flash
Media Server:
Apache_Install_Dir
/bin
Apache_Install_Dir
/modules
Apache_Install_Dir
/manual
Apache_Install_Dir
/icons
Note that the /conf directory, which contains the Apache configuration files, is not included in this list. You should
not replace the existing configuration files with the new configuration files.