Results 1 to 8 of 8

Thread: [HOW TO] OCS Inventory

  1. #1
    Join Date
    Jul 2005
    Beans
    4

    [HOW TO] OCS Inventory

    This install procedure was meant for Debian Etch but should work for Ubuntu. Just add sudo to the beginning of all the commands. Or you can login as root and run them by typing:
    sudo su

    At a command prompt type:

    apt-get install apache2 libapache2-mod-php5 php5-cli php5-common php5-cgi mysql-server php5-mysql

    apt-get install build-essential

    apt-get install libapache2-mod-perl2 php5-gd libxml-simple-perl libcompress-zlib-perl libdbi-perl libdbd-mysql-perl libapache-dbi-perl php-pear php5-dev libnet-ip-perl

    /etc/init.d/apache2 restart

    cpan SOAP::Lite
    select all defaults for cpan installation
    select mirrors near you when asked
    you will have to press enter and type "yes" when cpan is ready to install SOAP::Lite
    use defaults for any questions asked


    I also like to install phpmyadmin for easy DB administration.
    apt-get install phpmyadmin

    You should change your mysql admin password to something other than nothing

    wget http://superb-west.dl.sourceforge.ne...ER_1.01.tar.gz

    tar xzvf OCSNG_LINUX_SERVER_1.01.tar.gz

    cd OCSNG_LINUX_SERVER_1.01

    sh setup.sh

    When asked the following question:
    Where is Apache root document directory [] ?
    Type: /var/www/

    Go to URL http://IP of server/ocsreports

    Enter your root mysql login and password. Use localhost for the MySql HostName

    After its done creating the DB, click the "Submit Query" button

    You will now be invited to login to your OCS Inventory installation.
    Login: admin
    Password: admin

    Moddified from http://www.debianadmin.com/automatic...entory-ng.html


    The OCS Inventory site has some decent instructions for deploying the inventory agent.

  2. #2
    Join Date
    Apr 2006
    Location
    Modesto, CA
    Beans
    106
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: [HOW TO] OCS Inventory

    how-tos: Jinzora
    (Machines Converted to Ubuntu: 25 machines!!) Local Servers (5) - Local Workstations (4) - Remote servers (16)
    - My PC - Tri-Sli 1250 Watt Quad Core Kill you in the face machine -

  3. #3
    Join Date
    Jun 2006
    Location
    Burlington, VT, USA
    Beans
    193
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: [HOW TO] OCS Inventory

    Now we just need a how to for deployment. I am trying to get the agent to run on windows machines at boot. I don't want to go around to each one individually and add a script or something, we have a lot of computers.

  4. #4
    Join Date
    Jul 2007
    Location
    South San Francisco, CA
    Beans
    400
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: [HOW TO] OCS Inventory

    I cannot log in.

    After typing http://my_server_name/ocsreports I am prompted with a logon screen. I've tried every combination of user name and password that I can think of, and all it does is open up another window requesting more credentials. However, after using every username/password combination I can think of again, nothing happens.

    Please assist.
    Laptop: CPU: Intel i5 430m RAM: 4gb DDR3 GPU: Ethernet: Broadcom BCM57780 WiFi: Atheros AR928X
    Desktop:

  5. #5
    Join Date
    Jul 2007
    Location
    South San Francisco, CA
    Beans
    400
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: [HOW TO] OCS Inventory

    Also, I installed phpmyadmin, and changed the password to one of the user's that are privileged to the database, and it will still not let me log in.

    Assistance is welcomed.
    Laptop: CPU: Intel i5 430m RAM: 4gb DDR3 GPU: Ethernet: Broadcom BCM57780 WiFi: Atheros AR928X
    Desktop:

  6. #6
    Join Date
    Jul 2007
    Location
    South San Francisco, CA
    Beans
    400
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: [HOW TO] OCS Inventory

    I think that I have found an answer.

    https://bugs.launchpad.net/ubuntu/+s...er/+bug/238111
    Laptop: CPU: Intel i5 430m RAM: 4gb DDR3 GPU: Ethernet: Broadcom BCM57780 WiFi: Atheros AR928X
    Desktop:

  7. #7
    Join Date
    Jul 2007
    Location
    South San Francisco, CA
    Beans
    400
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: [HOW TO] OCS Inventory

    Okay, so I was able to authenticate, and then build the database.

    Now, when I try to go to http://myserver/ocsreports/index.php

    I am asked to log in. I try to log in with all users listed in the ocsweb database, and I receive an error that
    User not registered
    .

    I'm confused. Any help would be appreciated.

    Edit:

    user: admin
    pw: admin
    Last edited by Saghaulor; November 20th, 2009 at 08:55 PM.
    Laptop: CPU: Intel i5 430m RAM: 4gb DDR3 GPU: Ethernet: Broadcom BCM57780 WiFi: Atheros AR928X
    Desktop:

  8. #8
    Join Date
    Apr 2010
    Location
    Mayer, MN
    Beans
    3
    Distro
    Ubuntu

    Re: [HOW TO] OCS Inventory

    Are you still having issues with this?

    I found one step missing.
    Go to
    http://<serverNAMEorIP>/ocsreports/install.php
    login with the root mySQL account to setup OCS
    then go to
    http://<serverNAMEorIP>/ocsreports/
    and login with admin:admin

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •