 This month on film so I Chris we're looking at networks and servers Although I'm going to go over everything I talked about in this video in more detail in future videos This first video is just to give you a taste and go over some basic tools We're going to be using in the coming weeks, so we're going to be looking at setting up web servers now If you're going to be really setting up a web server, I suggest using something like Apache That's why I normally use it, but there's a bunch of other web servers out there But there are some tools that are probably already on your system that will let you set up a simple web server Quick and easy regardless of what version of Linux you're running I'm going to talk about three tools a day, and they're on almost every Linux system out there Two of them will probably be on even small things like routers and other small devices So first let's look at HTTP D from busy box Busy box is a great tool that is on every version of Linux you'll come across Including Android phones routers and even you know if you can get into the Console on something like a TV or other type of device Chances are busy box is going to be there and it's going to be a shell It's going to be being used now although busy box can be compiled with different components If you have a full version of busy box It has a bunch of built-in tools tools that you're used to having in the shell all built Already into busy box What you need to do is first open up your shell and type in busy box This will give you a list of all commands that are available for your version of busy box And if you're lucky somewhere on that list, which is alphabetical You should find one that says HTTP D if that's available Then you're all set for setting up a web server. All you have to do now is type in busy box HTTP D Space dash P and the port number you want to start a web server on This is the very basic function here And although there are some restrictions on many systems as far as what ports you can use if you're not root user If you're a standard user you should be able to use Many of the higher ports that are available. So you can type this command out and right away it will turn the Folder that you're in into the main folder at the root folder for your web server Now be advised. This is not going to be creating a directory list for you It's not going to be giving you a list of all the files and folders in that directory but if you Type in the name of the file in the URL you can guide yourself to it And of course if you guide yourself to an html file it will display that web file just like any other web server There are many other functions of this HTTP D in busy box, but we'll go over that in a future video Next up is Python Python comes with a built-in Options for a very simple web server the command is as you can see at the bottom of the screen here for basic functionality and Unlike the HTTP D in busy box. This will generate a directory list for you So if you quickly want to share files and folders From your computer as a web server and offer up HTML files as a web server You can use Python with this command and it will start up in the current directory and you can access it By going into your web browser typing in your IP address and the port number that you started on it has other functionality It will look at in the future video, but this is another great option and although lighter systems such as routers and phones may not have Python built-in by default pretty much every laptop and desktop Linux system will most likely have Python installed already Lastly is a tool that is known as the networking Swiss Army knife netcat also known as and see Now netcat is a networking Swiss Army knife of tools for network use and can do Crazy things if you know what commands to use it can also be used as a very very basic HTML server web server for loading up files now It's definitely not nearly as powerful as the two that I previously talked about But in a pinch you can use netcat to serve up files and HTML files Images and other stuff to a web browser It's very very basic, but can be very useful and although you may not have a full version of netcat already installed on your system Chances are as I said earlier you have busybox built-in and Busybox in many cases will have netcat built into it and although it's a slim down version of netcat You will still have netcat available. So again on smaller devices that have busybox installed as their main shell as Routers or phones and other devices netcat is available and to serve up a simple HTML file you can serve it up using this command here and again We'll look at that a little bit more in the future and how to make it a little more advanced and allow Multiple connections because this particular command right here once connected netcat will Finish out and you won't be able to connect again So it's like a one-time service unless you put it into a loop of some sort So be looking at that more in coming weeks So again these are basic options for setting up some very basic web servers And although they are not full featured web servers such as Apache They have many uses and chances are they are already on your Linux system. So I thank you for watching I hope you subscribe so you don't miss the future videos and as always I hope that you have a great day, and I hope that you visit films by chris comm That's chris the cake. There should be a link in the description and as always have a great day