· Experts Exchange > Questions > Windows NT 4 Workstation VMWare image - Ethernet Adapter. Windows NT, you can enable it. Windows NT 4. 0 Archives - Fun with virtualization. Fun with virtualization. Long before websites, during the dark ages of the BBS, on the internet there was (well it’s still there!) a distributed messaging system called usenet. There are countless topics on just about everything that was full of all kinds of incredible conversations. Before the walled gardens, and the ease of running individual bulletin boards, the internet had prided itself on having one big global distributed messaging system. It was a big system, and one thing that was always taken for granted was that it was too big to save, and that whatever you put out there would probably be erased as all sites had a finite amount of very expensive disk space, and they would only keep recent articles. ![]() But it turns out that in the University of Toronto, in the zoology department they had a tape budget, and were in fact archiving everything they could. In all they had amassed 1. February 1. 98. 1 (though these are not Usenet posts, just internal netnews University stuff) all the way up to about midnight of July 0. While the archive was made available to a few people in 2. I downloaded a copy of it. There is some interesting backstory over on Dogcow land, as it took quite a bit of effort to get the data from the tapes, and then slowly released out into the wild. As mentioned on the archive. ![]() This is a collection of . TGZ files of very early USENET posted data provided by a number of driven and brave individuals, including David Wiseman, Henry Spencer, Lance Bailey, Bruce Jones, Bob Webber, Brewster Kahle, and Sue Thielen. OK, so back a few months ago, I had setup Alta. Vista personal desktop search along with the UTZOO usenet archive for the purpose of using something more sophisticated than grep, but maintaining that legacy/retro feel us using outdated technology. To recap the first challenge is that the desktop search product, is only meant to be used from the desktop of a Windows 9. NT 4. 0 workstation. It uses a super ancient version of JAVA as the webserver, and they chose to bind it to 1. So the first thing to get around that was to build a stunnel tunnel allowing me to effectively connect to the webserver remotely. And since the server assumes it’s locally I had to use Apache with mod_rewrite to setup some simple regex expressions to massage the pages into something that would be usable from a non local machine. So with that word salad up, let’s have a brief picture! Flow diagram. On my ‘general’ hosting machine, I use haproxy to reverse proxy out multiple sites out the single address. This is a super simple solution that allows me to have all kinds of different backends using various hosting platforms, such as Apache 1. Windows NT 3. 1. So for this to work I just needed to create an altavista. DNS record, and then the following in the haproxy config: frontend named- hostsbind 1. So as you can see it’s really simple it looks for the string ‘altavista. Debian server, aptly named debian. The next thing to do was generate a SSL self signed cert, which wasn’t too hard. The stunnel installer has a profile ready to go, so it was only a matter of finding a version of Open. SSL that’ll run on NT 4. As this isn’t public encryption I really don’t care about it using crap certs. On the Debian server is where all the regex magic, is along with the stunnel client to connect to the NT 4. Workstation. client = yesdebug = 0cert = /etc/stunnel/stunnel. Likewise on NT stunnel will need a config like this: cert = c: \stunnel\stunnel. Some performance tuningssocket = l: TCP_NODELAY=1socket = r: TCP_NODELAY=1; Some debugging stuff useful for troubleshootingdebug = 0output = c: \stunnel\stunnel. With the ability for the Debian box to talk to the Alta. Vista web server, it was now time to configure Apache. This is the most involved part, as the html formatting by Alta. Vista personal search is hard coded into the java binary. However thanks to mod_rewrite we can modify the page on the fly! So the first thing is that I setup to virtual directories, the first one /altavista maps to the search engine, and then I added /usenet which then talks to IIS 4. Windows NT 4. 0 workstation, which is just allowing read & browse to the usenet files that will need to be indexed.#This part connect to a stunnel connection to the Altavista server. Proxy. Pass “/altavista” “http: //localhost: 8. Proxy. Pass. Reverse “/altavista” “http: //localhost: 8. This connects to IIS 4. NT 4. 0 machine. Proxy. Pass “/usenet” “http: //1. Proxy. Pass. Reverse “/usenet” “http: //1. Proxy. Requests Off. Rewrite. Engine On. Because we mounted it on a sub directory we need to redirect the root to /altavista so I simply add: #Redirect the root to the /altavista path.#Redirect. Match 3. 01 ^/$ /altavista. To get the images to work, along with fixing the 1. I copied them from the NT workstation onto the Apache server, then added this regex statement: #clean up urls. Substitute “s|Copyright 1. Copyright 2. 01. 7|n”Substitute “s|1. Substitute “s|file: ///c: \Program Files\DIGITAL\Alta. Vista Search\My Computer\images\|/images/|n”And now the site is starting to work. The most involved regex is to change the links from local text files, into a path to point to the usenet shares. This changes the text for u: \usenet\a. URL. Substitute “s|> u: \\\\usenet.([a- z]{1,}[0- 9]{3,})\\\([0- 9a- z\+\- ]{1,})\\\([0- 9]{1,})|—> < a href=\”http: //utzoo. Click for article|“Naturally there is a LOT of these type of statements to match various depths, and pattern types as there is A news, B news and C news archives, plus scavenged bits. Additionally I disabled a bunch of URL’s that would either try to alter the way the engine works, or allow the search location to change, just giving you empty results, along with altering some of the branding, as digital. The finished config file for Apache is here. Now with that in place, I can hit my personal Alta. Vista search. The next insane thing was to rename all the files from the UTZOO dump adding a . MS- DOS CR/LF format. I found using ‘find - type f’ to find files, and then a simple exec to rename them into a . Then it was only a matter of using ZIP to compress the archives, and then transferring them to Windows NT, and running UNZIP on them with the - a flag to convert them into CR/LF ASCII files on Windows. This took a tremendous amount of time as there are about 2. Now with the files on Windows, now I had to run the indexer. Indexed in under 7 hours! While I had originally had an IIS 4. NT 4. 0 Workstation serving up the result files, I thought it may make more sense to just serve them from the UTZOO mirror server I have in the same collocation so it’d be much faster, so that way only the queries are relying on servers in Hong Kong, instead of being 1. United States. So here we go, my search portal for all that ancient usenet goodness: altavista. If you are hoping for the wealth of knowledge to be gained from people posting on usenet from 1. Keep in mind that usenet being usenet, there is discussions on everyone and everything, and like all other forums before you know it it’ll end with calling people Hitler, and how the Amiga is the greatest computer ever (well it was!). A tip when searching by year, is that people commonly wrote the year as 2 digits. However when looking for numbers like, say Battletech 3. To prevent this just add - 3. Bladerunner from 1. If you have any questions, there is of course the manual with a guid on how to search. While the story of Alta. Vista is somewhat interesting, but much like how Digitial screwed up the Alpha market by trying to hoard high end designs, they also didn’t set the search people free to focus on search. And the intranet stuff was crazy expensive, look at this ad from 1. USD a year to run a single search engine! But as we all know, the distributed model of google won search and Alta. Vista never had a chance as it was caught up in the Compaq/HP mess then spun out to be quickly absorbed by Yahoo. Meanwhile it appears the original owners of altavista.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
November 2017
Categories |