Re: [Sguil-users] Sguil client install on CentOS 6.3
Status: Beta
Brought to you by:
bamm
From: Jeremy H. <jt...@gm...> - 2013-01-31 06:01:35
|
Also, to answer the installed packages question.. from EPEL I have: itcl.x86_64 3.4-6.el6 @epel itk.x86_64 3.4-5.el6 @epel iwidgets.noarch 4.0.2-4.el6 @epel tcllib.noarch 1.11.1-3.el6 @epel everything else is base, updates or the DVD. On Wed, Jan 30, 2013 at 10:59 PM, Jeremy Hoel <jt...@gm...> wrote: > Ok.. I just setup my clean workstatin and tested it out.. I updated > the EPEL rpm install and then tcllib and iwidgets installed from yum > ok. > > > And from clean install on the workstation to working.. I get the login > prompt, no errors. > > Try the EPEL repo and the extra parts from that > > > cd /usr/src/ > wget http://downloads.sourceforge.net/project/sguil/sguil/sguil-0.8.0/sguil-0.8.0.tar.gz > tar -xzvf sguil-0.8.0.tar.gz > > rpm -ivh http://ftp.linux.ncsu.edu/pub/epel/6/i386/epel-release-6-8.noarch.rpm > yum -y install tcllib > > > cd /usr/src > yum -y install tcl-devel openssl-devel > wget http://downloads.sourceforge.net/project/tls/tls/1.6/tls1.6-src.tar.gz > tar -xzvf tls1.6-src.tar.gz > cd tls1.6 > ./configure --with-tcl=/usr/lib64 --with-tclinclude=/usr/include > make > make install > ln -s /usr/lib/tls1.6 /usr/lib64/tcl8.5/tls1.6 > chmod 755 /usr/lib/tls1.6 > > yum -y install tclx tk iwidgets > cp -R /usr/src/sguil-0.8.0/client /opt/sguil-client > find /opt/sguil-client -type d -exec chmod 775 "{}" \; > find /opt/sguil-client -type f -exec chmod 664 "{}" \; > chmod 775 /opt/sguil-client/sguil.tk > > > cd /opt/sguil-client/ > wish ./sguil.tk > > On Wed, Jan 30, 2013 at 10:40 PM, Kimi Ushida <kim...@gm...> wrote: >> I wasn't able to yum iwidgets down which is why I directly RPMed it from the >> repo. tclx and tk are in my first yum request. >> >> Maybe you could send over a list of the RPMs installed on your working >> system and I could do a compare against mine? >> >> >> >> >> On Wed, Jan 30, 2013 at 9:05 PM, Jeremy Hoel <jt...@gm...> wrote: >>> >>> Your yum install part misses this.. >>> >>> yum -y install tclx tk iwidgets >>> >>> It was down lower in the script. >>> >>> On Jan 30, 2013 9:32 PM, "Kimi Ushida" <kim...@gm...> wrote: >>>> >>>> I finally got a chance to try this and I think I've come pretty close, >>>> but the client still won't fully run. If I try the following as root: >>>> >>>> /usr/bin/wish /opt/sguil-client/sguil.tk >>>> >>>> I get the "cannot fine the Iwidgets extension" error which points me to >>>> www.tcltk.com/iwidgets (looks like the domain serves another purpose now). >>>> >>>> After a fresh install of CentOS 6.3 (x86_64), I ran: >>>> >>>> yum -y install gcc tcl-devel openssl-devel tclx tk glibc.i686 libX11.i686 >>>> >>>> rpm -ivh >>>> http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm >>>> rpm -ivh >>>> http://dl.fedoraproject.org/pub/epel/6/i386/tcllib-1.11.1-3.el6.noarch.rpm >>>> rpm -ivh >>>> http://dl.fedoraproject.org/pub/epel/6/i386/itcl-3.4-6.el6.i686.rpm >>>> rpm -ivh >>>> http://dl.fedoraproject.org/pub/epel/6/i386/itk-3.4-5.el6.i686.rpm >>>> rpm -ivh >>>> http://dl.fedoraproject.org/pub/epel/6/i386/iwidgets-4.0.2-4.el6.noarch.rpm >>>> >>>> wget >>>> http://downloads.sourceforge.net/project/tls/tls/1.6/tls1.6-src.tar.gz >>>> >>>> tar xzvf tls1.6-src.tar.gz >>>> >>>> cd tls1.6 >>>> >>>> ./configure --with-tcl=/usr/lib64 --with-tclinclude=/usr/include >>>> >>>> make >>>> >>>> make install >>>> >>>> ln -s /usr/lib/tls1.6 /usr/lib64/tcl8.5/tls1.6 >>>> >>>> cd /usr/src >>>> >>>> wget >>>> http://downloads.sourceforge.net/project/sguil/sguil/sguil-0.8.0/sguil-0.8.0.tar.gz >>>> >>>> tar xzvf sguil-0.8.0.tar.gz >>>> >>>> cp -R /usr/src/sguil-0.8.0/client /opt/sguil-client >>>> >>>> find /opt/sguil-client -type d -exec chmod 775 "{}" \; >>>> >>>> find /opt/sguil-client -type f -exec chmod 664 "{}" \; >>>> >>>> chmod 775 /opt/sguil-client/sguil.tk >>>> >>>> >>>> If I rpm -qa and grep for tcl, I have: >>>> >>>> tclx-8.4.0-15.el6.x86_64 >>>> itcl-3.4-6.el6.i686 >>>> tcl-8.5.7-6.el6.x86_64 >>>> tcllib-1.11.1-3.el6.noarch >>>> tcl-devel-8.5.7-6..el6.x86_64 >>>> >>>> Isn't TCL 8.5 supposed to be an issue with Sguil? However, you seem to >>>> have success with it so I'm not sure where to look next. Any insight is >>>> appreciated. >>>> >>>> Kimi >>>> >>>> >>>> >>>> On Sun, Jan 20, 2013 at 1:39 PM, Jeremy Hoel <jt...@gm...> wrote: >>>>> >>>>> This is the script we had been using on our CantOS 6 installs. it >>>>> installs the client into opt and you might want to check the EPEL >>>>> file, since it's probably out of date. This also sits on top of our >>>>> normal workstation build.. so there is a chance that we already >>>>> installed a depdnancy that you might need.. but this gets sguil >>>>> installed for the cleint. >>>>> >>>>> >>>>> >>>>> >>>>> Client Setup >>>>> >>>>> Server is at <SGUILDB Server IP> and port is default 7734 >>>>> To setup a user account for sguil, from the server run >>>>> >>>>> /usr/local/sguil/sguild -adduser < username > >>>>> >>>>> Linux >>>>> >>>>> If you don't have the sguil source already downloaded perform the >>>>> following >>>>> >>>>> cd /usr/src/ >>>>> wget >>>>> http://downloads.sourceforge.net/project/sguil/sguil/sguil-0.8.0/sguil-0.8.0.tar.gz >>>>> tar -xzvf sguil-0.8.0.tar.gz >>>>> >>>>> Install tcllib. This also adds the EPEL repo. >>>>> >>>>> rpm -ivh >>>>> http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm >>>>> yum -y install tcllib >>>>> >>>>> OpenSSL TCL is required >>>>> >>>>> cd /usr/src >>>>> yum -y install tcl-devel openssl-devel >>>>> wget >>>>> http://downloads.sourceforge.net/project/tls/tls/1.6/tls1.6-src.tar.gz >>>>> tar -xzvf tls1.6-src.tar.gz >>>>> cd tls1.6 >>>>> ./configure --with-tcl=/usr/lib64 --with-tclinclude=/usr/include >>>>> make >>>>> make install >>>>> ln -s /usr/lib/tls1.6 /usr/lib64/tcl8.5/tls1.6 # Only do this >>>>> if you are x86_64 >>>>> chmod 755 /usr/lib/tls1.6 >>>>> >>>>> If you already have the source >>>>> >>>>> yum -y install tclx tk iwidgets >>>>> cp -R /usr/src/sguil-0.8.0/client /opt/sguil-client >>>>> find /opt/sguil-client -type d -exec chmod 775 "{}" \; >>>>> find /opt/sguil-client -type f -exec chmod 664 "{}" \; >>>>> chmod 775 /opt/sguil-client/sguil.tk >>>>> >>>>> >>>>> >>>>> >>>>> On Sun, Jan 20, 2013 at 4:06 AM, Kimi Ushida <kim...@gm...> >>>>> wrote: >>>>> > Hi everyone, >>>>> > >>>>> > This is my first post to this list and I apologize if this has been >>>>> > answered >>>>> > before but I haven't seen a thread regarding it yet. >>>>> > >>>>> > Does anyone have any specific instructions on getting the Sguil client >>>>> > (not >>>>> > the server) running on Red Hat Enterprise / CentOS 6.3 and the >>>>> > specific >>>>> > packages required on a base minimally-installed OS? One of the >>>>> > environments >>>>> > that I work in has standardized on CentOS 6.3 and I'd like to maintain >>>>> > this >>>>> > consistency if possible. I've seen some documentation, blogs, and >>>>> > other >>>>> > articles online but they all seem to be geared for server installs and >>>>> > the >>>>> > client install guides tend to regard other distros (Ubuntu, etc.). >>>>> > >>>>> > I'd appreciate any pointers. >>>>> > >>>>> > Thanks, >>>>> > >>>>> > Kimi >>>>> > >>>>> > >>>>> > >>>> >>>> >>> >> >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_d2d_jan >> _______________________________________________ >> Sguil-users mailing list >> Sgu...@li... >> https://lists.sourceforge.net/lists/listinfo/sguil-users >> |