Archive

Posts Tagged ‘windows’

How To: Install Jaguar Community Version on Windows

December 29th, 2008

This guide is meant to help users install Jaguar on Windows.

JaguarSX has the following minimum system/software requirements:

  • Java 6
  • MySQL 5 Database
  • Apache 2
  • PHP 5

You will need to make sure your system is running Java, at least version 6. If you need to install Java, you can download it from here: http://java.sun.com/javase/downloads/index.jsp

NOTE: For Windows we highly recommend installing WAMP first as it will quickly and easily install all needed components (MySQL, Apache, PHP): http://www.wampserver.com/en/

After installing WAMP make sure to put the server “online” by clicking on the “gauge” icon in the system tray and clicking “Put Online”. Also, make sure to set the wampapache and wampmysql services to start up as automatic in the windows service manager.

Use the following instructions to install on the same system. If installing different components on different systems, please contact us for help with setting up.

For installation on a single system:

  1. Download the monitorengine and webengine for your particular system from link provided from support.
  2. Make sure MySQL, Apache, and PHP is installed (Installing WAMP is simplest on Windows), and make sure they are set to start up automatically as services.
  3. Make sure that for the PHP installation, the MySQL and SOAP extensions are enabled. The WAMP install does not enable the SOAP extension by default. You may have to enable it manually by clicking on the WAMP server icon in the system tray and selecting PHP -> PHP extensions, and then checking php_soap.
  4. Make sure to set PHP error reporting in the php.ini file to:

    error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT

  5. Install monitorengine first. The install will pause and ask for the license. Copy the license file to the installed directory and rename it to license.jaguar.key
  6. Install webengine into the docroot (i.e. for WAMP you could use c:/wamp/www/bytesphere)
  7. Bring up the UI by pointing your browser at: http://localhost/bytesphere
  8. When the login screen comes up, click “install” link next to the language dropdown.
  9. Click “Install” on the English, then go back to login.
  10. Login as bytesphere/bytesphere! (notice the ‘!‘ on the end of the password)
  11. You should see the main HOME screen now. Enjoy!

If you do not see an “install” link next to the language dropdown on the login screen, it is probable that the monitor engine is not configured correctly to talk to your database. Please check the monitorengine settings and log, and make sure that the ‘bytesphere’ database has been created (there are 50+ tables).

I hope this article helps. If you have questions or comments please feel free to contact us or leave them here.

Thanks!

How To, JaguarSX , ,

How To: Search and replace across files on Windows using Perl

December 27th, 2008

This may seem redundant, but the reason I am posting this is because there are several examples on the web on how to do this on Linux - but not on Windows. Here is how to do it effectively on Windows.

Say, for example, it is the new year and you want to change the copyright on all your html files from 2008 to 2009.

First, you need to make sure you have a perl distribution installed on Windows. It comes installed by default on Linux but not on Windows. You can try ActiveState Perl, but I recently had problems downloading from their site and came across Strawberry Perl, which works great!

Next, change into the directory in which you need to change files.

perl -pi.bak -e “BEGIN{@ARGV=<*.SUFFIX>} s/FIND/REPLACE/g”

This command does the following:

  • -p tells perl to loop over the files in the directory
  • -i.bak tells perl to create a backup of all the changed files
  • -e means execute the following code

A windows example:

perl.exe -pi.bak -e "BEGIN{@ARGV=<*.html>} s/-2008/-2009/g"
This will search for "-2008" and replace it with "-2009"

Just for reference, to do this on Linux is slightly easier… for example:

perl -pi.bak -e "s/2008/2009/g" *.html

Use at your own risk!

How To , ,

How To: Create Environment Variables (Windows)

October 5th, 2008

An environment variable is a setting for the WIndows Operating system that tells it (or certain programs) to behave in certain ways. Changing these environment variables are fairly simple. There are two types of environment variables, SYSTEM, and USER. If you change a USER variable you most likely will only have to restart the application you are working with. If you change a SYSTEM variable, then the computer will need to be restarted in order for the new setting to take effect.

This varies based on the version of windows you are using.

For all versions of windows except Windows Vista

http://support.microsoft.com/kb/310519

For windows Vista

Go to: Control Panel\System and Maintenance\System. Click “Advanced System Settings”. Click Environment variables button, at bottom.

 
 
 
 
 
 

 

How To , ,