Dan :

I am running Centos and need to get the GUI for OSSEC  to be installed.

Chris :

Yes i can very much install Apache and PHP, It's just that i am not sure as
to how to proceed beyond that..

I'll try the steps that you have mentioned and then will get back on this
thread
Chris, i hope the steps that you have mentioned works with Linux Version 2.6
??

Thank you


On Wed, Jul 27, 2011 at 10:54 PM, James M Pulver <[email protected]> wrote:

> The webinterface didn’t seem to work for me with 2.6 though (maybe because
> it was an upgrade from 2.5 and there were some posts about mysql issues?)
> and I understand it isn’t being updated, so I’m not sure it’s worth getting
> used to . . .****
>
> ** **
>
> --****
>
> James Pulver****
>
> Information Technology Area Supervisor****
>
> LEPP Computer Group****
>
> Cornell University****
>
> ** **
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *Chris Phillips
> *Sent:* Wednesday, July 27, 2011 1:04 PM
>
> *To:* [email protected]
> *Subject:* RE: [ossec-list] Web interface - HOW TO ??****
>
> ** **
>
> ** **
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *SystemAli
> *Sent:* 27 July 2011 17:29
> *To:* [email protected]
> *Subject:* [ossec-list] Web interface - HOW TO ??****
>
> ** **
>
> Hello All : ****
>
> ** **
>
> I want to install and configure the GUI for OSSEC, But since i am a little
> novice in Apache + Php etc.. I am looking at detailed instructions as to how
> to get this****
>
> up and running...PLEASE ASSIST !!!!****
>
> ** **
>
> Thank you
>
> -- ****
>
> Hi,****
>
> ** **
>
> You should really ask much more explicit questions, give more details about
> your setup and ideally, show that you’ve at least “had a go”, before asking
> a mailinglist...****
>
> ** **
>
> I won’t tell you how to install Apache & PHP, as Google will do a better
> job and who knows which OS platform you have.****
>
> ** **
>
> This is what I did, to get ours up and running (some time this week): -***
> *
>
> ** **
>
> Become root****
>
> $ sudo -s****
>
> ** **
>
> Go to where you want the software to be installed, grab it from the
> website, extract the files, rename, then enter the new directory & run the
> setup script ****
>
> # cd /var/www && wget http://www.ossec.net/files/ui/ossec-wui-0.3.tar.gz&&; 
> tar zxvf ossec-wui-0.3.tar.gz && mv ossec-wui-0.3 ossec-wui & cd
> ossec-wui && ./setup.sh****
>
> ** **
>
> Find out what user your httpd process runs as****
>
> # ps awux | head -1 ; ps awux | grep httpd****
>
> ** **
>
> Add the httpd user (in our case it was “apache”), to the ossec group in
> /etc/group (like this)****
>
> ossec:x:12324:apache****
>
> ** **
>
> Then I just created a VirtualHost config for my new site (if this bit is
> beyond you, you would be better off Googling and having fun experimenting,
> than asking)...  On our system I created /etc/httpd/conf.d/ossec.conf with
> these contents: -****
>
> ** **
>
>
> ##############################################################################
> ****
>
> # ossec****
>
> ##########****
>
> <VirtualHost *:80>****
>
>     ServerName ossec.our.domain****
>
>     ServerAlias ossec ossec*****
>
>     TransferLog /var/log/httpd/ossec-wui-access.log****
>
>     ErrorLog /var/log/httpd/ossec-wui-error.log****
>
>     DocumentRoot "/var/www/ossec-wui"****
>
> ** **
>
>     <Directory "/var/www/ossec-wui">****
>
>         Order allow,deny****
>
>         Allow from All****
>
>         AllowOverride All****
>
>     </Directory>****
>
> ** **
>
>     <Location />****
>
>         Order allow,deny****
>
>         Allow from 192.168.0.0/24****
>
>         Satisfy All****
>
>     </Location>****
>
> </VirtualHost>****
>
> ** **
>
> Then I checked the syntax of my config & restarted apache and started
> surfing****
>
> # apachectl -S && apachectl graceful****
>
> ** **
>
> For sensibility’s sake, un-become root****
>
> # exit****
>
> $****
>
> ** **
>
> HTH,****
>
> --****
>
> ChrisP****
>



-- 
"Want to be a leader? Wash the Dishes When Nobody Else
Will<http://thesash.me/wash-the-dishes-when-nobody-else-will>
"

Reply via email to