此内容没有您所选择的语言版本。

A.2. Configuring Shared Storage


To set up the shared file system resource, perform the following tasks as root on one cluster system:
  1. On one cluster node, use the interactive parted utility to create a partition to use for the document root directory. Note that it is possible to create multiple document root directories on different disk partitions.
  2. Use the mkfs command to create an ext3 file system on the partition you created in the previous step. Specify the drive letter and the partition number. For example:
    # mkfs -t ext3 /dev/sde3
  3. Mount the file system that contains the document root directory. For example:
    # mount /dev/sde3 /var/www/html
    Do not add this mount information to the /etc/fstab file because only the cluster software can mount and unmount file systems used in a service.
  4. Copy all the required files to the document root directory.
  5. If you have CGI files or other files that must be in different directories or in separate partitions, repeat these steps, as needed.
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.