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

How to set up a file server in Linux system

(*-*)浩
Release: 2020-09-17 14:38:39
Original
14066 people have browsed it

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
Copy after login

The second step, start the service

service httpd start
Copy after login

The third step, find the default homepage location

cd /var/www/html/
Copy after login

The fourth step, create a folder, File

mkdir ltt
vi test.txt
Copy after login

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
Copy after login

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!

Related labels:
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 Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template