UserOnline

, 3 Guests, 3 Bots

Archives

Print This Post Print This Post

Windows 7 Bench testing

Today I read some interesting articles about Windows 7 and how it performed.  The articles were from PCWorld magazine and it says that Windows 7 narrowly out performs Windows Vista.  However the boot time is suppose to be considerably quicker and the performance seems to be fast to the end user.  It continues to talk about, once again the quicker boot time, better programmed User Account Control (UAC), improved media streaming features, and the true home networking features.  The first article starts on page 76 of the August 2009 issue of PCWorld and the second is at http://www.pcworld.com/article/164485/speed_test_windows_7_may_not_be_much_faster_than_vista.html.  So what I am going to do is to conduct my own benchmark testing and share the results with you.  I will test on an HP 2133 Netbook, an older Gateway desktop with a Pentium 4, and on a hand built machine with a 2.4 Ghz Core2Quad.  I will post my findings and the exact specs of the machines once I complete the bench testing.

Print This Post Print This Post

Xampp and Virtual Hosts

In the process of setting up my web server to host my blog and web page I was trying to figure out how to make this work.  After consulting an Apache manual it gave me a good idea of how to add virtual hosts into the httd.conf file.  However xampp is a little different and uses a vhost.conf file to configure the virtual hosts.  To add hosts to the vhost.conf file is relitively easy using the following format.  First the vhost.conf file is located in the /xampp/apache/conf/extras folder.  It will have the basic format already typed in you just have to modify and uncomment the lines.  It will look like the following:

# Use name-based virtual hosting.
#
##NameVirtualHost *:80

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
##<VirtualHost *:80>
##    ServerAdmin webmaster@dummy-host.example.com
##    DocumentRoot /www/docs/dummy-host.example.com
##    ServerName dummy-host.example.com
##    ServerAlias www.dummy-host.example.com
##    ErrorLog @rel_logfiledir@/dummy-host.example.com-error_log
##    CustomLog @rel_logfiledir@/dummy-host.example.com-access_log common
##</VirtualHost>

Basically just some tweaking of this example will square you away.  There are several ways to do it and I used the host name method to build the virtual hosts.  Before you configure this file you should back it up and also create the directories that you will install the web pages to, remember they need to be in two seperate directories.  Once I did that I simple edited the vhosts file the following way:

NameVirtualHost *:80

<VirtualHost *:80>
DocumentRoot c:/xampp/blog/
ServerName blog.ogwatermelon.com
<Directory C:/xampp/blog>
Options Includes Follow SymLinks Indexes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

The server name and document root are all pretty straight forward, but the <directory>  portion is used to address a permissions issues that is set forward in the httd.conf file.  I run xampp on a Windows machine and this works great.  I also saw parts where people added the server names into the Windows host file in c:\windows\system32\drivers\etc.  This will allow for access on that machine using the web browser, however I didn’t do this and allowed my dns to handle the resolution.  I have had no problems.  Finally it is important to know that once you build virtual hosts in the vhost file the web page configuration in the httd.conf file is no longer used.  So if you had a site already configured in that file you will need to add it as one of the virtual hosts.  I hope this will help anyone who is trying to learn virtual host using apache as part of the xampp installation.

Print This Post Print This Post

Number one

This is my first post to this site and I would like to welcome any vistors to read and enjoy the posts and articles. This is going to be more of a Tech blog than a personal one. So I hope some of the information listed will haelp and enjoy!!:)

This is my first post to this site and I would like to welcome any vistors to read and enjoy the posts and articles. This is going to be more of a Tech blog than a personal one. I will be posting hopefully a few times a week to keep things going and keep people interested.  So I hope some of the information listed will haelp and enjoy!! :)

This is my first post to this site and I would like to welcome any vistors to read and enjoy the posts and articles. This is going to be more of a Tech blog than a personal one. So I hope some of the information listed will haelp and enjoy!!:)