Wednesday, June 17, 2009

Sharepoint Server 2007 on Server 2008

I love MSDN. I recently attained a copy of Server 2008 and Sharepoint Server 2007 from MSDN, and have installed them both on one of my computers. Initially, there were several problems getting the default ISO to install, due to compatability issues. Server 2008 (which was apparently designed to give helpful but useless information for EVERYTHING you do) automatically pops up and informs you that it is not able to install Sharepoint because of compatability issues. A quick google search turned up this page, which gives a very useful step by step on how to solve the problem. The installation and configuration of Sharepoint takes a rather large chunk of time. Once you are done "installing" Sharepoint, you have to (at some point) run the configuration wizard, shown below.

Now, to run sharepoint, you need to have IIS enabled. I already did have IIS installed and enabled, so that I could run Remote Apps on my terminal server. (That is another story.) However, this brings me to my next point, which is that Sharepoint does not integrate very smoothly with any existing web sites or web applications. Below is a picture of IIS after sharepoint has been installed. You will notice that the web site that I had previously set up (For my Remote App website) was immediately disabled to open the port for SharePoint. I switched to a different port for my TS website, and everything worked again. Now SharePoint is up and running with the default configuration.


As usual, the default configuration is not enough to make me happy. The SharePoint Server runs great on the internal network, by entering http://computername/ but thats kind of pointless to me. If I was a large company, this might be enough to satisfy me, but to me its quite worthless. I want to be able to access my files from any web browser, anywhere. Technically, since I run Hamachi on all of my computers (and portably from my USB stick) I could do a rather ingenious workaround. I could bind the websites to my Hamachi 5.x.x.x IP (and hope nothing broke.. shouldn't be a problem) and access the files "from the Internet" that way. However, that wouldn't be the elegant, flawless solution I am looking for. Fortunately, SharePoint allows you to configure mappings for external access. Go to your Central Admin Page. (Check your start menu for a shortcut, or check IIS for the port and manually enter it into the browser.) From the main page (shown below), there is a list of common startup tasks that need to be done.

Go to Application Management -> Create or Extend Web Application -> Extend an existing web application. Once you enter that page, you will need to select an existing web application. Select the one that is already mapped to port 80. Next, type out a description for your site. Type your external URL into the host header, and copy-paste that into the URL section at the bottom of the page. Finally, change the zone to Internet. Done!

To check your settings, go to Operations -> Alternate Access Mappings. You should see your URL listed.

One last thing that should be done is to configure Excel Services. Excel Services determines how xlsx files are handled when they are opened in a web browser. Excel Services can be managed from Shared Services. Open Excel Services Trusted File Locations. Most of the options are self-explanatory.

That should have all of the basic options configured for your Sharepoint Server! Next time a slightly more in-depth tutorial will be covered.

Saturday, June 13, 2009

Freemind, Apache, IIS 7.0

Recently, I moved my website away from Apache running on Windows XP Professional, to a slightly higher powered Windows Server 2008, using IIS 7.0. Unfortunately, the switch to IIS 7.0 was not an easy one in the least. Apache was a little difficult to pick up originally, but at least almost ALL of the configurations were stored in a central text file that could be easily edited, and was highly configurable. As well, you installed Apache, (and PHP 5) added extensions in the httpd file, repointed the home directory, and a few other minor configurations (.htaccess for example) and it just worked. With IIS 7.0, that is another story. Attached is a picture of the error I get whenever I try and load a mindmap.

If anyone knows what the problem is, feel free to comment. This next picture is how the Mindmap is supposed to look.
In IIS 7.0, I added a MIME type for .mm files "application/freemind" (I think), which had no effect as well. When I edit the .html file to point to the mindmap as a local path, and open the mindmap on the local machine, everything works fine.

In the end, I was forced to install Apache and IIS 7.0 on the same machine, and use Apache for that site, and IIS 7.0 for my sharepoint site.

I am hoping that in the near future mindmaps will be able to be edited entirely online. This will allow for easy viewing and editing from any web browser, using the power of Java. I am currently looking into publishing Freemind on my Remote Apps Terminal server, which will allow me to connect via a web browser, run the remote app, edit the map, and save it again. Certainly not the ideal solution, but it is a solution that works.

Thursday, June 11, 2009

MCSA - 70-290

Yesterday I headed back to my old school, Davenport, and took the 70-290 exam, Managing and Maintaining a Windows Server 2003 Environment. I took it now for two main reasons. 1) The second chance option is available. If I fail it the first time, I get a second chance. 2) The exam was on sale, which brought the price down to 90 dollars. As it turns out, I didn't need to worry at all. Unfortunately, the 70-290 exam was very easy. Many of the questions were very basic, and did not go in depth at all. As well, there were only 44 questions on the exam. The simulations were better, they at least covered multiple areas, and simulated real life problems, yet even so, they were not very difficult either. The required score to pass was a 700. I got 880, and finished quite quickly. I will start studying for my 70-291 exam (which promises to be a bit more difficult) starting next week.
My next exam will most likely be the Vista client exam. I believe that combined with the Security+ exam, I will have MCSA 2003:Security status.
Next, I will either continue on to get my MCSE for 2003, my Network+ and A+ certifications, or attack my CCNA certification.

Wednesday, May 20, 2009

WolframAlpha Overview and Tutorial

The new "search engine" WolframAlpha.com is live, and it is awesome. However, there are several conditions I must make to that statement. First, I say "search engine" loosely, as essentially it is a data aggregation, evaluation, computation, and display engine. Wolframalpha is not a search engine to use if you need to find, for example, this blog. Entering aproductivelife into wolframalpha will get you a big fat question mark. However, entering two names (as shown in the picture below) will get you more information than you could ever need. I am guessing the information regarding names is pulled from the US census, considering the data is from 2007. However, it has a plethora of information: name rank for 2007, historical name rank, and graphs both of the names on the same graph for easily comparable information.

Entering "weather zipcode" will bring up a large amount of information about the weather at your current zipcode, including large amounts of historical data.
As well, try entering mathematical formulas into the search box, and watch as wolframalpha does its best to solve it.
Is wolframalpha a google killer as some pundits believe? Not true in the least bit. To find information you use google. To have specific, easy to find information displayed, computed, and otherwise manipulated, use wolframalpha.
Consensus: Wolframalpha is beautiful. Use it when possible.

Thursday, April 16, 2009

Cisco site to site VPN

Well i recently created a Cisco Site to Site VPN using GNS 3. GNS3 is program that is like Cisco's packet tracer, which is router emulator. GNS3 takes it further than packet tracer does by ENTIRELY emulating the router IOS. You must, however, have access to your own IOS images. As well, GNS3 is quite difficult to set up and get working correctly, so follow the tutorials closely. However, once GNS3 is up and running correctly, it is extremely useful for learning everything you could possibly need to know about Cisco. As well, you can hook up virtual machines and include them in your GNS3 topology. However, I recorded the video of me setting up the site to site VPN, and uploaded it to YouTube. You can see part one below, and part two here.



My plans are to see if I can get a complete enterprise level network up and running in GNS3, by spanning it across several computers. I have a few difficulties to overcome.. namely figuring out the entire mess of how to use GNS to connect both logical and physical connections across multiple computers and make all of it work. I have a feeling it will be invaluable experience.

To get started on this goal, I have 3 computers sitting in my basement right now. The first one has 384 MB of RAM, the other 2 have 256, and all three have 800mhz processors. I brought 2 of them up with 2003 and ran dcpromo on one, and installed DNS on it. The other I only managed to get 2003 installed so far. On the last computer I installed puppy linux. I also got a 5 port gig switch on sale 5 dollars after rebate, and thats holding them all together.

On another note, today I just became security plus (2008) certified. I got 840 out of 900. The passing score is 750. My next exam will either be the Network Plus exam, or the 70-290 exam.

Wednesday, February 18, 2009

Freemind

I decided to avoid homework until spring break, which is occurring next week, so I'm starting spring break tonight! It's exciting, but won't last that long, as I will be heading over to Seminary (internship) to create a network map in Visio and start working on securing the network, which is my capstone project.

However, since I have the time, I started creating my life mindmap, using Freemind. Freemind can quickly and effectively create excellent beginner mindmaps, and has an easy learning curve for beginning. However, I still need to look into some of the advanced features, such as graphic integration and others.
However, once I noticed that the freemind browser which allows you to view your *.mm files (freemind files) in a web browser, I was caught up in that project. I quickly installed apache web server (and got a dynamic DNS account) on my server and set it up so that I could view my freemind files using either the flash method or the java applet method.
I come to find out (after fooling around with changing a template html file, and adding the java applet) that the newest beta version of Freemind allows you to directly export your mindmaps as java applets (and I think flash files as well). I will be using the USB version of that from now on, to make it easier.

Come to find out, I REALLY want to be able to edit these mindmaps from a browser interface, just to simplify things. However, I haven't discovered a way to do that yet. It won't be too much of a hassle to edit the file manually (the web server's root dir is on a shared directory on a VPN) but I want to feel cool and edit it from anywhere. Feel free to comment if you know how to edit the mindmaps from a browser interface.

That has been keeping me busy last night and tonight!

Wednesday, January 14, 2009

Virus

Well, my domain controller caught a very nasty virus, a fake program called "Anti-spyware 2008." This virus was the worst virus I have ever encountered. It modified the host file so that I was unable to surf to ANY online virus scanners, it blocked some of the more popular removal programs from running, and upon booting up locked my computer from running. I managed to do a ctrl-alt-del operation and run programs from there with some efficiency. Manually trying to remove the virus by booting into safe mode and trying to access the registry brought up an error.. something to the effect of the registry being locked. I was unable to access the registry. As well, since I am running server 2003, many antivirus scanners will not run on it, which also severly limited my options. I have decided to completely redo the computer. Unfortunately, the cd drive does not work, and the drive is a Dell slimstyle drive. To install Server 2003 last time, I had to open the case, replace the IDE cable, install a CD drive and hard drive on the cable, fiddle with the jumper settings, and run it with the case open. I think the BIOS has an option that allows me to boot from USB, which I will attempt when I have some time, hopefully on the 16th. I am debating on whether or not to reinstall Server 2003 or Windows XP (I wish I could run Server 2008.. if anyone wants to donate a computer to me, a poor college student, feel free!), and I think I have settled on XP. I was not really using the domain function anyways, it was more for testing and fun.