SHARE
TWEET

OCSInventory Setup

pepsey Dec 13th, 2011 355 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. You must also know the following things (setup will try to found them, but
  2. no garanty):
  3. - Host running MySQL server (generally localhost)
  4. - Port of MySQL server (generally 3306)
  5. - Path to Apache web server binary file (usually named httpd or apache or
  6.  apache2)
  7. - Path to Apache main configuration file (usually named httpd.conf or
  8.  apache.conf or apache2.conf)
  9. - Path to Apache configuration directory (usually named conf.d)
  10. - User account running Apache web server (usually apache or www-data)
  11. - Group of user account running Apache web server (usually the same as user
  12.  account)
  13. - Version of Apache mod_perl
  14. - Where to put Communication server log directory (usually
  15.  /var/log/ocsinventory-server)
  16.  
  17.  
  18.  
  19. Using default setup,
  20. - Communication Server is installed as standard PERL module
  21. - Communication Server configuration file ocsinventory-server.conf is installed
  22.  under Apache configuration directory, usually /etc/httpd/conf.d or
  23.  /etc/apache[2]/conf.d
  24. - Communication Server logs are stored under directory
  25.  /var/log/ocsinventory-server
  26. - PHP files are installed under directory
  27.  /usr/share/ocsinventory-reports/ocsreports
  28. - Writable/cache directories "download" and "ipd" are created under directory
  29.  /var/lib/ocsinventory-reports
  30. - Administration Server configuration file ocsinventory-reports.conf is
  31.  installed under Apache configuration directory, usually /etc/httpd/conf.d or
  32.  /etc/apache[2]/conf.d. It contains aliases for /ocsreports and /download URL.
  33.  
  34.  
  35.  
  36.  
  37. Trying to determine whitch OS or Linux distribution you use
  38. +----------------------------------------------------------+
  39. | Checking for Apache web server binaries !                |
  40. +----------------------------------------------------------+
  41.  
  42. CAUTION: If upgrading Communication server from OCS Inventory NG 1.0 RC2 and
  43. previous, please remove any Apache configuration for Communication Server!
  44.  
  45. Do you wish to continue ([y]/n)?y
  46. Assuming Communication server 1.0 RC2 or previous is not installed
  47. on this computer.
  48.  
  49. Starting OCS Inventory NG Management server setup from folder /usr/local/src/OCSNG_UNIX_SERVER-2.0.2
  50. Storing log in file /usr/local/src/OCSNG_UNIX_SERVER-2.0.2/ocs_server_setup.log
  51.  
  52. +----------------------------------------------------------+
  53. | Checking for database server properties...               |
  54. +----------------------------------------------------------+
  55.  
  56. Your MySQL client seems to be part of MySQL version 5.1.
  57. Your computer seems to be running MySQL 4.1 or higher, good
  58.  
  59. Which host is running database server [localhost] ?
  60. OK, database server is running on host localhost
  61.  
  62. On which port is running database server [3306] ?
  63. OK, database server is running on port 3306
  64.  
  65.  
  66. +----------------------------------------------------------+
  67. | Checking for Apache web server daemon...                 |
  68. +----------------------------------------------------------+
  69.  
  70. Where is Apache daemon binary [/usr/sbin/httpd] ?
  71. OK, using Apache daemon /usr/sbin/httpd
  72.  
  73.  
  74. +----------------------------------------------------------+
  75. | Checking for Apache main configuration file...           |
  76. +----------------------------------------------------------+
  77.  
  78. Where is Apache main configuration file [/etc/httpd/conf/httpd.conf] ?
  79. OK, using Apache main configuration file /etc/httpd/conf/httpd.conf
  80.  
  81.  
  82. +----------------------------------------------------------+
  83. | Checking for Apache user account...                      |
  84. +----------------------------------------------------------+
  85.  
  86. Which user account is running Apache web server [apache] ?
  87. OK, Apache is running under user account apache
  88.  
  89.  
  90. +----------------------------------------------------------+
  91. | Checking for Apache group...                             |
  92. +----------------------------------------------------------+
  93.  
  94. Which user group is running Apache web server [apache] ?
  95. OK, Apache is running under users group apache
  96.  
  97.  
  98. +----------------------------------------------------------+
  99. | Checking for Apache Include configuration directory...   |
  100. +----------------------------------------------------------+
  101.  
  102. Setup found Apache Include configuration directory in
  103. /etc/httpd/conf.d/.
  104. Setup will put OCS Inventory NG Apache configuration in this directory.
  105. Where is Apache Include configuration directory [/etc/httpd/conf.d/] ?
  106. OK, Apache Include configuration directory /etc/httpd/conf.d/ found
  107.  
  108.  
  109. +----------------------------------------------------------+
  110. | Checking for PERL Interpreter...                         |
  111. +----------------------------------------------------------+
  112.                                                                                                                                                                           [6/92]
  113. Found PERL Intrepreter at </usr/bin/perl>
  114. Where is PERL Intrepreter binary [/usr/bin/perl] ?
  115. OK, using PERL Intrepreter /usr/bin/perl
  116.  
  117.  
  118. Do you wish to setup Communication server on this computer ([y]/n)?y
  119.  
  120.  
  121. +----------------------------------------------------------+
  122. | Checking for Make utility...                             |
  123. +----------------------------------------------------------+
  124.  
  125. OK, Make utility found at </usr/bin/make>
  126.  
  127. +----------------------------------------------------------+
  128. | Checking for Apache mod_perl version...                  |
  129. +----------------------------------------------------------+
  130.  
  131. Checking for Apache mod_perl version 1.99_22 or higher
  132. Checking for Apache mod_perl version 1.99_21 or previous
  133. Setup is unable to determine your Apache mod_perl version.
  134. Apache must have module mod_perl enabled. As configuration differs from
  135. mod_perl 1.99_21 or previous AND mod_perl 1.99_22 or higher, Setup must
  136. know which release Apache is using.
  137. You can find which release you are using by running the following command
  138.  - On RPM enabled OS, rpm -q mod_perl
  139.  - On DPKG enabled OS, dpkg -l libapache*-mod-perl*
  140. Enter 1 for mod_perl 1.99_21 or previous.
  141. Enter 2 for mod_perl 1.99_22 and higher.
  142. Which version of Apache mod_perl the computer is running ([1]/2) ?2
  143. OK, Apache is using mod_perl version 1.99_22 or higher
  144.  
  145. +----------------------------------------------------------+
  146. | Checking for Communication server log directory...       |
  147. +----------------------------------------------------------+
  148.  
  149. Communication server can create detailled logs. This logs can be enabled
  150. by setting interger value of LOGLEVEL to 1 in Administration console
  151. menu Configuration.
  152.  
  153. ....
  154.  
  155. ....
  156.  
  157. ....
  158.  
  159. +----------------------------------------------------------+
  160. | OK, Communication server log directory created        |
  161. |                                                          |
  162. | Now configuring Apache web server...                     |
  163. +----------------------------------------------------------+
  164.  
  165. To ensure Apache loads mod_perl before OCS Inventory NG Communication Server,
  166. Setup can name Communication Server Apache configuration file
  167. 'z-ocsinventory-server.conf' instead of 'ocsinventory-server.conf'.
  168. Do you allow Setup renaming Communication Server Apache configuration file
  169. to 'z-ocsinventory-server.conf' ([y]/n) ?
  170. OK, using 'z-ocsinventory-server.conf' as Communication Server Apache configuration file
  171. Removing old communication server configuration to file /etc/httpd/conf.d//ocsinventory.conf
  172. Writing communication server configuration to file /etc/httpd/conf.d//z-ocsinventory-server.conf
  173.  
  174. +----------------------------------------------------------+
  175. | OK, Communication server setup sucessfully finished   |
  176. |                                                          |
  177. | Please, review /etc/httpd/conf.d//z-ocsinventory-server.conf
  178. | to ensure all is good. Then restart Apache daemon.       |
  179. +----------------------------------------------------------+
  180.  
  181.  
  182. Do you wish to setup Administration Server (Web Administration Console)
  183. on this computer ([y]/n)?
  184.  
  185. +----------------------------------------------------------+
  186. | Checking for Administration Server directories...        |
  187. +----------------------------------------------------------+
  188.  
  189. CAUTION: Setup now install files in accordance with Filesystem Hierarchy
  190. Standard. So, no file is installed under Apache root document directory
  191. (Refer to Apache configuration files to locate it).
  192. If you're upgrading from OCS Inventory NG Server 1.01 and previous, YOU
  193. MUST REMOVE (or move) directories 'ocsreports' and 'download' from Apache
  194. root document directory.
  195. If you choose to move directory, YOU MUST MOVE 'download' directory to
  196. Administration Server writable/cache directory (by default
  197. /var/lib/ocsinventory-reports), especialy if you use deployement feature.
  198.  
  199. Do you wish to continue ([y]/n)?
  200. Assuming directories 'ocsreports' and 'download' removed from
  201. Apache root document directory.
  202.  
  203. Where to copy Administration Server static files for PHP Web Console
  204. [/usr/share/ocsinventory-reports] ?
  205. OK, using directory /usr/share/ocsinventory-reports to install static files
  206. Where to create writable/cache directories for deployement packages,
  207. IPDiscover and SNMP [/var/lib/ocsinventory-reports] ?
  208.  
  209. ....
  210.  
  211. ....
  212.  
  213. ....
  214.  
  215. +----------------------------------------------------------+
  216. | OK, Administration server installation finished          |
  217. |                                                          |
  218. | Please, review /etc/httpd/conf.d//ocsinventory-reports.conf
  219. | to ensure all is good and restart Apache daemon.         |
  220. |                                                          |
  221. | Then, point your browser to http://server//ocsreports
  222. | to configure database server and create/update schema.   |
  223. +----------------------------------------------------------+
  224.  
  225.  
  226. Setup has created a log file /usr/local/src/OCSNG_UNIX_SERVER-2.0.2/ocs_server_setup.log. Please, save this file.
  227. If you encounter error while running OCS Inventory NG Management server,
  228. we can ask you to show us his content !
  229.  
  230. DON'T FORGET TO RESTART APACHE DAEMON !
  231.  
  232. Enjoy OCS Inventory NG
RAW Paste Data
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top