Posts

Showing posts with the label http

Slackware web install.

Image
What operating system do you put on a legacy Pentium one computer. Let's see Mac os/x will not work. None of the latest Microsoft offerings of 8, 9, or 10 will work. Most linux major linux versions need at least a Pentium II. Enter Slackware 14. You can install it on a Pentium I thereby keeping lots of older computers viable a while longer. They would be good starter computers as a stop gap to keep a IT budget in line.  One thing that should mentioned is Slackware can go on a variety of systems including the Raspberry Pi and is definitely not limited to older systems. Traditionally to install an operating system, you need a cd/dvdrom or a boatload of floppy disks and a hard disk for the operating system to be installed on for each system. We used a compact flash with an ide to compact flash adaptor for the hard drive. We also wanted to avoid all the making of media, though we did need to make a minimal floppy disk to get the  install started. On floppy cou...

Http based Linux install starter.

Image
Linux Debian is kind of taking of the reigns of being one of the most popular linux distros. Like installing any operating system the traditional way, you can run into roadblocks.  For example, you may not be able to burn a linux cd, the machine you want to load linux on has a broken cd/dvd rom, or a host of other reasons. What we are about to do is what is known as pxeboot networking. Another words we will use a web server to get us started with a linux install on a system. Traditionally you actually had to have several servers to do the network install. You had to modify a Dhcp (Ipaddress servers) server,  a Tftp (boot files) server, and among other systems which general required a lot of setup and the blessing of the system administrator, Tried this with the python web server, but you have to have all the files in one directory from what I could see.  I just did not want to take the time to do it. $ python -m SimpleHTTPServer I went ahead and used the Apache...

Text based web server.

Image
A little http web server to play with. Might be perfect for an embedded system. What the http client looks like,  $ elinks http://localhost:10000 Update: Using graphics via Firefox: What the server side looks like. $ ./httpsrvr Server started at port no. 10000 with root directory as /home/eddie GET / HTTP/1.1 Host: localhost:10000 User-Agent: ELinks/0.12~pre5-7ubuntu1 (textmode; Ubuntu; Linux 3.2.0-30-generic i686; 80x24-2) Accept: */* Accept-Language: en Connection: Keep-Alive  file: /home/eddie/index.html With graphics:  $ code/httpsrvr Server started at port no. 10000 with root directory as /home/eddie GET / HTTP/1.1 Host: localhost:10000 User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:32.0) Gecko/20100101 Firefox/32.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate DNT: 1 Connection: keep-alive file: /home/eddie/index.html GET /test...