Home > php教程 > PHP开发 > body text

PHP server configuration loading hard disk

巴扎黑
Release: 2016-11-07 16:25:33
Original
1583 people have browsed it

PHP server configuration to load the hard disk

1. Change the password

passwd

PHP server configuration loading hard disk

2. Test whether the password is successful

3. View the hard disk information

fdisk –l

PHP server configuration loading hard disk

4. Format Partition

fdisk /dev/vdb


PHP server configuration loading hard disk

5. View partition

PHP server configuration loading hard disk

6. Quickly format /dev/vdb1 to ext4 format

mkfs.ext4 /dev/vdb1

PHP server configuration loading hard disk

7. Load the partition to /opt

mount –t ext4 /dev/vdb1 /opt

PHP server configuration loading hard disk

8. Configure the partition to automatically load the file /etc/fstab

PHP server configuration loading hard disk

mount –a If not thrown If an exception occurs, the configuration file has no errors; restart the server and the hard disk can be automatically loaded.

In summary, you can start using the server.


Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template