SiteVision installation
When using Windows - use the exe file to install the SiteVision server. During the installation process you are provided with the option not to install SiteVision as a service (as a developer you seldom need SiteVision to run as a service). When using Linux - use the rpm files to install the SiteVision server.
Disable the SiteVision service
As a developer you probably want to start/stop SiteVision multiple times easily and be able to always see the server output in a terminal/console window. Therefore you typically want to disable SiteVision from running as a service and run SiteVision in console mode instead.If you are using Windows (if you installed SiteVision as a service) and want to disable the service, you do this in the Windows Services management panel. Stop the service named 'SiteVision' and change the startup method from 'Automatic' to 'Manual'.
If you are running the SiteVision server on Linux you can remove or disable SiteVision from running as a service. The SiteVision service is named 'sitevision' and started at init level 3 and 5. For how to remove a service, see your OS documentation (for a rpm installed sitevision service it is typically '/sbin/chkconfig --del sitevision').
Install the Developer License
Place the developer license file (xxxx.license or xxxx.zip) in the data/license folder of your SiteVision server installation. On Windows this will typically be something like:
C:\sitevision\data\license
On Linux it will typically be:
/var/opt/sitevision/data/license.
Prepare usage of a demo website
Place the demo website (xxxx.sva) in the data/archive folder of your SiteVision server installation. On Windows this will typically be something like:
C:\sitevision\data\archive
On Linux it will typically be:
/var/opt/sitevision/data/archive.
Start the SiteVision server
SiteVision will use port 80. If you have another web server already using this port (IIS, Apache etc) you must disable it or configure SiteVision to use another port. The port configuration is found in the server.xml file of your SiteVision installation. On Windows: Go to the bin folder (C:\sitevision\bin) and run startup.bat (or debug.bat if you want to start SiteVision in debug mode).
On Linux: Go to the /opt/sitevision/bin folder and run the following command: sudo sitevision console (Note! SiteVision server must run as root.) If you would like to start up SiteVision in debug mode you run the following command: sudo sitevision console debug
Log on to the SiteVision server
Since your SiteVision server installation is entirely clean, it will not contain any websites or LDAP directories you can use or log on to. You have to log on directly to the SiteVision server with the SiteVision system account (the only account that are not bound to any LDAP context and the only account that can access the server).Use your browser and go to the server URL (http://localhost/editor by default) and use the system account information (system/system by default) to log on.
Tip! If you check the 'Restore from backup' option, all internal id:s of the website is kept. That means that you later on can do another import to overwrite what you import now. (i.e. if you do two subsequent imports and always check the checkbox, you will still only have one website.)If you do not check the option, a completely new website will always be created. (i.e. if you do two subsequent imports and do not tick the checkbox for the second import, you will have two completely separate websites.)