Home  >  Article  >  Operation and Maintenance  >  How to set up a file server in Linux system

How to set up a file server in Linux system

(*-*)浩
(*-*)浩Original
2019-05-24 15:41:4514010browse

How to build a file server in Linux system: 1. Execute the [yum install httpd] command to install httpd; 2. Enable the httpd service; 3. Enter the default homepage location and create files; 4. Access the file in the browser Server; 5. Edit the configuration file.

How to set up a file server in Linux system

At a team or company level, it is necessary to create a local file server and download online resources to the local area. This will save other people a lot of download time.

There are many ways to build a file server. Here is httpd

The first step is to install

yum install httpd
httpd -version

The second step, start the service

service httpd start

The third step, find the default homepage location

cd /var/www/html/

The fourth step, create a folder, File

mkdir ltt
vi test.txt

The fifth step is to access the file server in the browser. The default port is 80

How to set up a file server in Linux system

## Step six, related configuration

vi /etc/httpd/conf/httpd.conf

The above is the detailed content of How to set up a file server in Linux system. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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