Home > Article > Operation and Maintenance > How to set up a file server in Linux system
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.
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
## 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!