guides:win_service
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| guides:win_service [14/10/2012 23:13] – ppk | guides:win_service [16/08/2015 08:26] (current) – ppk | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Service version install and setup ====== | ====== Service version install and setup ====== | ||
| - | ===== 1. Download, unpack and service installation | + | ==== 1. Download, unpack and service installation ==== |
| * **a. Download**\\ From [[http:// | * **a. Download**\\ From [[http:// | ||
| * **b. Unpacking**\\ Unpack content of archive to some directory (for example to C:\Program Files\PtokaX\). | * **b. Unpacking**\\ Unpack content of archive to some directory (for example to C:\Program Files\PtokaX\). | ||
| Line 8: | Line 8: | ||
| * Install PtokaX service with command: **ptokax -i servicename** (for example **ptokax -i PtokaX**). | * Install PtokaX service with command: **ptokax -i servicename** (for example **ptokax -i PtokaX**). | ||
| * If you want to use different config directory than PtokaX_Dir\cfg then install service with command: **ptokax -i servicename -c config_dir** (for example **ptokax -i PtokaX -c C: | * If you want to use different config directory than PtokaX_Dir\cfg then install service with command: **ptokax -i servicename -c config_dir** (for example **ptokax -i PtokaX -c C: | ||
| - | ===== 2. Basic setup ===== | + | ==== 2. Basic setup ==== |
| - | Before we can run our installed | + | Before we run our compiled |
| - | In PtokaX archive we have config examples, we use them to setup your PtokaX hub.\\ | + | In source is in directory |
| - | \\ | + | Another way is PtokaX inbuild command line menu where is possible to do basic setup, complete setup and to add registered user.\\ |
| - | First we rename | + | This menu can be used for first time setup and to reconfigure PtokaX. Add reg user part can be used to add additional registered users.\\ |
| - | * **a. Minimal | + | You can run PtokaX menu with command: **PtokaX.exe -m** |
| - | * **To change hub name:**\\ Search | + | *a. Basic setup\\ In menu option |
| - | * **To change hub address:**\\ Search for this line **<String Name=" | + | *b. Complete setup\\ In menu option |
| - | * **b. Creating registered user. (Optional)**\\ When we are here, it is good idea to create registered user with master account for yourself.\\ Open RegisteredUsers.xml in text editor.\\ \\ | + | *c. Creating registered user.\\ In menu option |
| - | * **To set nick:**\\ Search for this line **< | + | |
| - | * **To set password: | + | |
| - | * **To set profile:**\\ Search for this line **< | + | |
| - | ===== 3. Run service | + | ==== 3. Run service ==== |
| This one is simple. Service will autostart with Windows, but when you want to start it manually go to services, right click on service name and click start.\\ | This one is simple. Service will autostart with Windows, but when you want to start it manually go to services, right click on service name and click start.\\ | ||
| Another way is to start it from command line with command: **sc start servicename** (for example **sc start PtokaX**). 8-) | Another way is to start it from command line with command: **sc start servicename** (for example **sc start PtokaX**). 8-) | ||
| - | ===== 4. Uninstall service | + | ==== 4. Uninstall service ==== |
| In case when for some reason you want to uninstall PtokaX service then it is similar to how service was installed. But instead if -i use -u (for example **ptokax -u PtokaX**). | In case when for some reason you want to uninstall PtokaX service then it is similar to how service was installed. But instead if -i use -u (for example **ptokax -u PtokaX**). | ||
guides/win_service.1350256401.txt.gz · Last modified: by ppk
