How to create a simple Shared Server in Linux
Open a terminal, cd it to a directory, and enter "python-m SimpleHTTPServer" to share the content in the current directory, as shown below: www.2cto.com [cpp] long @ long-Ubuntu :~ $ Cd VideoSpace/long @ long-Ubuntu :~ /VideoSpace $ python-m SimpleHTTPServer Serving HTTP on 0.0.0.0 port 8000... in this case, you can open this directory using a browser in the LAN (enter IP Address: 8000 in the URL bar) to download the content.
For example, if the IP address of our current machine is 192.168.2.240, then I can use 192.168.2.240: 8000 to access OK on another machine. We can click here to download it! Of course, if we are all Linux systems, we don't have to worry about it. We just need to copy scp directly, but we want to share things with Windows on Linux. This method is very sharp! OK. Let's click a download, which is displayed on the server! But there is a problem with Chinese display ...... You can't see what it is!
The server can be shut down after Ctrl + C is disconnected!