guides:unix_basic_setup
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
guides:unix_basic_setup [14/10/2012 23:08] – ppk | guides:unix_basic_setup [04/07/2015 20:42] – ppk | ||
---|---|---|---|
Line 5: | Line 5: | ||
First we rename cfg.example directory to cfg with this command: **mv cfg.example cfg**\\ | First we rename cfg.example directory to cfg with this command: **mv cfg.example cfg**\\ | ||
Go to cfg dir with this command: **cd cfg** | Go to cfg dir with this command: **cd cfg** | ||
- | * **a. Minimal settings**\\ To be able to run PtokaX we need to set at least hub name and hub address.\\ | + | ==== a. Minimal settings |
+ | Open Setting.xml in text editor with this command | ||
+ | * **a. Basic settings needed to run PtokaX is Hub Name and Hub Address** | ||
* **To change hub name:**\\ Search for this line **< | * **To change hub name:**\\ Search for this line **< | ||
* **To change hub address: | * **To change hub address: | ||
- | * **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 with this command: **vim RegisteredUsers.xml**\\ \\ | + | * **b. Character encoding (required for database support)**\\ To run with database we need to have set correct character encoding. 1252 is western, 1250 is central european, 1251 is cyrillic etc. More code pages can be found on [[https:// |
- | * **To set nick:**\\ Search for this line **< | + | * **c. To run with PostgreSQL we need to have working PostgreSQL with created database and user with password for PtokaX. Guide can be found on internet. We need to set up PtokaX to use those settings.** |
- | * **To set password: | + | * **When non-standard host is used:**\\ Search for this line **< |
- | * **To set profile: | + | * **When non-standard port is used:**\\ Search for this line **< |
+ | * **To set database name:**\\ Search for this line **< | ||
+ | * **To set database user:**\\ Search for this line **< | ||
+ | * **To set database password: | ||
+ | * **d. To run with MySQL or MariaDB we need to have working MySQL or MariaDB with created database and user with password for PtokaX. Guide can be found on internet. We need to set up PtokaX to use those settings.** | ||
+ | * **When non-standard host is used:**\\ Search for this line **< | ||
+ | * **When non-standard port is used:**\\ Search for this line **< | ||
+ | * **To set database name:**\\ Search for this line **< | ||
+ | * **To set database user:**\\ Search for this line **< | ||
+ | * **To set database password: | ||
+ | ==== 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 with this command | ||
+ | * **To set nick:**\\ Search for this line **< | ||
+ | * **To set password: | ||
+ | * **To set profile: |
guides/unix_basic_setup.txt · Last modified: 16/08/2015 08:22 by ppk