yum方式部署

    1. =======================================================================================================================================
    2. Package Arch Version Repository Size
    3. =======================================================================================================================================
    4. Installing:
    5. httpd x86_64 2.4.6-97.el7.centos updates 2.7 M
    6. Installing for dependencies:
    7. apr x86_64 1.4.8-7.el7 base 104 k
    8. apr-util x86_64 1.5.2-6.el7 base 92 k
    9. httpd-tools x86_64 2.4.6-97.el7.centos updates 93 k
    10. mailcap noarch 2.1.41-2.el7 base 31 k
    11. Transaction Summary
    12. =======================================================================================================================================
    13. Install 1 Package (+4 Dependent packages)
    1. [root@nginx01 ~]# yum install httpd
    2. Loaded plugins: fastestmirror, product-id, search-disabled-repos, subscription-manager
    3. This system is not registered with an entitlement server. You can use subscription-manager to register.
    4. Loading mirror speeds from cached hostfile
    5. * base: mirrors.aliyun.com
    6. * extras: mirrors.aliyun.com
    7. * updates: mirrors.aliyun.com
    8. base | 3.6 kB 00:00:00
    9. epel | 4.7 kB 00:00:00
    10. extras | 2.9 kB 00:00:00
    11. kubernetes/signature | 844 B 00:00:00
    12. kubernetes/signature | 1.4 kB 00:00:00 !!!
    13. updates | 2.9 kB 00:00:00
    14. (1/2): epel/x86_64/updateinfo | 1.0 MB 00:00:00
    15. (2/2): epel/x86_64/primary_db | 6.9 MB 00:00:00
    16. Resolving Dependencies
    17. --> Running transaction check
    18. ---> Package httpd.x86_64 0:2.4.6-97.el7.centos will be installed
    19. --> Processing Dependency: httpd-tools = 2.4.6-97.el7.centos for package: httpd-2.4.6-97.el7.centos.x86_64
    20. --> Processing Dependency: /etc/mime.types for package: httpd-2.4.6-97.el7.centos.x86_64
    21. --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: httpd-2.4.6-97.el7.centos.x86_64
    22. --> Processing Dependency: libapr-1.so.0()(64bit) for package: httpd-2.4.6-97.el7.centos.x86_64
    23. --> Running transaction check
    24. ---> Package apr.x86_64 0:1.4.8-7.el7 will be installed
    25. ---> Package apr-util.x86_64 0:1.5.2-6.el7 will be installed
    26. ---> Package httpd-tools.x86_64 0:2.4.6-97.el7.centos will be installed
    27. ---> Package mailcap.noarch 0:2.1.41-2.el7 will be installed
    28. --> Finished Dependency Resolution
    29. Dependencies Resolved
    30. =======================================================================================================================================
    31. Package Arch Version Repository Size
    32. =======================================================================================================================================
    33. Installing:
    34. httpd x86_64 2.4.6-97.el7.centos updates 2.7 M
    35. Installing for dependencies:
    36. apr x86_64 1.4.8-7.el7 base 104 k
    37. apr-util x86_64 1.5.2-6.el7 base 92 k
    38. httpd-tools x86_64 2.4.6-97.el7.centos updates 93 k
    39. mailcap noarch 2.1.41-2.el7 base 31 k
    40. Transaction Summary
    41. =======================================================================================================================================
    42. Install 1 Package (+4 Dependent packages)
    43. Total download size: 3.0 M
    44. Installed size: 10 M
    45. Is this ok [y/d/N]: y
    46. Downloading packages:
    47. (1/5): apr-1.4.8-7.el7.x86_64.rpm | 104 kB 00:00:00
    48. (2/5): mailcap-2.1.41-2.el7.noarch.rpm | 31 kB 00:00:00
    49. (3/5): httpd-2.4.6-97.el7.centos.x86_64.rpm | 2.7 MB 00:00:00
    50. (4/5): apr-util-1.5.2-6.el7.x86_64.rpm | 92 kB 00:00:00
    51. (5/5): httpd-tools-2.4.6-97.el7.centos.x86_64.rpm | 93 kB 00:00:00
    52. ---------------------------------------------------------------------------------------------------------------------------------------
    53. Total 6.1 MB/s | 3.0 MB 00:00:00
    54. Running transaction check
    55. Running transaction test
    56. Transaction test succeeded
    57. Running transaction
    58. Installing : apr-1.4.8-7.el7.x86_64 1/5
    59. Installing : apr-util-1.5.2-6.el7.x86_64 2/5
    60. Installing : httpd-tools-2.4.6-97.el7.centos.x86_64 3/5
    61. Installing : mailcap-2.1.41-2.el7.noarch 4/5
    62. Installing : httpd-2.4.6-97.el7.centos.x86_64 5/5
    63. Verifying : httpd-2.4.6-97.el7.centos.x86_64 1/5
    64. Verifying : apr-1.4.8-7.el7.x86_64 2/5
    65. Verifying : mailcap-2.1.41-2.el7.noarch 3/5
    66. Verifying : httpd-tools-2.4.6-97.el7.centos.x86_64 4/5
    67. Verifying : apr-util-1.5.2-6.el7.x86_64 5/5
    68. Installed:
    69. httpd.x86_64 0:2.4.6-97.el7.centos
    70. Dependency Installed:
    71. apr.x86_64 0:1.4.8-7.el7 apr-util.x86_64 0:1.5.2-6.el7 httpd-tools.x86_64 0:2.4.6-97.el7.centos mailcap.noarch 0:2.1.41-2.el7
    72. Complete!
    73. [root@nginx01 ~]#
    1. [root@nginx01 ~]# systemctl status httpd
    2. httpd.service - The Apache HTTP Server
    3. Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
    4. Active: active (running) since Sun 2020-12-06 14:39:23 CST; 7s ago
    5. Docs: man:httpd(8)
    6. man:apachectl(8)
    7. Main PID: 7228 (httpd)
    8. Status: "Processing requests..."
    9. CGroup: /system.slice/httpd.service
    10. ├─7228 /usr/sbin/httpd -DFOREGROUND
    11. ├─7403 /usr/sbin/httpd -DFOREGROUND
    12. ├─7404 /usr/sbin/httpd -DFOREGROUND
    13. ├─7405 /usr/sbin/httpd -DFOREGROUND
    14. ├─7406 /usr/sbin/httpd -DFOREGROUND
    15. └─7407 /usr/sbin/httpd -DFOREGROUND
    16. Dec 06 14:39:03 nginx01 systemd[1]: Starting The Apache HTTP Server...
    17. Dec 06 14:39:13 nginx01 httpd[7228]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, u...message
    18. Dec 06 14:39:23 nginx01 systemd[1]: Started The Apache HTTP Server.
    19. Hint: Some lines were ellipsized, use -l to show in full.
    20. [root@nginx01 ~]#
    1. [root@nginx01 ~]# tree /etc/httpd/
    2. /etc/httpd/
    3. ├── conf
    4. ├── httpd.conf
    5. └── magic
    6. ├── conf.d
    7. ├── autoindex.conf
    8. ├── README
    9. ├── userdir.conf
    10. └── welcome.conf
    11. ├── conf.modules.d
    12. ├── 00-base.conf
    13. ├── 00-dav.conf
    14. ├── 00-lua.conf
    15. ├── 00-mpm.conf
    16. ├── 00-proxy.conf
    17. ├── 00-systemd.conf
    18. └── 01-cgi.conf
    19. ├── logs -> ../../var/log/httpd
    20. ├── modules -> ../../usr/lib64/httpd/modules
    21. └── run -> /run/httpd
    22. 6 directories, 13 files
    23. [root@nginx01 ~]#
    1. [root@nginx01 ~]# rpm -qa httpd
    2. httpd-2.4.6-97.el7.centos.x86_64
    3. [root@nginx01 ~]# rpm -ql httpd
    4. /etc/httpd
    5. /etc/httpd/conf
    6. /etc/httpd/conf.d
    7. /etc/httpd/conf.d/README
    8. /etc/httpd/conf.d/autoindex.conf
    9. /etc/httpd/conf.d/userdir.conf
    10. /etc/httpd/conf.d/welcome.conf
    11. /etc/httpd/conf.modules.d
    12. /etc/httpd/conf.modules.d/00-base.conf
    13. /etc/httpd/conf.modules.d/00-dav.conf
    14. /etc/httpd/conf.modules.d/00-lua.conf
    15. /etc/httpd/conf.modules.d/00-mpm.conf
    16. /etc/httpd/conf.modules.d/00-proxy.conf
    17. /etc/httpd/conf.modules.d/00-systemd.conf
    18. /etc/httpd/conf.modules.d/01-cgi.conf
    19. /etc/httpd/conf/httpd.conf
    20. /etc/httpd/conf/magic
    21. /etc/httpd/logs
    22. /etc/httpd/modules
    23. /etc/httpd/run
    24. /etc/logrotate.d/httpd
    25. /etc/sysconfig/htcacheclean
    26. /etc/sysconfig/httpd
    27. /run/httpd
    28. /run/httpd/htcacheclean
    29. /usr/lib/systemd/system/htcacheclean.service
    30. /usr/lib/systemd/system/httpd.service
    31. /usr/lib/tmpfiles.d/httpd.conf
    32. /usr/lib64/httpd
    33. /usr/lib64/httpd/modules
    34. /usr/lib64/httpd/modules/mod_access_compat.so
    35. /usr/lib64/httpd/modules/mod_actions.so
    36. /usr/lib64/httpd/modules/mod_alias.so
    37. /usr/lib64/httpd/modules/mod_allowmethods.so
    38. /usr/lib64/httpd/modules/mod_asis.so
    39. /usr/lib64/httpd/modules/mod_auth_basic.so
    40. /usr/lib64/httpd/modules/mod_auth_digest.so
    41. /usr/lib64/httpd/modules/mod_authn_anon.so
    42. /usr/lib64/httpd/modules/mod_authn_core.so
    43. /usr/lib64/httpd/modules/mod_authn_dbd.so
    44. /usr/lib64/httpd/modules/mod_authn_dbm.so
    45. /usr/lib64/httpd/modules/mod_authn_file.so
    46. /usr/lib64/httpd/modules/mod_authn_socache.so
    47. /usr/lib64/httpd/modules/mod_authz_core.so
    48. /usr/lib64/httpd/modules/mod_authz_dbd.so
    49. /usr/lib64/httpd/modules/mod_authz_dbm.so
    50. /usr/lib64/httpd/modules/mod_authz_groupfile.so
    51. /usr/lib64/httpd/modules/mod_authz_host.so
    52. /usr/lib64/httpd/modules/mod_authz_owner.so
    53. /usr/lib64/httpd/modules/mod_authz_user.so
    54. /usr/lib64/httpd/modules/mod_autoindex.so
    55. /usr/lib64/httpd/modules/mod_buffer.so
    56. /usr/lib64/httpd/modules/mod_cache.so
    57. /usr/lib64/httpd/modules/mod_cache_disk.so
    58. /usr/lib64/httpd/modules/mod_cache_socache.so
    59. /usr/lib64/httpd/modules/mod_cgi.so
    60. /usr/lib64/httpd/modules/mod_cgid.so
    61. /usr/lib64/httpd/modules/mod_charset_lite.so
    62. /usr/lib64/httpd/modules/mod_data.so
    63. /usr/lib64/httpd/modules/mod_dav.so
    64. /usr/lib64/httpd/modules/mod_dav_fs.so
    65. /usr/lib64/httpd/modules/mod_dav_lock.so
    66. /usr/lib64/httpd/modules/mod_dbd.so
    67. /usr/lib64/httpd/modules/mod_deflate.so
    68. /usr/lib64/httpd/modules/mod_dialup.so
    69. /usr/lib64/httpd/modules/mod_dir.so
    70. /usr/lib64/httpd/modules/mod_dumpio.so
    71. /usr/lib64/httpd/modules/mod_echo.so
    72. /usr/lib64/httpd/modules/mod_env.so
    73. /usr/lib64/httpd/modules/mod_expires.so
    74. /usr/lib64/httpd/modules/mod_ext_filter.so
    75. /usr/lib64/httpd/modules/mod_file_cache.so
    76. /usr/lib64/httpd/modules/mod_filter.so
    77. /usr/lib64/httpd/modules/mod_headers.so
    78. /usr/lib64/httpd/modules/mod_heartbeat.so
    79. /usr/lib64/httpd/modules/mod_heartmonitor.so
    80. /usr/lib64/httpd/modules/mod_include.so
    81. /usr/lib64/httpd/modules/mod_info.so
    82. /usr/lib64/httpd/modules/mod_lbmethod_bybusyness.so
    83. /usr/lib64/httpd/modules/mod_lbmethod_byrequests.so
    84. /usr/lib64/httpd/modules/mod_lbmethod_bytraffic.so
    85. /usr/lib64/httpd/modules/mod_lbmethod_heartbeat.so
    86. /usr/lib64/httpd/modules/mod_log_config.so
    87. /usr/lib64/httpd/modules/mod_log_debug.so
    88. /usr/lib64/httpd/modules/mod_log_forensic.so
    89. /usr/lib64/httpd/modules/mod_logio.so
    90. /usr/lib64/httpd/modules/mod_lua.so
    91. /usr/lib64/httpd/modules/mod_macro.so
    92. /usr/lib64/httpd/modules/mod_mime.so
    93. /usr/lib64/httpd/modules/mod_mime_magic.so
    94. /usr/lib64/httpd/modules/mod_mpm_event.so
    95. /usr/lib64/httpd/modules/mod_mpm_prefork.so
    96. /usr/lib64/httpd/modules/mod_mpm_worker.so
    97. /usr/lib64/httpd/modules/mod_negotiation.so
    98. /usr/lib64/httpd/modules/mod_proxy.so
    99. /usr/lib64/httpd/modules/mod_proxy_ajp.so
    100. /usr/lib64/httpd/modules/mod_proxy_balancer.so
    101. /usr/lib64/httpd/modules/mod_proxy_connect.so
    102. /usr/lib64/httpd/modules/mod_proxy_express.so
    103. /usr/lib64/httpd/modules/mod_proxy_fcgi.so
    104. /usr/lib64/httpd/modules/mod_proxy_fdpass.so
    105. /usr/lib64/httpd/modules/mod_proxy_ftp.so
    106. /usr/lib64/httpd/modules/mod_proxy_http.so
    107. /usr/lib64/httpd/modules/mod_proxy_scgi.so
    108. /usr/lib64/httpd/modules/mod_proxy_wstunnel.so
    109. /usr/lib64/httpd/modules/mod_ratelimit.so
    110. /usr/lib64/httpd/modules/mod_reflector.so
    111. /usr/lib64/httpd/modules/mod_remoteip.so
    112. /usr/lib64/httpd/modules/mod_reqtimeout.so
    113. /usr/lib64/httpd/modules/mod_request.so
    114. /usr/lib64/httpd/modules/mod_rewrite.so
    115. /usr/lib64/httpd/modules/mod_sed.so
    116. /usr/lib64/httpd/modules/mod_setenvif.so
    117. /usr/lib64/httpd/modules/mod_slotmem_plain.so
    118. /usr/lib64/httpd/modules/mod_slotmem_shm.so
    119. /usr/lib64/httpd/modules/mod_socache_dbm.so
    120. /usr/lib64/httpd/modules/mod_socache_memcache.so
    121. /usr/lib64/httpd/modules/mod_socache_shmcb.so
    122. /usr/lib64/httpd/modules/mod_speling.so
    123. /usr/lib64/httpd/modules/mod_status.so
    124. /usr/lib64/httpd/modules/mod_substitute.so
    125. /usr/lib64/httpd/modules/mod_suexec.so
    126. /usr/lib64/httpd/modules/mod_systemd.so
    127. /usr/lib64/httpd/modules/mod_unique_id.so
    128. /usr/lib64/httpd/modules/mod_unixd.so
    129. /usr/lib64/httpd/modules/mod_userdir.so
    130. /usr/lib64/httpd/modules/mod_usertrack.so
    131. /usr/lib64/httpd/modules/mod_version.so
    132. /usr/lib64/httpd/modules/mod_vhost_alias.so
    133. /usr/lib64/httpd/modules/mod_watchdog.so
    134. /usr/libexec/initscripts/legacy-actions/httpd
    135. /usr/libexec/initscripts/legacy-actions/httpd/configtest
    136. /usr/libexec/initscripts/legacy-actions/httpd/graceful
    137. /usr/sbin/apachectl
    138. /usr/sbin/fcgistarter
    139. /usr/sbin/htcacheclean
    140. /usr/sbin/httpd
    141. /usr/sbin/rotatelogs
    142. /usr/sbin/suexec
    143. /usr/share/doc/httpd-2.4.6
    144. /usr/share/doc/httpd-2.4.6/ABOUT_APACHE
    145. /usr/share/doc/httpd-2.4.6/CHANGES
    146. /usr/share/doc/httpd-2.4.6/LICENSE
    147. /usr/share/doc/httpd-2.4.6/NOTICE
    148. /usr/share/doc/httpd-2.4.6/README
    149. /usr/share/doc/httpd-2.4.6/VERSIONING
    150. /usr/share/doc/httpd-2.4.6/httpd-dav.conf
    151. /usr/share/doc/httpd-2.4.6/httpd-default.conf
    152. /usr/share/doc/httpd-2.4.6/httpd-info.conf
    153. /usr/share/doc/httpd-2.4.6/httpd-languages.conf
    154. /usr/share/doc/httpd-2.4.6/httpd-manual.conf
    155. /usr/share/doc/httpd-2.4.6/httpd-mpm.conf
    156. /usr/share/doc/httpd-2.4.6/httpd-multilang-errordoc.conf
    157. /usr/share/doc/httpd-2.4.6/httpd-vhosts.conf
    158. /usr/share/doc/httpd-2.4.6/proxy-html.conf
    159. /usr/share/httpd
    160. /usr/share/httpd/error
    161. /usr/share/httpd/error/HTTP_BAD_GATEWAY.html.var
    162. /usr/share/httpd/error/HTTP_BAD_REQUEST.html.var
    163. /usr/share/httpd/error/HTTP_FORBIDDEN.html.var
    164. /usr/share/httpd/error/HTTP_GONE.html.var
    165. /usr/share/httpd/error/HTTP_INTERNAL_SERVER_ERROR.html.var
    166. /usr/share/httpd/error/HTTP_LENGTH_REQUIRED.html.var
    167. /usr/share/httpd/error/HTTP_METHOD_NOT_ALLOWED.html.var
    168. /usr/share/httpd/error/HTTP_NOT_FOUND.html.var
    169. /usr/share/httpd/error/HTTP_NOT_IMPLEMENTED.html.var
    170. /usr/share/httpd/error/HTTP_PRECONDITION_FAILED.html.var
    171. /usr/share/httpd/error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
    172. /usr/share/httpd/error/HTTP_REQUEST_TIME_OUT.html.var
    173. /usr/share/httpd/error/HTTP_REQUEST_URI_TOO_LARGE.html.var
    174. /usr/share/httpd/error/HTTP_SERVICE_UNAVAILABLE.html.var
    175. /usr/share/httpd/error/HTTP_UNAUTHORIZED.html.var
    176. /usr/share/httpd/error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
    177. /usr/share/httpd/error/HTTP_VARIANT_ALSO_VARIES.html.var
    178. /usr/share/httpd/error/README
    179. /usr/share/httpd/error/contact.html.var
    180. /usr/share/httpd/error/include
    181. /usr/share/httpd/error/include/bottom.html
    182. /usr/share/httpd/error/include/spacer.html
    183. /usr/share/httpd/error/include/top.html
    184. /usr/share/httpd/icons
    185. /usr/share/httpd/icons/README
    186. /usr/share/httpd/icons/README.html
    187. /usr/share/httpd/icons/a.gif
    188. /usr/share/httpd/icons/a.png
    189. /usr/share/httpd/icons/alert.black.gif
    190. /usr/share/httpd/icons/alert.black.png
    191. /usr/share/httpd/icons/alert.red.gif
    192. /usr/share/httpd/icons/alert.red.png
    193. /usr/share/httpd/icons/apache_pb.gif
    194. /usr/share/httpd/icons/apache_pb.png
    195. /usr/share/httpd/icons/apache_pb.svg
    196. /usr/share/httpd/icons/apache_pb2.gif
    197. /usr/share/httpd/icons/apache_pb2.png
    198. /usr/share/httpd/icons/back.gif
    199. /usr/share/httpd/icons/back.png
    200. /usr/share/httpd/icons/ball.gray.gif
    201. /usr/share/httpd/icons/ball.gray.png
    202. /usr/share/httpd/icons/ball.red.gif
    203. /usr/share/httpd/icons/ball.red.png
    204. /usr/share/httpd/icons/binary.gif
    205. /usr/share/httpd/icons/binary.png
    206. /usr/share/httpd/icons/binhex.gif
    207. /usr/share/httpd/icons/binhex.png
    208. /usr/share/httpd/icons/blank.gif
    209. /usr/share/httpd/icons/blank.png
    210. /usr/share/httpd/icons/bomb.gif
    211. /usr/share/httpd/icons/bomb.png
    212. /usr/share/httpd/icons/box1.gif
    213. /usr/share/httpd/icons/box1.png
    214. /usr/share/httpd/icons/box2.gif
    215. /usr/share/httpd/icons/box2.png
    216. /usr/share/httpd/icons/broken.gif
    217. /usr/share/httpd/icons/broken.png
    218. /usr/share/httpd/icons/burst.gif
    219. /usr/share/httpd/icons/burst.png
    220. /usr/share/httpd/icons/c.gif
    221. /usr/share/httpd/icons/c.png
    222. /usr/share/httpd/icons/comp.blue.gif
    223. /usr/share/httpd/icons/comp.blue.png
    224. /usr/share/httpd/icons/comp.gray.gif
    225. /usr/share/httpd/icons/comp.gray.png
    226. /usr/share/httpd/icons/compressed.gif
    227. /usr/share/httpd/icons/compressed.png
    228. /usr/share/httpd/icons/continued.gif
    229. /usr/share/httpd/icons/continued.png
    230. /usr/share/httpd/icons/dir.gif
    231. /usr/share/httpd/icons/dir.png
    232. /usr/share/httpd/icons/diskimg.gif
    233. /usr/share/httpd/icons/diskimg.png
    234. /usr/share/httpd/icons/down.gif
    235. /usr/share/httpd/icons/down.png
    236. /usr/share/httpd/icons/dvi.gif
    237. /usr/share/httpd/icons/dvi.png
    238. /usr/share/httpd/icons/f.gif
    239. /usr/share/httpd/icons/f.png
    240. /usr/share/httpd/icons/folder.gif
    241. /usr/share/httpd/icons/folder.open.gif
    242. /usr/share/httpd/icons/folder.open.png
    243. /usr/share/httpd/icons/folder.png
    244. /usr/share/httpd/icons/folder.sec.gif
    245. /usr/share/httpd/icons/folder.sec.png
    246. /usr/share/httpd/icons/forward.gif
    247. /usr/share/httpd/icons/forward.png
    248. /usr/share/httpd/icons/generic.gif
    249. /usr/share/httpd/icons/generic.png
    250. /usr/share/httpd/icons/generic.red.gif
    251. /usr/share/httpd/icons/generic.red.png
    252. /usr/share/httpd/icons/generic.sec.gif
    253. /usr/share/httpd/icons/generic.sec.png
    254. /usr/share/httpd/icons/hand.right.gif
    255. /usr/share/httpd/icons/hand.right.png
    256. /usr/share/httpd/icons/hand.up.gif
    257. /usr/share/httpd/icons/hand.up.png
    258. /usr/share/httpd/icons/icon.sheet.gif
    259. /usr/share/httpd/icons/icon.sheet.png
    260. /usr/share/httpd/icons/image1.gif
    261. /usr/share/httpd/icons/image1.png
    262. /usr/share/httpd/icons/image2.gif
    263. /usr/share/httpd/icons/image2.png
    264. /usr/share/httpd/icons/image3.gif
    265. /usr/share/httpd/icons/image3.png
    266. /usr/share/httpd/icons/index.gif
    267. /usr/share/httpd/icons/index.png
    268. /usr/share/httpd/icons/layout.gif
    269. /usr/share/httpd/icons/layout.png
    270. /usr/share/httpd/icons/left.gif
    271. /usr/share/httpd/icons/left.png
    272. /usr/share/httpd/icons/link.gif
    273. /usr/share/httpd/icons/link.png
    274. /usr/share/httpd/icons/movie.gif
    275. /usr/share/httpd/icons/movie.png
    276. /usr/share/httpd/icons/odf6odb.png
    277. /usr/share/httpd/icons/odf6odc.png
    278. /usr/share/httpd/icons/odf6odf.png
    279. /usr/share/httpd/icons/odf6odg.png
    280. /usr/share/httpd/icons/odf6odi.png
    281. /usr/share/httpd/icons/odf6odm.png
    282. /usr/share/httpd/icons/odf6odp.png
    283. /usr/share/httpd/icons/odf6ods.png
    284. /usr/share/httpd/icons/odf6odt.png
    285. /usr/share/httpd/icons/odf6otc.png
    286. /usr/share/httpd/icons/odf6otf.png
    287. /usr/share/httpd/icons/odf6otg.png
    288. /usr/share/httpd/icons/odf6oth.png
    289. /usr/share/httpd/icons/odf6oti.png
    290. /usr/share/httpd/icons/odf6otp.png
    291. /usr/share/httpd/icons/odf6ots.png
    292. /usr/share/httpd/icons/odf6ott.png
    293. /usr/share/httpd/icons/p.gif
    294. /usr/share/httpd/icons/p.png
    295. /usr/share/httpd/icons/patch.gif
    296. /usr/share/httpd/icons/patch.png
    297. /usr/share/httpd/icons/pdf.gif
    298. /usr/share/httpd/icons/pdf.png
    299. /usr/share/httpd/icons/pie0.gif
    300. /usr/share/httpd/icons/pie0.png
    301. /usr/share/httpd/icons/pie1.gif
    302. /usr/share/httpd/icons/pie1.png
    303. /usr/share/httpd/icons/pie2.gif
    304. /usr/share/httpd/icons/pie2.png
    305. /usr/share/httpd/icons/pie3.gif
    306. /usr/share/httpd/icons/pie3.png
    307. /usr/share/httpd/icons/pie4.gif
    308. /usr/share/httpd/icons/pie4.png
    309. /usr/share/httpd/icons/pie5.gif
    310. /usr/share/httpd/icons/pie5.png
    311. /usr/share/httpd/icons/pie6.gif
    312. /usr/share/httpd/icons/pie6.png
    313. /usr/share/httpd/icons/pie7.gif
    314. /usr/share/httpd/icons/pie7.png
    315. /usr/share/httpd/icons/pie8.gif
    316. /usr/share/httpd/icons/pie8.png
    317. /usr/share/httpd/icons/portal.gif
    318. /usr/share/httpd/icons/portal.png
    319. /usr/share/httpd/icons/poweredby.png
    320. /usr/share/httpd/icons/ps.gif
    321. /usr/share/httpd/icons/ps.png
    322. /usr/share/httpd/icons/quill.gif
    323. /usr/share/httpd/icons/quill.png
    324. /usr/share/httpd/icons/right.gif
    325. /usr/share/httpd/icons/right.png
    326. /usr/share/httpd/icons/screw1.gif
    327. /usr/share/httpd/icons/screw1.png
    328. /usr/share/httpd/icons/screw2.gif
    329. /usr/share/httpd/icons/screw2.png
    330. /usr/share/httpd/icons/script.gif
    331. /usr/share/httpd/icons/script.png
    332. /usr/share/httpd/icons/small
    333. /usr/share/httpd/icons/small/back.gif
    334. /usr/share/httpd/icons/small/back.png
    335. /usr/share/httpd/icons/small/binary.gif
    336. /usr/share/httpd/icons/small/binary.png
    337. /usr/share/httpd/icons/small/binhex.gif
    338. /usr/share/httpd/icons/small/binhex.png
    339. /usr/share/httpd/icons/small/blank.gif
    340. /usr/share/httpd/icons/small/blank.png
    341. /usr/share/httpd/icons/small/broken.gif
    342. /usr/share/httpd/icons/small/broken.png
    343. /usr/share/httpd/icons/small/burst.gif
    344. /usr/share/httpd/icons/small/burst.png
    345. /usr/share/httpd/icons/small/comp1.gif
    346. /usr/share/httpd/icons/small/comp1.png
    347. /usr/share/httpd/icons/small/comp2.gif
    348. /usr/share/httpd/icons/small/comp2.png
    349. /usr/share/httpd/icons/small/compressed.gif
    350. /usr/share/httpd/icons/small/compressed.png
    351. /usr/share/httpd/icons/small/continued.gif
    352. /usr/share/httpd/icons/small/continued.png
    353. /usr/share/httpd/icons/small/doc.gif
    354. /usr/share/httpd/icons/small/doc.png
    355. /usr/share/httpd/icons/small/folder.gif
    356. /usr/share/httpd/icons/small/folder.png
    357. /usr/share/httpd/icons/small/folder2.gif
    358. /usr/share/httpd/icons/small/folder2.png
    359. /usr/share/httpd/icons/small/forward.gif
    360. /usr/share/httpd/icons/small/forward.png
    361. /usr/share/httpd/icons/small/generic.gif
    362. /usr/share/httpd/icons/small/generic.png
    363. /usr/share/httpd/icons/small/generic2.gif
    364. /usr/share/httpd/icons/small/generic2.png
    365. /usr/share/httpd/icons/small/generic3.gif
    366. /usr/share/httpd/icons/small/generic3.png
    367. /usr/share/httpd/icons/small/image.gif
    368. /usr/share/httpd/icons/small/image.png
    369. /usr/share/httpd/icons/small/image2.gif
    370. /usr/share/httpd/icons/small/image2.png
    371. /usr/share/httpd/icons/small/index.gif
    372. /usr/share/httpd/icons/small/index.png
    373. /usr/share/httpd/icons/small/key.gif
    374. /usr/share/httpd/icons/small/key.png
    375. /usr/share/httpd/icons/small/movie.gif
    376. /usr/share/httpd/icons/small/movie.png
    377. /usr/share/httpd/icons/small/patch.gif
    378. /usr/share/httpd/icons/small/patch.png
    379. /usr/share/httpd/icons/small/ps.gif
    380. /usr/share/httpd/icons/small/ps.png
    381. /usr/share/httpd/icons/small/rainbow.gif
    382. /usr/share/httpd/icons/small/rainbow.png
    383. /usr/share/httpd/icons/small/sound.gif
    384. /usr/share/httpd/icons/small/sound.png
    385. /usr/share/httpd/icons/small/sound2.gif
    386. /usr/share/httpd/icons/small/sound2.png
    387. /usr/share/httpd/icons/small/tar.gif
    388. /usr/share/httpd/icons/small/tar.png
    389. /usr/share/httpd/icons/small/text.gif
    390. /usr/share/httpd/icons/small/text.png
    391. /usr/share/httpd/icons/small/transfer.gif
    392. /usr/share/httpd/icons/small/transfer.png
    393. /usr/share/httpd/icons/small/unknown.gif
    394. /usr/share/httpd/icons/small/unknown.png
    395. /usr/share/httpd/icons/small/uu.gif
    396. /usr/share/httpd/icons/small/uu.png
    397. /usr/share/httpd/icons/sound1.gif
    398. /usr/share/httpd/icons/sound1.png
    399. /usr/share/httpd/icons/sound2.gif
    400. /usr/share/httpd/icons/sound2.png
    401. /usr/share/httpd/icons/sphere1.gif
    402. /usr/share/httpd/icons/sphere1.png
    403. /usr/share/httpd/icons/sphere2.gif
    404. /usr/share/httpd/icons/sphere2.png
    405. /usr/share/httpd/icons/svg.png
    406. /usr/share/httpd/icons/tar.gif
    407. /usr/share/httpd/icons/tar.png
    408. /usr/share/httpd/icons/tex.gif
    409. /usr/share/httpd/icons/tex.png
    410. /usr/share/httpd/icons/text.gif
    411. /usr/share/httpd/icons/text.png
    412. /usr/share/httpd/icons/transfer.gif
    413. /usr/share/httpd/icons/transfer.png
    414. /usr/share/httpd/icons/unknown.gif
    415. /usr/share/httpd/icons/unknown.png
    416. /usr/share/httpd/icons/up.gif
    417. /usr/share/httpd/icons/up.png
    418. /usr/share/httpd/icons/uu.gif
    419. /usr/share/httpd/icons/uu.png
    420. /usr/share/httpd/icons/uuencoded.gif
    421. /usr/share/httpd/icons/uuencoded.png
    422. /usr/share/httpd/icons/world1.gif
    423. /usr/share/httpd/icons/world1.png
    424. /usr/share/httpd/icons/world2.gif
    425. /usr/share/httpd/icons/world2.png
    426. /usr/share/httpd/icons/xml.png
    427. /usr/share/httpd/noindex
    428. /usr/share/httpd/noindex/css
    429. /usr/share/httpd/noindex/css/bootstrap-theme.min.css
    430. /usr/share/httpd/noindex/css/bootstrap.min.css
    431. /usr/share/httpd/noindex/css/fonts
    432. /usr/share/httpd/noindex/css/fonts/Bold
    433. /usr/share/httpd/noindex/css/fonts/Bold/OpenSans-Bold.eot
    434. /usr/share/httpd/noindex/css/fonts/Bold/OpenSans-Bold.svg
    435. /usr/share/httpd/noindex/css/fonts/Bold/OpenSans-Bold.ttf
    436. /usr/share/httpd/noindex/css/fonts/Bold/OpenSans-Bold.woff
    437. /usr/share/httpd/noindex/css/fonts/BoldItalic
    438. /usr/share/httpd/noindex/css/fonts/BoldItalic/OpenSans-BoldItalic.eot
    439. /usr/share/httpd/noindex/css/fonts/BoldItalic/OpenSans-BoldItalic.svg
    440. /usr/share/httpd/noindex/css/fonts/BoldItalic/OpenSans-BoldItalic.ttf
    441. /usr/share/httpd/noindex/css/fonts/BoldItalic/OpenSans-BoldItalic.woff
    442. /usr/share/httpd/noindex/css/fonts/ExtraBold
    443. /usr/share/httpd/noindex/css/fonts/ExtraBold/OpenSans-ExtraBold.eot
    444. /usr/share/httpd/noindex/css/fonts/ExtraBold/OpenSans-ExtraBold.svg
    445. /usr/share/httpd/noindex/css/fonts/ExtraBold/OpenSans-ExtraBold.ttf
    446. /usr/share/httpd/noindex/css/fonts/ExtraBold/OpenSans-ExtraBold.woff
    447. /usr/share/httpd/noindex/css/fonts/ExtraBoldItalic
    448. /usr/share/httpd/noindex/css/fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.eot
    449. /usr/share/httpd/noindex/css/fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.svg
    450. /usr/share/httpd/noindex/css/fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.ttf
    451. /usr/share/httpd/noindex/css/fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.woff
    452. /usr/share/httpd/noindex/css/fonts/Italic
    453. /usr/share/httpd/noindex/css/fonts/Italic/OpenSans-Italic.eot
    454. /usr/share/httpd/noindex/css/fonts/Italic/OpenSans-Italic.svg
    455. /usr/share/httpd/noindex/css/fonts/Italic/OpenSans-Italic.ttf
    456. /usr/share/httpd/noindex/css/fonts/Italic/OpenSans-Italic.woff
    457. /usr/share/httpd/noindex/css/fonts/Light
    458. /usr/share/httpd/noindex/css/fonts/Light/OpenSans-Light.eot
    459. /usr/share/httpd/noindex/css/fonts/Light/OpenSans-Light.svg
    460. /usr/share/httpd/noindex/css/fonts/Light/OpenSans-Light.ttf
    461. /usr/share/httpd/noindex/css/fonts/Light/OpenSans-Light.woff
    462. /usr/share/httpd/noindex/css/fonts/LightItalic
    463. /usr/share/httpd/noindex/css/fonts/LightItalic/OpenSans-LightItalic.eot
    464. /usr/share/httpd/noindex/css/fonts/LightItalic/OpenSans-LightItalic.svg
    465. /usr/share/httpd/noindex/css/fonts/LightItalic/OpenSans-LightItalic.ttf
    466. /usr/share/httpd/noindex/css/fonts/LightItalic/OpenSans-LightItalic.woff
    467. /usr/share/httpd/noindex/css/fonts/Regular
    468. /usr/share/httpd/noindex/css/fonts/Regular/OpenSans-Regular.eot
    469. /usr/share/httpd/noindex/css/fonts/Regular/OpenSans-Regular.svg
    470. /usr/share/httpd/noindex/css/fonts/Regular/OpenSans-Regular.ttf
    471. /usr/share/httpd/noindex/css/fonts/Regular/OpenSans-Regular.woff
    472. /usr/share/httpd/noindex/css/fonts/Semibold
    473. /usr/share/httpd/noindex/css/fonts/Semibold/OpenSans-Semibold.eot
    474. /usr/share/httpd/noindex/css/fonts/Semibold/OpenSans-Semibold.svg
    475. /usr/share/httpd/noindex/css/fonts/Semibold/OpenSans-Semibold.ttf
    476. /usr/share/httpd/noindex/css/fonts/Semibold/OpenSans-Semibold.woff
    477. /usr/share/httpd/noindex/css/fonts/SemiboldItalic
    478. /usr/share/httpd/noindex/css/fonts/SemiboldItalic/OpenSans-SemiboldItalic.eot
    479. /usr/share/httpd/noindex/css/fonts/SemiboldItalic/OpenSans-SemiboldItalic.svg
    480. /usr/share/httpd/noindex/css/fonts/SemiboldItalic/OpenSans-SemiboldItalic.ttf
    481. /usr/share/httpd/noindex/css/fonts/SemiboldItalic/OpenSans-SemiboldItalic.woff
    482. /usr/share/httpd/noindex/css/open-sans.css
    483. /usr/share/httpd/noindex/images
    484. /usr/share/httpd/noindex/images/apache_pb.gif
    485. /usr/share/httpd/noindex/images/poweredby.png
    486. /usr/share/httpd/noindex/index.html
    487. /usr/share/man/man8/apachectl.8.gz
    488. /usr/share/man/man8/fcgistarter.8.gz
    489. /usr/share/man/man8/htcacheclean.8.gz
    490. /usr/share/man/man8/httpd.8.gz
    491. /usr/share/man/man8/rotatelogs.8.gz
    492. /usr/share/man/man8/suexec.8.gz
    493. /var/cache/httpd
    494. /var/cache/httpd/proxy
    495. /var/lib/dav
    496. /var/log/httpd
    497. /var/www
    498. /var/www/cgi-bin
    499. /var/www/html
    500. [root@nginx01 ~]#
    501. [root@nginx01 ~]# rpm -qa httpd
    502. httpd-2.4.6-97.el7.centos.x86_64
    503. [root@nginx01 ~]# rpm -ql httpd
    504. /etc/httpd
    505. /etc/httpd/conf
    506. /etc/httpd/conf.d
    507. /etc/httpd/conf.d/README
    508. /etc/httpd/conf.d/autoindex.conf
    509. /etc/httpd/conf.d/userdir.conf
    510. /etc/httpd/conf.d/welcome.conf
    511. /etc/httpd/conf.modules.d
    512. /etc/httpd/conf.modules.d/00-base.conf
    513. /etc/httpd/conf.modules.d/00-dav.conf
    514. /etc/httpd/conf.modules.d/00-lua.conf
    515. /etc/httpd/conf.modules.d/00-mpm.conf
    516. /etc/httpd/conf.modules.d/00-proxy.conf
    517. /etc/httpd/conf.modules.d/00-systemd.conf
    518. /etc/httpd/conf.modules.d/01-cgi.conf
    519. /etc/httpd/conf/httpd.conf
    520. /etc/httpd/conf/magic
    521. /etc/httpd/logs
    522. /etc/httpd/modules
    523. /etc/httpd/run
    524. /etc/logrotate.d/httpd
    525. /etc/sysconfig/htcacheclean
    526. /etc/sysconfig/httpd
    527. /run/httpd
    528. /run/httpd/htcacheclean
    529. /usr/lib/systemd/system/htcacheclean.service
    530. /usr/lib/systemd/system/httpd.service
    531. /usr/lib/tmpfiles.d/httpd.conf
    532. /usr/lib64/httpd
    533. /usr/lib64/httpd/modules
    534. /usr/lib64/httpd/modules/mod_access_compat.so
    535. /usr/lib64/httpd/modules/mod_actions.so
    536. /usr/lib64/httpd/modules/mod_alias.so
    537. /usr/lib64/httpd/modules/mod_allowmethods.so
    538. /usr/lib64/httpd/modules/mod_asis.so
    539. /usr/lib64/httpd/modules/mod_auth_basic.so
    540. /usr/lib64/httpd/modules/mod_auth_digest.so
    541. /usr/lib64/httpd/modules/mod_authn_anon.so
    542. /usr/lib64/httpd/modules/mod_authn_core.so
    543. /usr/lib64/httpd/modules/mod_authn_dbd.so
    544. /usr/lib64/httpd/modules/mod_authn_dbm.so
    545. /usr/lib64/httpd/modules/mod_authn_file.so
    546. /usr/lib64/httpd/modules/mod_authn_socache.so
    547. /usr/lib64/httpd/modules/mod_authz_core.so
    548. /usr/lib64/httpd/modules/mod_authz_dbd.so
    549. /usr/lib64/httpd/modules/mod_authz_dbm.so
    550. /usr/lib64/httpd/modules/mod_authz_groupfile.so
    551. /usr/lib64/httpd/modules/mod_authz_host.so
    552. /usr/lib64/httpd/modules/mod_authz_owner.so
    553. /usr/lib64/httpd/modules/mod_authz_user.so
    554. /usr/lib64/httpd/modules/mod_autoindex.so
    555. /usr/lib64/httpd/modules/mod_buffer.so
    556. /usr/lib64/httpd/modules/mod_cache.so
    557. /usr/lib64/httpd/modules/mod_cache_disk.so
    558. /usr/lib64/httpd/modules/mod_cache_socache.so
    559. /usr/lib64/httpd/modules/mod_cgi.so
    560. /usr/lib64/httpd/modules/mod_cgid.so
    561. /usr/lib64/httpd/modules/mod_charset_lite.so
    562. /usr/lib64/httpd/modules/mod_data.so
    563. /usr/lib64/httpd/modules/mod_dav.so
    564. /usr/lib64/httpd/modules/mod_dav_fs.so
    565. /usr/lib64/httpd/modules/mod_dav_lock.so
    566. /usr/lib64/httpd/modules/mod_dbd.so
    567. /usr/lib64/httpd/modules/mod_deflate.so
    568. /usr/lib64/httpd/modules/mod_dialup.so
    569. /usr/lib64/httpd/modules/mod_dir.so
    570. /usr/lib64/httpd/modules/mod_dumpio.so
    571. /usr/lib64/httpd/modules/mod_echo.so
    572. /usr/lib64/httpd/modules/mod_env.so
    573. /usr/lib64/httpd/modules/mod_expires.so
    574. /usr/lib64/httpd/modules/mod_ext_filter.so
    575. /usr/lib64/httpd/modules/mod_file_cache.so
    576. /usr/lib64/httpd/modules/mod_filter.so
    577. /usr/lib64/httpd/modules/mod_headers.so
    578. /usr/lib64/httpd/modules/mod_heartbeat.so
    579. /usr/lib64/httpd/modules/mod_heartmonitor.so
    580. /usr/lib64/httpd/modules/mod_include.so
    581. /usr/lib64/httpd/modules/mod_info.so
    582. /usr/lib64/httpd/modules/mod_lbmethod_bybusyness.so
    583. /usr/lib64/httpd/modules/mod_lbmethod_byrequests.so
    584. /usr/lib64/httpd/modules/mod_lbmethod_bytraffic.so
    585. /usr/lib64/httpd/modules/mod_lbmethod_heartbeat.so
    586. /usr/lib64/httpd/modules/mod_log_config.so
    587. /usr/lib64/httpd/modules/mod_log_debug.so
    588. /usr/lib64/httpd/modules/mod_log_forensic.so
    589. /usr/lib64/httpd/modules/mod_logio.so
    590. /usr/lib64/httpd/modules/mod_lua.so
    591. /usr/lib64/httpd/modules/mod_macro.so
    592. /usr/lib64/httpd/modules/mod_mime.so
    593. /usr/lib64/httpd/modules/mod_mime_magic.so
    594. /usr/lib64/httpd/modules/mod_mpm_event.so
    595. /usr/lib64/httpd/modules/mod_mpm_prefork.so
    596. /usr/lib64/httpd/modules/mod_mpm_worker.so
    597. /usr/lib64/httpd/modules/mod_negotiation.so
    598. /usr/lib64/httpd/modules/mod_proxy.so
    599. /usr/lib64/httpd/modules/mod_proxy_ajp.so
    600. /usr/lib64/httpd/modules/mod_proxy_balancer.so
    601. /usr/lib64/httpd/modules/mod_proxy_connect.so
    602. /usr/lib64/httpd/modules/mod_proxy_express.so
    603. /usr/lib64/httpd/modules/mod_proxy_fcgi.so
    604. /usr/lib64/httpd/modules/mod_proxy_fdpass.so
    605. /usr/lib64/httpd/modules/mod_proxy_ftp.so
    606. /usr/lib64/httpd/modules/mod_proxy_http.so
    607. /usr/lib64/httpd/modules/mod_proxy_scgi.so
    608. /usr/lib64/httpd/modules/mod_proxy_wstunnel.so
    609. /usr/lib64/httpd/modules/mod_ratelimit.so
    610. /usr/lib64/httpd/modules/mod_reflector.so
    611. /usr/lib64/httpd/modules/mod_remoteip.so
    612. /usr/lib64/httpd/modules/mod_reqtimeout.so
    613. /usr/lib64/httpd/modules/mod_request.so
    614. /usr/lib64/httpd/modules/mod_rewrite.so
    615. /usr/lib64/httpd/modules/mod_sed.so
    616. /usr/lib64/httpd/modules/mod_setenvif.so
    617. /usr/lib64/httpd/modules/mod_slotmem_plain.so
    618. /usr/lib64/httpd/modules/mod_slotmem_shm.so
    619. /usr/lib64/httpd/modules/mod_socache_dbm.so
    620. /usr/lib64/httpd/modules/mod_socache_memcache.so
    621. /usr/lib64/httpd/modules/mod_socache_shmcb.so
    622. /usr/lib64/httpd/modules/mod_speling.so
    623. /usr/lib64/httpd/modules/mod_status.so
    624. /usr/lib64/httpd/modules/mod_substitute.so
    625. /usr/lib64/httpd/modules/mod_suexec.so
    626. /usr/lib64/httpd/modules/mod_systemd.so
    627. /usr/lib64/httpd/modules/mod_unique_id.so
    628. /usr/lib64/httpd/modules/mod_unixd.so
    629. /usr/lib64/httpd/modules/mod_userdir.so
    630. /usr/lib64/httpd/modules/mod_usertrack.so
    631. /usr/lib64/httpd/modules/mod_version.so
    632. /usr/lib64/httpd/modules/mod_vhost_alias.so
    633. /usr/lib64/httpd/modules/mod_watchdog.so
    634. /usr/libexec/initscripts/legacy-actions/httpd
    635. /usr/libexec/initscripts/legacy-actions/httpd/configtest
    636. /usr/libexec/initscripts/legacy-actions/httpd/graceful
    637. /usr/sbin/apachectl
    638. /usr/sbin/fcgistarter
    639. /usr/sbin/htcacheclean
    640. /usr/sbin/httpd
    641. /usr/sbin/rotatelogs
    642. /usr/sbin/suexec
    643. /usr/share/doc/httpd-2.4.6
    644. /usr/share/doc/httpd-2.4.6/ABOUT_APACHE
    645. /usr/share/doc/httpd-2.4.6/CHANGES
    646. /usr/share/doc/httpd-2.4.6/LICENSE
    647. /usr/share/doc/httpd-2.4.6/NOTICE
    648. /usr/share/doc/httpd-2.4.6/README
    649. /usr/share/doc/httpd-2.4.6/VERSIONING
    650. /usr/share/doc/httpd-2.4.6/httpd-dav.conf
    651. /usr/share/doc/httpd-2.4.6/httpd-default.conf
    652. /usr/share/doc/httpd-2.4.6/httpd-info.conf
    653. /usr/share/doc/httpd-2.4.6/httpd-languages.conf
    654. /usr/share/doc/httpd-2.4.6/httpd-manual.conf
    655. /usr/share/doc/httpd-2.4.6/httpd-mpm.conf
    656. /usr/share/doc/httpd-2.4.6/httpd-multilang-errordoc.conf
    657. /usr/share/doc/httpd-2.4.6/httpd-vhosts.conf
    658. /usr/share/doc/httpd-2.4.6/proxy-html.conf
    659. /usr/share/httpd
    660. /usr/share/httpd/error
    661. /usr/share/httpd/error/HTTP_BAD_GATEWAY.html.var
    662. /usr/share/httpd/error/HTTP_BAD_REQUEST.html.var
    663. /usr/share/httpd/error/HTTP_FORBIDDEN.html.var
    664. /usr/share/httpd/error/HTTP_GONE.html.var
    665. /usr/share/httpd/error/HTTP_INTERNAL_SERVER_ERROR.html.var
    666. /usr/share/httpd/error/HTTP_LENGTH_REQUIRED.html.var
    667. /usr/share/httpd/error/HTTP_METHOD_NOT_ALLOWED.html.var
    668. /usr/share/httpd/error/HTTP_NOT_FOUND.html.var
    669. /usr/share/httpd/error/HTTP_NOT_IMPLEMENTED.html.var
    670. /usr/share/httpd/error/HTTP_PRECONDITION_FAILED.html.var
    671. /usr/share/httpd/error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
    672. /usr/share/httpd/error/HTTP_REQUEST_TIME_OUT.html.var
    673. /usr/share/httpd/error/HTTP_REQUEST_URI_TOO_LARGE.html.var
    674. /usr/share/httpd/error/HTTP_SERVICE_UNAVAILABLE.html.var
    675. /usr/share/httpd/error/HTTP_UNAUTHORIZED.html.var
    676. /usr/share/httpd/error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
    677. /usr/share/httpd/error/HTTP_VARIANT_ALSO_VARIES.html.var
    678. /usr/share/httpd/error/README
    679. /usr/share/httpd/error/contact.html.var
    680. /usr/share/httpd/error/include
    681. /usr/share/httpd/error/include/bottom.html
    682. /usr/share/httpd/error/include/spacer.html
    683. /usr/share/httpd/error/include/top.html
    684. /usr/share/httpd/icons
    685. /usr/share/httpd/icons/README
    686. /usr/share/httpd/icons/README.html
    687. /usr/share/httpd/icons/a.gif
    688. /usr/share/httpd/icons/a.png
    689. /usr/share/httpd/icons/alert.black.gif
    690. /usr/share/httpd/icons/alert.black.png
    691. /usr/share/httpd/icons/alert.red.gif
    692. /usr/share/httpd/icons/alert.red.png
    693. /usr/share/httpd/icons/apache_pb.gif
    694. /usr/share/httpd/icons/apache_pb.png
    695. /usr/share/httpd/icons/apache_pb.svg
    696. /usr/share/httpd/icons/apache_pb2.gif
    697. /usr/share/httpd/icons/apache_pb2.png
    698. /usr/share/httpd/icons/back.gif
    699. /usr/share/httpd/icons/back.png
    700. /usr/share/httpd/icons/ball.gray.gif
    701. /usr/share/httpd/icons/ball.gray.png
    702. /usr/share/httpd/icons/ball.red.gif
    703. /usr/share/httpd/icons/ball.red.png
    704. /usr/share/httpd/icons/binary.gif
    705. /usr/share/httpd/icons/binary.png
    706. /usr/share/httpd/icons/binhex.gif
    707. /usr/share/httpd/icons/binhex.png
    708. /usr/share/httpd/icons/blank.gif
    709. /usr/share/httpd/icons/blank.png
    710. /usr/share/httpd/icons/bomb.gif
    711. /usr/share/httpd/icons/bomb.png
    712. /usr/share/httpd/icons/box1.gif
    713. /usr/share/httpd/icons/box1.png
    714. /usr/share/httpd/icons/box2.gif
    715. /usr/share/httpd/icons/box2.png
    716. /usr/share/httpd/icons/broken.gif
    717. /usr/share/httpd/icons/broken.png
    718. /usr/share/httpd/icons/burst.gif
    719. /usr/share/httpd/icons/burst.png
    720. /usr/share/httpd/icons/c.gif
    721. /usr/share/httpd/icons/c.png
    722. /usr/share/httpd/icons/comp.blue.gif
    723. /usr/share/httpd/icons/comp.blue.png
    724. /usr/share/httpd/icons/comp.gray.gif
    725. /usr/share/httpd/icons/comp.gray.png
    726. /usr/share/httpd/icons/compressed.gif
    727. /usr/share/httpd/icons/compressed.png
    728. /usr/share/httpd/icons/continued.gif
    729. /usr/share/httpd/icons/continued.png
    730. /usr/share/httpd/icons/dir.gif
    731. /usr/share/httpd/icons/dir.png
    732. /usr/share/httpd/icons/diskimg.gif
    733. /usr/share/httpd/icons/diskimg.png
    734. /usr/share/httpd/icons/down.gif
    735. /usr/share/httpd/icons/down.png
    736. /usr/share/httpd/icons/dvi.gif
    737. /usr/share/httpd/icons/dvi.png
    738. /usr/share/httpd/icons/f.gif
    739. /usr/share/httpd/icons/f.png
    740. /usr/share/httpd/icons/folder.gif
    741. /usr/share/httpd/icons/folder.open.gif
    742. /usr/share/httpd/icons/folder.open.png
    743. /usr/share/httpd/icons/folder.png
    744. /usr/share/httpd/icons/folder.sec.gif
    745. /usr/share/httpd/icons/folder.sec.png
    746. /usr/share/httpd/icons/forward.gif
    747. /usr/share/httpd/icons/forward.png
    748. /usr/share/httpd/icons/generic.gif
    749. /usr/share/httpd/icons/generic.png
    750. /usr/share/httpd/icons/generic.red.gif
    751. /usr/share/httpd/icons/generic.red.png
    752. /usr/share/httpd/icons/generic.sec.gif
    753. /usr/share/httpd/icons/generic.sec.png
    754. /usr/share/httpd/icons/hand.right.gif
    755. /usr/share/httpd/icons/hand.right.png
    756. /usr/share/httpd/icons/hand.up.gif
    757. /usr/share/httpd/icons/hand.up.png
    758. /usr/share/httpd/icons/icon.sheet.gif
    759. /usr/share/httpd/icons/icon.sheet.png
    760. /usr/share/httpd/icons/image1.gif
    761. /usr/share/httpd/icons/image1.png
    762. /usr/share/httpd/icons/image2.gif
    763. /usr/share/httpd/icons/image2.png
    764. /usr/share/httpd/icons/image3.gif
    765. /usr/share/httpd/icons/image3.png
    766. /usr/share/httpd/icons/index.gif
    767. /usr/share/httpd/icons/index.png
    768. /usr/share/httpd/icons/layout.gif
    769. /usr/share/httpd/icons/layout.png
    770. /usr/share/httpd/icons/left.gif
    771. /usr/share/httpd/icons/left.png
    772. /usr/share/httpd/icons/link.gif
    773. /usr/share/httpd/icons/link.png
    774. /usr/share/httpd/icons/movie.gif
    775. /usr/share/httpd/icons/movie.png
    776. /usr/share/httpd/icons/odf6odb.png
    777. /usr/share/httpd/icons/odf6odc.png
    778. /usr/share/httpd/icons/odf6odf.png
    779. /usr/share/httpd/icons/odf6odg.png
    780. /usr/share/httpd/icons/odf6odi.png
    781. /usr/share/httpd/icons/odf6odm.png
    782. /usr/share/httpd/icons/odf6odp.png
    783. /usr/share/httpd/icons/odf6ods.png
    784. /usr/share/httpd/icons/odf6odt.png
    785. /usr/share/httpd/icons/odf6otc.png
    786. /usr/share/httpd/icons/odf6otf.png
    787. /usr/share/httpd/icons/odf6otg.png
    788. /usr/share/httpd/icons/odf6oth.png
    789. /usr/share/httpd/icons/odf6oti.png
    790. /usr/share/httpd/icons/odf6otp.png
    791. /usr/share/httpd/icons/odf6ots.png
    792. /usr/share/httpd/icons/odf6ott.png
    793. /usr/share/httpd/icons/p.gif
    794. /usr/share/httpd/icons/p.png
    795. /usr/share/httpd/icons/patch.gif
    796. /usr/share/httpd/icons/patch.png
    797. /usr/share/httpd/icons/pdf.gif
    798. /usr/share/httpd/icons/pdf.png
    799. /usr/share/httpd/icons/pie0.gif
    800. /usr/share/httpd/icons/pie0.png
    801. /usr/share/httpd/icons/pie1.gif
    802. /usr/share/httpd/icons/pie1.png
    803. /usr/share/httpd/icons/pie2.gif
    804. /usr/share/httpd/icons/pie2.png
    805. /usr/share/httpd/icons/pie3.gif
    806. /usr/share/httpd/icons/pie3.png
    807. /usr/share/httpd/icons/pie4.gif
    808. /usr/share/httpd/icons/pie4.png
    809. /usr/share/httpd/icons/pie5.gif
    810. /usr/share/httpd/icons/pie5.png
    811. /usr/share/httpd/icons/pie6.gif
    812. /usr/share/httpd/icons/pie6.png
    813. /usr/share/httpd/icons/pie7.gif
    814. /usr/share/httpd/icons/pie7.png
    815. /usr/share/httpd/icons/pie8.gif
    816. /usr/share/httpd/icons/pie8.png
    817. /usr/share/httpd/icons/portal.gif
    818. /usr/share/httpd/icons/portal.png
    819. /usr/share/httpd/icons/poweredby.png
    820. /usr/share/httpd/icons/ps.gif
    821. /usr/share/httpd/icons/ps.png
    822. /usr/share/httpd/icons/quill.gif
    823. /usr/share/httpd/icons/quill.png
    824. /usr/share/httpd/icons/right.gif
    825. /usr/share/httpd/icons/right.png
    826. /usr/share/httpd/icons/screw1.gif
    827. /usr/share/httpd/icons/screw1.png
    828. /usr/share/httpd/icons/screw2.gif
    829. /usr/share/httpd/icons/screw2.png
    830. /usr/share/httpd/icons/script.gif
    831. /usr/share/httpd/icons/script.png
    832. /usr/share/httpd/icons/small
    833. /usr/share/httpd/icons/small/back.gif
    834. /usr/share/httpd/icons/small/back.png
    835. /usr/share/httpd/icons/small/binary.gif
    836. /usr/share/httpd/icons/small/binary.png
    837. /usr/share/httpd/icons/small/binhex.gif
    838. /usr/share/httpd/icons/small/binhex.png
    839. /usr/share/httpd/icons/small/blank.gif
    840. /usr/share/httpd/icons/small/blank.png
    841. /usr/share/httpd/icons/small/broken.gif
    842. /usr/share/httpd/icons/small/broken.png
    843. /usr/share/httpd/icons/small/burst.gif
    844. /usr/share/httpd/icons/small/burst.png
    845. /usr/share/httpd/icons/small/comp1.gif
    846. /usr/share/httpd/icons/small/comp1.png
    847. /usr/share/httpd/icons/small/comp2.gif
    848. /usr/share/httpd/icons/small/comp2.png
    849. /usr/share/httpd/icons/small/compressed.gif
    850. /usr/share/httpd/icons/small/compressed.png
    851. /usr/share/httpd/icons/small/continued.gif
    852. /usr/share/httpd/icons/small/continued.png
    853. /usr/share/httpd/icons/small/doc.gif
    854. /usr/share/httpd/icons/small/doc.png
    855. /usr/share/httpd/icons/small/folder.gif
    856. /usr/share/httpd/icons/small/folder.png
    857. /usr/share/httpd/icons/small/folder2.gif
    858. /usr/share/httpd/icons/small/folder2.png
    859. /usr/share/httpd/icons/small/forward.gif
    860. /usr/share/httpd/icons/small/forward.png
    861. /usr/share/httpd/icons/small/generic.gif
    862. /usr/share/httpd/icons/small/generic.png
    863. /usr/share/httpd/icons/small/generic2.gif
    864. /usr/share/httpd/icons/small/generic2.png
    865. /usr/share/httpd/icons/small/generic3.gif
    866. /usr/share/httpd/icons/small/generic3.png
    867. /usr/share/httpd/icons/small/image.gif
    868. /usr/share/httpd/icons/small/image.png
    869. /usr/share/httpd/icons/small/image2.gif
    870. /usr/share/httpd/icons/small/image2.png
    871. /usr/share/httpd/icons/small/index.gif
    872. /usr/share/httpd/icons/small/index.png
    873. /usr/share/httpd/icons/small/key.gif
    874. /usr/share/httpd/icons/small/key.png
    875. /usr/share/httpd/icons/small/movie.gif
    876. /usr/share/httpd/icons/small/movie.png
    877. /usr/share/httpd/icons/small/patch.gif
    878. /usr/share/httpd/icons/small/patch.png
    879. /usr/share/httpd/icons/small/ps.gif
    880. /usr/share/httpd/icons/small/ps.png
    881. /usr/share/httpd/icons/small/rainbow.gif
    882. /usr/share/httpd/icons/small/rainbow.png
    883. /usr/share/httpd/icons/small/sound.gif
    884. /usr/share/httpd/icons/small/sound.png
    885. /usr/share/httpd/icons/small/sound2.gif
    886. /usr/share/httpd/icons/small/sound2.png
    887. /usr/share/httpd/icons/small/tar.gif
    888. /usr/share/httpd/icons/small/tar.png
    889. /usr/share/httpd/icons/small/text.gif
    890. /usr/share/httpd/icons/small/text.png
    891. /usr/share/httpd/icons/small/transfer.gif
    892. /usr/share/httpd/icons/small/transfer.png
    893. /usr/share/httpd/icons/small/unknown.gif
    894. /usr/share/httpd/icons/small/unknown.png
    895. /usr/share/httpd/icons/small/uu.gif
    896. /usr/share/httpd/icons/small/uu.png
    897. /usr/share/httpd/icons/sound1.gif
    898. /usr/share/httpd/icons/sound1.png
    899. /usr/share/httpd/icons/sound2.gif
    900. /usr/share/httpd/icons/sound2.png
    901. /usr/share/httpd/icons/sphere1.gif
    902. /usr/share/httpd/icons/sphere1.png
    903. /usr/share/httpd/icons/sphere2.gif
    904. /usr/share/httpd/icons/sphere2.png
    905. /usr/share/httpd/icons/svg.png
    906. /usr/share/httpd/icons/tar.gif
    907. /usr/share/httpd/icons/tar.png
    908. /usr/share/httpd/icons/tex.gif
    909. /usr/share/httpd/icons/tex.png
    910. /usr/share/httpd/icons/text.gif
    911. /usr/share/httpd/icons/text.png
    912. /usr/share/httpd/icons/transfer.gif
    913. /usr/share/httpd/icons/transfer.png
    914. /usr/share/httpd/icons/unknown.gif
    915. /usr/share/httpd/icons/unknown.png
    916. /usr/share/httpd/icons/up.gif
    917. /usr/share/httpd/icons/up.png
    918. /usr/share/httpd/icons/uu.gif
    919. /usr/share/httpd/icons/uu.png
    920. /usr/share/httpd/icons/uuencoded.gif
    921. /usr/share/httpd/icons/uuencoded.png
    922. /usr/share/httpd/icons/world1.gif
    923. /usr/share/httpd/icons/world1.png
    924. /usr/share/httpd/icons/world2.gif
    925. /usr/share/httpd/icons/world2.png
    926. /usr/share/httpd/icons/xml.png
    927. /usr/share/httpd/noindex
    928. /usr/share/httpd/noindex/css
    929. /usr/share/httpd/noindex/css/bootstrap-theme.min.css
    930. /usr/share/httpd/noindex/css/bootstrap.min.css
    931. /usr/share/httpd/noindex/css/fonts
    932. /usr/share/httpd/noindex/css/fonts/Bold
    933. /usr/share/httpd/noindex/css/fonts/Bold/OpenSans-Bold.eot
    934. /usr/share/httpd/noindex/css/fonts/Bold/OpenSans-Bold.svg
    935. /usr/share/httpd/noindex/css/fonts/Bold/OpenSans-Bold.ttf
    936. /usr/share/httpd/noindex/css/fonts/Bold/OpenSans-Bold.woff
    937. /usr/share/httpd/noindex/css/fonts/BoldItalic
    938. /usr/share/httpd/noindex/css/fonts/BoldItalic/OpenSans-BoldItalic.eot
    939. /usr/share/httpd/noindex/css/fonts/BoldItalic/OpenSans-BoldItalic.svg
    940. /usr/share/httpd/noindex/css/fonts/BoldItalic/OpenSans-BoldItalic.ttf
    941. /usr/share/httpd/noindex/css/fonts/BoldItalic/OpenSans-BoldItalic.woff
    942. /usr/share/httpd/noindex/css/fonts/ExtraBold
    943. /usr/share/httpd/noindex/css/fonts/ExtraBold/OpenSans-ExtraBold.eot
    944. /usr/share/httpd/noindex/css/fonts/ExtraBold/OpenSans-ExtraBold.svg
    945. /usr/share/httpd/noindex/css/fonts/ExtraBold/OpenSans-ExtraBold.ttf
    946. /usr/share/httpd/noindex/css/fonts/ExtraBold/OpenSans-ExtraBold.woff
    947. /usr/share/httpd/noindex/css/fonts/ExtraBoldItalic
    948. /usr/share/httpd/noindex/css/fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.eot
    949. /usr/share/httpd/noindex/css/fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.svg
    950. /usr/share/httpd/noindex/css/fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.ttf
    951. /usr/share/httpd/noindex/css/fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.woff
    952. /usr/share/httpd/noindex/css/fonts/Italic
    953. /usr/share/httpd/noindex/css/fonts/Italic/OpenSans-Italic.eot
    954. /usr/share/httpd/noindex/css/fonts/Italic/OpenSans-Italic.svg
    955. /usr/share/httpd/noindex/css/fonts/Italic/OpenSans-Italic.ttf
    956. /usr/share/httpd/noindex/css/fonts/Italic/OpenSans-Italic.woff
    957. /usr/share/httpd/noindex/css/fonts/Light
    958. /usr/share/httpd/noindex/css/fonts/Light/OpenSans-Light.eot
    959. /usr/share/httpd/noindex/css/fonts/Light/OpenSans-Light.svg
    960. /usr/share/httpd/noindex/css/fonts/Light/OpenSans-Light.ttf
    961. /usr/share/httpd/noindex/css/fonts/Light/OpenSans-Light.woff
    962. /usr/share/httpd/noindex/css/fonts/LightItalic
    963. /usr/share/httpd/noindex/css/fonts/LightItalic/OpenSans-LightItalic.eot
    964. /usr/share/httpd/noindex/css/fonts/LightItalic/OpenSans-LightItalic.svg
    965. /usr/share/httpd/noindex/css/fonts/LightItalic/OpenSans-LightItalic.ttf
    966. /usr/share/httpd/noindex/css/fonts/LightItalic/OpenSans-LightItalic.woff
    967. /usr/share/httpd/noindex/css/fonts/Regular
    968. /usr/share/httpd/noindex/css/fonts/Regular/OpenSans-Regular.eot
    969. /usr/share/httpd/noindex/css/fonts/Regular/OpenSans-Regular.svg
    970. /usr/share/httpd/noindex/css/fonts/Regular/OpenSans-Regular.ttf
    971. /usr/share/httpd/noindex/css/fonts/Regular/OpenSans-Regular.woff
    972. /usr/share/httpd/noindex/css/fonts/Semibold
    973. /usr/share/httpd/noindex/css/fonts/Semibold/OpenSans-Semibold.eot
    974. /usr/share/httpd/noindex/css/fonts/Semibold/OpenSans-Semibold.svg
    975. /usr/share/httpd/noindex/css/fonts/Semibold/OpenSans-Semibold.ttf
    976. /usr/share/httpd/noindex/css/fonts/Semibold/OpenSans-Semibold.woff
    977. /usr/share/httpd/noindex/css/fonts/SemiboldItalic
    978. /usr/share/httpd/noindex/css/fonts/SemiboldItalic/OpenSans-SemiboldItalic.eot
    979. /usr/share/httpd/noindex/css/fonts/SemiboldItalic/OpenSans-SemiboldItalic.svg
    980. /usr/share/httpd/noindex/css/fonts/SemiboldItalic/OpenSans-SemiboldItalic.ttf
    981. /usr/share/httpd/noindex/css/fonts/SemiboldItalic/OpenSans-SemiboldItalic.woff
    982. /usr/share/httpd/noindex/css/open-sans.css
    983. /usr/share/httpd/noindex/images
    984. /usr/share/httpd/noindex/images/apache_pb.gif
    985. /usr/share/httpd/noindex/images/poweredby.png
    986. /usr/share/httpd/noindex/index.html
    987. /usr/share/man/man8/apachectl.8.gz
    988. /usr/share/man/man8/fcgistarter.8.gz
    989. /usr/share/man/man8/htcacheclean.8.gz
    990. /usr/share/man/man8/httpd.8.gz
    991. /usr/share/man/man8/rotatelogs.8.gz
    992. /usr/share/man/man8/suexec.8.gz
    993. /var/cache/httpd
    994. /var/cache/httpd/proxy
    995. /var/lib/dav
    996. /var/log/httpd
    997. /var/www
    998. /var/www/cgi-bin
    999. /var/www/html
    1000. [root@nginx01 ~]#

    日志切割

    1. [root@nginx01 ~]# ll /etc/logrotate.d/httpd
    2. -rw-r--r-- 1 root root 194 Nov 16 22:44 /etc/logrotate.d/httpd
    3. [root@nginx01 ~]# cat /etc/logrotate.d/httpd
    4. /var/log/httpd/*log {
    5. missingok
    6. notifempty
    7. sharedscripts
    8. delaycompress
    9. postrotate
    10. /bin/systemctl reload httpd.service > /dev/null 2>/dev/null || true
    11. endscript
    12. }
    13. [root@nginx01 ~]#
    1. useradd -r -u 80 -d /homne/apache -s /sbin/nologin apache
    1. Centos7的服务systemctl 脚本一般存放在:/usr/lib/systemd , 目录下又有usersystem之分
    2. /usr/lib/systemd/system # 系统服务,开机不需要登录就能运行的程序(相当于开机自启)
    3. /usr/lib/systemd/user # 用户服务,需要登录后才能运行的程序
    4. 目录下又存在两种类型的文件:
    5. *.service # 服务unit文件
    6. *.target # 开机级别unit
    7. CentOS7的每一个服务以.service结尾,一般会分为3部分:[Unit]、[Service]和[Install]
    1. [root@n9e ~]# cd /usr/lib/systemd/system
    2. [root@n9e system]# pwd
    3. /usr/lib/systemd/system
    4. [root@n9e system]#
    1. [root@n9e ~]# cd /usr/lib/systemd/system
    2. [root@n9e system]# pwd
    3. /usr/lib/systemd/system
    4. [root@n9e system]# ls
    5. arp-ethers.service
    6. auditd.service
    7. autovt@.service
    8. basic.target
    9. basic.target.wants
    10. blk-availability.service
    11. bluetooth.target
    12. brandbot.path
    13. brandbot.service
    14. console-getty.service
    15. console-shell.service
    16. container-getty@.service
    17. cpupower.service
    18. crond.service
    19. cryptsetup-pre.target
    20. cryptsetup.target
    21. dbus-org.freedesktop.hostname1.service
    22. dbus-org.freedesktop.import1.service
    23. dbus-org.freedesktop.locale1.service
    24. dbus-org.freedesktop.login1.service
    25. dbus-org.freedesktop.machine1.service
    26. dbus-org.freedesktop.timedate1.service
    27. dbus.service
    28. dbus.socket
    29. dbus.target.wants
    30. debug-shell.service
    31. default.target
    32. default.target.wants
    33. dev-hugepages.mount
    34. dev-mqueue.mount
    35. dm-event.service
    36. dm-event.socket
    37. docker-cleanup.service
    38. docker-cleanup.timer
    39. docker.service
    40. docker-storage-setup.service
    41. dracut-cmdline.service
    42. dracut-initqueue.service
    43. dracut-mount.service
    44. dracut-pre-mount.service
    45. dracut-pre-pivot.service
    46. dracut-pre-trigger.service
    47. dracut-pre-udev.service
    48. dracut-shutdown.service
    49. ebtables.service
    50. emergency.service
    51. emergency.target
    52. final.target
    53. firewalld.service
    54. fstrim.service
    55. fstrim.timer
    56. getty@.service
    57. getty.target
    58. graphical.target
    59. graphical.target.wants
    60. halt-local.service
    61. halt.target
    62. halt.target.wants
    63. hibernate.target
    64. hybrid-sleep.target
    65. initrd-cleanup.service
    66. initrd-fs.target
    67. initrd-parse-etc.service
    68. initrd-root-fs.target
    69. initrd-switch-root.service
    70. initrd-switch-root.target
    71. initrd-switch-root.target.wants
    72. initrd.target
    73. initrd.target.wants
    74. initrd-udevadm-cleanup-db.service
    75. iprdump.service
    76. iprinit.service
    77. iprupdate.service
    78. iprutils.target
    79. irqbalance.service
    80. kdump.service
    81. kexec.target
    82. kexec.target.wants
    83. kmod-static-nodes.service
    84. local-fs-pre.target
    85. local-fs.target
    86. local-fs.target.wants
    87. lvm2-lvmetad.service
    88. lvm2-lvmetad.socket
    89. lvm2-lvmpolld.service
    90. lvm2-lvmpolld.socket
    91. lvm2-monitor.service
    92. lvm2-pvscan@.service
    93. machine.slice
    94. machines.target
    95. mariadb.service
    96. messagebus.service
    97. microcode.service
    98. multi-user.target
    99. multi-user.target.wants
    100. NetworkManager-dispatcher.service
    101. NetworkManager.service
    102. NetworkManager-wait-online.service
    103. network-online.target
    104. network-online.target.wants
    105. network-pre.target
    106. network.target
    107. nginx.service
    108. nginx.service.d
    109. nscd.service
    110. nscd.socket
    111. nss-lookup.target
    112. nss-user-lookup.target
    113. paths.target
    114. php-fpm.service
    115. plymouth-halt.service
    116. plymouth-kexec.service
    117. plymouth-poweroff.service
    118. plymouth-quit.service
    119. plymouth-quit-wait.service
    120. plymouth-read-write.service
    121. plymouth-reboot.service
    122. plymouth-start.service
    123. plymouth-switch-root.service
    124. polkit.service
    125. postfix.service
    126. poweroff.target
    127. poweroff.target.wants
    128. printer.target
    129. proc-sys-fs-binfmt_misc.automount
    130. proc-sys-fs-binfmt_misc.mount
    131. quotaon.service
    132. radiusd.service
    133. rc-local.service
    134. rdisc.service
    135. reboot.target
    136. reboot.target.wants
    137. redis-sentinel.service
    138. redis.service
    139. registries.service
    140. remote-fs-pre.target
    141. remote-fs.target
    142. rescue.service
    143. rescue.target
    144. rescue.target.wants
    145. rhel-autorelabel-mark.service
    146. rhel-autorelabel.service
    147. rhel-configure.service
    148. rhel-dmesg.service
    149. rhel-domainname.service
    150. rhel-import-state.service
    151. rhel-loadmodules.service
    152. rhel-readonly.service
    153. rhsmcertd.service
    154. rhsm-facts.service
    155. rhsm.service
    156. rpcbind.target
    157. rsyncd.service
    158. rsyncd@.service
    159. rsyncd.socket
    160. rsyslog.service
    161. runlevel0.target
    162. runlevel1.target
    163. runlevel1.target.wants
    164. runlevel2.target
    165. runlevel2.target.wants
    166. runlevel3.target
    167. runlevel3.target.wants
    168. runlevel4.target
    169. runlevel4.target.wants
    170. runlevel5.target
    171. runlevel5.target.wants
    172. runlevel6.target
    173. selinux-policy-migrate-local-changes@.service
    174. serial-getty@.service
    175. shutdown.target
    176. shutdown.target.wants
    177. sigpwr.target
    178. sleep.target
    179. -.slice
    180. slices.target
    181. smartcard.target
    182. sockets.target
    183. sockets.target.wants
    184. sound.target
    185. sshd-keygen.service
    186. sshd.service
    187. sshd@.service
    188. sshd.socket
    189. suspend.target
    190. svnserve.service
    191. swap.target
    192. sys-fs-fuse-connections.mount
    193. sysinit.target
    194. sysinit.target.wants
    195. sys-kernel-config.mount
    196. sys-kernel-debug.mount
    197. syslog.socket
    198. syslog.target.wants
    199. systemd-ask-password-console.path
    200. systemd-ask-password-console.service
    201. systemd-ask-password-plymouth.path
    202. systemd-ask-password-plymouth.service
    203. systemd-ask-password-wall.path
    204. systemd-ask-password-wall.service
    205. systemd-backlight@.service
    206. systemd-binfmt.service
    207. systemd-bootchart.service
    208. systemd-firstboot.service
    209. systemd-fsck-root.service
    210. systemd-fsck@.service
    211. systemd-halt.service
    212. systemd-hibernate-resume@.service
    213. systemd-hibernate.service
    214. systemd-hostnamed.service
    215. systemd-hwdb-update.service
    216. systemd-hybrid-sleep.service
    217. systemd-importd.service
    218. systemd-initctl.service
    219. systemd-initctl.socket
    220. systemd-journal-catalog-update.service
    221. systemd-journald.service
    222. systemd-journald.socket
    223. systemd-journal-flush.service
    224. systemd-kexec.service
    225. systemd-localed.service
    226. systemd-logind.service
    227. systemd-machined.service
    228. systemd-machine-id-commit.service
    229. systemd-modules-load.service
    230. systemd-nspawn@.service
    231. systemd-poweroff.service
    232. systemd-quotacheck.service
    233. systemd-random-seed.service
    234. systemd-readahead-collect.service
    235. systemd-readahead-done.service
    236. systemd-readahead-done.timer
    237. systemd-readahead-drop.service
    238. systemd-readahead-replay.service
    239. systemd-reboot.service
    240. systemd-remount-fs.service
    241. systemd-rfkill@.service
    242. systemd-shutdownd.service
    243. systemd-shutdownd.socket
    244. systemd-suspend.service
    245. systemd-sysctl.service
    246. systemd-timedated.service
    247. systemd-tmpfiles-clean.service
    248. systemd-tmpfiles-clean.timer
    249. systemd-tmpfiles-setup-dev.service
    250. systemd-tmpfiles-setup.service
    251. systemd-udevd-control.socket
    252. systemd-udevd-kernel.socket
    253. systemd-udevd.service
    254. systemd-udev-settle.service
    255. systemd-udev-trigger.service
    256. systemd-update-done.service
    257. systemd-update-utmp-runlevel.service
    258. systemd-update-utmp.service
    259. systemd-user-sessions.service
    260. systemd-vconsole-setup.service
    261. system.slice
    262. system-update.target
    263. tcsd.service
    264. teamd@.service
    265. timers.target
    266. timers.target.wants
    267. time-sync.target
    268. tmp.mount
    269. tuned.service
    270. umount.target
    271. user.slice
    272. vgauthd.service
    273. vmtoolsd.service
    274. wpa_supplicant.service
    275. [root@n9e system]#
    1. [root@n9e system]# pwd
    2. /usr/lib/systemd/system
    3. [root@n9e system]# ll /usr/lib/systemd/system/nginx.service.d/
    4. total 0
    5. [root@n9e system]#
    1. [root@n9e system]# ls -l |grep nginx
    2. -rw-r--r-- 1 root root 618 Jun 8 00:29 nginx.service
    3. drwxr-xr-x 2 root root 6 Jun 8 00:30 nginx.service.d
    4. [root@n9e system]# ll nginx.service.d/
    5. total 0
    6. [root@n9e system]# cat nginx.service
    7. [Unit]
    8. Description=The nginx HTTP and reverse proxy server
    9. After=network.target remote-fs.target nss-lookup.target
    10. [Service]
    11. Type=forking
    12. PIDFile=/run/nginx.pid
    13. # Nginx will fail to start if /run/nginx.pid already exists but has the wrong
    14. # SELinux context. This might happen when running `nginx -t` from the cmdline.
    15. # https://bugzilla.redhat.com/show_bug.cgi?id=1268621
    16. ExecStartPre=/usr/bin/rm -f /run/nginx.pid
    17. ExecStartPre=/usr/sbin/nginx -t
    18. ExecStart=/usr/sbin/nginx
    19. ExecReload=/bin/kill -s HUP $MAINPID
    20. KillSignal=SIGQUIT
    21. TimeoutStopSec=5
    22. KillMode=process
    23. PrivateTmp=true
    24. [Install]
    25. WantedBy=multi-user.target
    26. [root@n9e system]#
    1. [root@n9e system]# pwd
    2. /usr/lib/systemd/system
    3. [root@n9e system]# ls -l |grep httpd
    4. -rw-r--r-- 1 root root 752 Nov 16 22:44 httpd.service
    5. [root@n9e system]# cat httpd.service
    6. [Unit]
    7. Description=The Apache HTTP Server
    8. After=network.target remote-fs.target nss-lookup.target
    9. Documentation=man:httpd(8)
    10. Documentation=man:apachectl(8)
    11. [Service]
    12. Type=notify
    13. EnvironmentFile=/etc/sysconfig/httpd
    14. ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND
    15. ExecReload=/usr/sbin/httpd $OPTIONS -k graceful
    16. ExecStop=/bin/kill -WINCH ${MAINPID}
    17. # We want systemd to give httpd some time to finish gracefully, but still want
    18. # it to kill httpd after TimeoutStopSec if something went wrong during the
    19. # graceful stop. Normally, Systemd sends SIGTERM signal right after the
    20. # ExecStop, which would kill httpd. We are sending useless SIGCONT here to give
    21. # httpd time to finish.
    22. KillSignal=SIGCONT
    23. PrivateTmp=true
    24. [Install]
    25. WantedBy=multi-user.target
    26. [root@n9e system]#

    https://www.cnblogs.com/liujunjun/p/12036149.html

    1. [root@localhost system]# cd /usr/lib/systemd/system
    2. [root@localhost system]# cat httpd.service
    3. [Unit] # 主要是服务说明
    4. Description=The Apache HTTP Server # 简单描述服务
    5. After=network.target remote-fs.target nss-lookup.target # 描述服务类别,表示本服务需要在network服务启动后在启动
    6. Documentation=man:httpd(8)
    7. Documentation=man:apachectl(8)
    8. [Service]
    9. Type=notify # 核心区域
    10. EnvironmentFile=/etc/sysconfig/httpd 指定配置文件,和连词号组合使用,可以避免配置文件不存在的异常。
    11. ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND # 启动服务时执行的命令
    12. ExecReload=/usr/sbin/httpd $OPTIONS -k graceful # 重启服务时执行的命令
    13. ExecStop=/bin/kill -WINCH ${MAINPID} # 停止服务时执行的命令
    14. # We want systemd to give httpd some time to finish gracefully, but still want
    15. # it to kill httpd after TimeoutStopSec if something went wrong during the
    16. # graceful stop. Normally, Systemd sends SIGTERM signal right after the
    17. # ExecStop, which would kill httpd. We are sending useless SIGCONT here to give
    18. # httpd time to finish.
    19. KillSignal=SIGCONT
    20. PrivateTmp=true # 表示给服务分配独立的临时空间
    21. [Install]
    22. WantedBy=multi-user.target # 多用户

    find /var/log/ -type f -name .*.log -mtime 30|xargs rm -f
    awk ‘{array[$1]++}END{for (ip in array)print ip,array[ip]}’ access.log |sort -k2 -rn|head

    编写

    1. groupadd -g 400 apache
    2. useradd -u 400 -g 400 -d /usr/share/httpd -s /sbin/nologin -m -G apache apache
    3. mdkir -p /app
    4. mkdir -p /applog/apache/logs
    5. chown -R apache:apache /applog/apache/logs
    6. cat >> /etc/profile << EOF
    7. export PATH=$PATH:/app/apache/apache/bin
    8. EOF
    9. /app/apache/apache/bin/apachectl -k start
    10. [Unit]
    11. Description=The Apache HTTP Server
    12. After=network.target remote-fs.target nss-lookup.target
    13. Documentation=man:httpd(8)
    14. Documentation=man:apachectl(8)
    15. [Service]
    16. Type=notify
    17. EnvironmentFile=/etc/sysconfig/httpd
    18. ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND
    19. ExecReload=/usr/sbin/httpd $OPTIONS -k graceful
    20. ExecStop=/bin/kill -WINCH ${MAINPID}
    21. KillSignal=SIGCONT
    22. PrivateTmp=true
    23. [Install]
    24. WantedBy=multi-user.target
    25. [root@n9e system]#